Class: Spectre::Directives::NoSkipDirective
- Inherits:
-
Spectre::Directive
- Object
- Node
- Spectre::Directive
- Spectre::Directives::NoSkipDirective
- Defined in:
- lib/spectre/generic/directives.rb
Overview
Removes any set skipper from the InputIterator, including the default one.
Shortcut: noskip_d
or lexeme_d
Instance Attribute Summary
Attributes inherited from Spectre::Directive
#iter_skipper, #iter_transformation, #pre_skip
Attributes inherited from Node
#actions, #backtrace, #left, #parent, #parser, #policy, #right, #symbols
Instance Method Summary collapse
Methods inherited from Spectre::Directive
#[], #initialize, #parse, policy, policy!, skipper!, transformation!
Methods inherited from Node
#%, #&, #*, #**, #+, #-, #-@, #>>, #[], #^, #backtrack, #chain, #closure, #closure=, #closure?, #find, #initialize, #initialize_copy, #leaf?, #parse, #replace_with, #root?, #shallow_copy, #to_p, #|, #~@
Constructor Details
This class inherits a constructor from Spectre::Directive
Instance Method Details
#inspect ⇒ Object
204 205 206 |
# File 'lib/spectre/generic/directives.rb', line 204 def inspect "[noskip_d:#{@left.inspect}]" end |