Class: Packcr::Tokenizer::LrAnswer

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lr, pos) ⇒ LrAnswer

Returns a new instance of LrAnswer.



2920
2921
2922
2923
# File 'lib/packcr/tokenizer.rb', line 2920

def initialize(lr, pos)
  @pos = pos
  @lr = lr
end

Instance Attribute Details

#chunkObject

Returns the value of attribute chunk.



2918
2919
2920
# File 'lib/packcr/tokenizer.rb', line 2918

def chunk
  @chunk
end

#lrObject

Returns the value of attribute lr.



2918
2919
2920
# File 'lib/packcr/tokenizer.rb', line 2918

def lr
  @lr
end

#posObject

Returns the value of attribute pos.



2918
2919
2920
# File 'lib/packcr/tokenizer.rb', line 2918

def pos
  @pos
end