class Omnium::Lexer::Token

A token is a string with an assigned and identified meaning.

Attributes

type[R]
value[R]

Public Class Methods

new(type, value) click to toggle source
# File lib/omnium/lexer/token.rb, line 9
def initialize(type, value)
  @type = type
  @value = value
end