Class: Packcr::Parser::LrMemo

Inherits:
Object
  • Object
show all
Defined in:
lib/packcr/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#answerObject

Returns the value of attribute answer.



4546
4547
4548
# File 'lib/packcr/parser.rb', line 4546

def answer
  @answer
end

#lrObject

Returns the value of attribute lr.



4546
4547
4548
# File 'lib/packcr/parser.rb', line 4546

def lr
  @lr
end

#posObject

Returns the value of attribute pos.



4546
4547
4548
# File 'lib/packcr/parser.rb', line 4546

def pos
  @pos
end

#pos_locObject

Returns the value of attribute pos_loc.



4547
4548
4549
# File 'lib/packcr/parser.rb', line 4547

def pos_loc
  @pos_loc
end