Class: Packrat::GrammarElement
- Inherits:
-
Object
- Object
- Packrat::GrammarElement
- Defined in:
- lib/packrat/grammar.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#hidden ⇒ Object
A GrammarElement is hidden if it does not produce a result that should be used in any way.
Instance Method Summary collapse
Instance Attribute Details
#hidden ⇒ Object
A GrammarElement is hidden if it does not produce a result that should be used in any way. This is mostly used for whitespace.
46 47 48 |
# File 'lib/packrat/grammar.rb', line 46 def hidden @hidden end |
Instance Method Details
#to_packrat_grammar_element ⇒ Object
43 |
# File 'lib/packrat/grammar.rb', line 43 def to_packrat_grammar_element; self; end |