Class: Rattler::Runtime::PackratParser::MemoEntry
- Inherits:
-
Object
- Object
- Rattler::Runtime::PackratParser::MemoEntry
- Defined in:
- lib/rattler/runtime/packrat_parser.rb
Instance Attribute Summary collapse
-
#end_pos ⇒ Object
Returns the value of attribute end_pos.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result, end_pos) ⇒ MemoEntry
constructor
:nodoc:.
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_pos ⇒ Object
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 |
#result ⇒ Object
Returns the value of attribute result.
90 91 92 |
# File 'lib/rattler/runtime/packrat_parser.rb', line 90 def result @result end |