Class: MilkTea::Lexer::LexResult

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

Instance Attribute Summary collapse

Instance Attribute Details

#tokensObject (readonly)

Returns the value of attribute tokens

Returns:

  • (Object)

    the current value of tokens



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

def tokens
  @tokens
end

#triviaObject (readonly)

Returns the value of attribute trivia

Returns:

  • (Object)

    the current value of trivia



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

def trivia
  @trivia
end