Class: Lrama::Lexer::Token::Type

Inherits:
Struct
  • Object
show all
Defined in:
lib/lrama/lexer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



11
12
13
# File 'lib/lrama/lexer.rb', line 11

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/lrama/lexer.rb', line 11

def name
  @name
end