Class: Packcr::Parser::LrMemo
- Inherits:
-
Object
- Object
- Packcr::Parser::LrMemo
- Defined in:
- lib/packcr/parser.rb
Instance Attribute Summary collapse
-
#answer ⇒ Object
Returns the value of attribute answer.
-
#lr ⇒ Object
Returns the value of attribute lr.
-
#pos ⇒ Object
Returns the value of attribute pos.
-
#pos_loc ⇒ Object
Returns the value of attribute pos_loc.
Instance Method Summary collapse
-
#initialize(lr, pos, pos_loc) ⇒ LrMemo
constructor
A new instance of LrMemo.
Constructor Details
#initialize(lr, pos, pos_loc) ⇒ LrMemo
Returns a new instance of LrMemo.
4549 4550 4551 4552 4553 |
# File 'lib/packcr/parser.rb', line 4549 def initialize(lr, pos, pos_loc) @pos = pos @pos_loc = pos_loc @lr = lr end |
Instance Attribute Details
#answer ⇒ Object
Returns the value of attribute answer.
4546 4547 4548 |
# File 'lib/packcr/parser.rb', line 4546 def answer @answer end |
#lr ⇒ Object
Returns the value of attribute lr.
4546 4547 4548 |
# File 'lib/packcr/parser.rb', line 4546 def lr @lr end |
#pos ⇒ Object
Returns the value of attribute pos.
4546 4547 4548 |
# File 'lib/packcr/parser.rb', line 4546 def pos @pos end |
#pos_loc ⇒ Object
Returns the value of attribute pos_loc.
4547 4548 4549 |
# File 'lib/packcr/parser.rb', line 4547 def pos_loc @pos_loc end |