Class: Rattler::Runtime::PackratParser::MemoEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result, end_pos) ⇒ MemoEntry

:nodoc:



86
87
88
89
# File 'lib/rattler/runtime/packrat_parser.rb', line 86

def initialize(result, end_pos)
  @result = result
  @end_pos = end_pos
end

Instance Attribute Details

#end_posObject

Returns the value of attribute end_pos.



90
91
92
# File 'lib/rattler/runtime/packrat_parser.rb', line 90

def end_pos
  @end_pos
end

#resultObject

Returns the value of attribute result.



90
91
92
# File 'lib/rattler/runtime/packrat_parser.rb', line 90

def result
  @result
end