Class: Rattler::Runtime::ExtendedPackratParser::LR

Inherits:
Object
  • Object
show all
Defined in:
lib/rattler/runtime/extended_packrat_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#headObject

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_nameObject

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

#seedObject

Returns the value of attribute seed.



114
115
116
# File 'lib/rattler/runtime/extended_packrat_parser.rb', line 114

def seed
  @seed
end