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, rule_name, head) ⇒ LR

:nodoc:



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

def initialize(seed, rule_name, head)
  @seed = seed
  @rule_name = rule_name
  @head = head
end

Instance Attribute Details

#headObject

Returns the value of attribute head.



119
120
121
# File 'lib/rattler/runtime/extended_packrat_parser.rb', line 119

def head
  @head
end

#rule_nameObject

Returns the value of attribute rule_name.



119
120
121
# File 'lib/rattler/runtime/extended_packrat_parser.rb', line 119

def rule_name
  @rule_name
end

#seedObject

Returns the value of attribute seed.



119
120
121
# File 'lib/rattler/runtime/extended_packrat_parser.rb', line 119

def seed
  @seed
end