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:



72
73
74
75
# File 'lib/rattler/runtime/packrat_parser.rb', line 72

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

Instance Attribute Details

#end_posObject

Returns the value of attribute end_pos.



76
77
78
# File 'lib/rattler/runtime/packrat_parser.rb', line 76

def end_pos
  @end_pos
end

#resultObject

Returns the value of attribute result.



76
77
78
# File 'lib/rattler/runtime/packrat_parser.rb', line 76

def result
  @result
end