Class: Rattler::Runtime::ExtendedPackratParser::LR
- Inherits:
-
Object
- Object
- Rattler::Runtime::ExtendedPackratParser::LR
- Defined in:
- lib/rattler/runtime/extended_packrat_parser.rb
Instance Attribute Summary collapse
-
#head ⇒ Object
Returns the value of attribute head.
-
#match_method_name ⇒ Object
Returns the value of attribute match_method_name.
-
#seed ⇒ Object
Returns the value of attribute seed.
Instance Method Summary collapse
-
#initialize(seed, match_method_name, head) ⇒ LR
constructor
:nodoc:.
Constructor Details
#initialize(seed, match_method_name, head) ⇒ LR
:nodoc:
109 110 111 112 113 |
# File 'lib/rattler/runtime/extended_packrat_parser.rb', line 109 def initialize(seed, match_method_name, head) @seed = seed @match_method_name = match_method_name @head = head end |
Instance Attribute Details
#head ⇒ Object
Returns the value of attribute head.
114 115 116 |
# File 'lib/rattler/runtime/extended_packrat_parser.rb', line 114 def head @head end |
#match_method_name ⇒ Object
Returns the value of attribute match_method_name.
114 115 116 |
# File 'lib/rattler/runtime/extended_packrat_parser.rb', line 114 def match_method_name @match_method_name end |
#seed ⇒ Object
Returns the value of attribute seed.
114 115 116 |
# File 'lib/rattler/runtime/extended_packrat_parser.rb', line 114 def seed @seed end |