Class: MilkTea::Lexer::StringLexResult

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/core/lexer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#consumed_linesObject (readonly)

Returns the value of attribute consumed_lines

Returns:

  • (Object)

    the current value of consumed_lines



33
34
35
# File 'lib/milk_tea/core/lexer.rb', line 33

def consumed_lines
  @consumed_lines
end

#next_indexObject (readonly)

Returns the value of attribute next_index

Returns:

  • (Object)

    the current value of next_index



33
34
35
# File 'lib/milk_tea/core/lexer.rb', line 33

def next_index
  @next_index
end