class Basic::C64::Token

Defined in:

basic-cr/c64/token.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : TokenType, lexeme : String, literal : Int32 | Float64 | String | Nil = nil) #

[View source]

Instance Method Detail

def lexeme : String #

[View source]
def lexeme=(lexeme : String) #

[View source]
def literal : Int32 | Float64 | String | Nil #

[View source]
def literal=(literal : Int32 | Float64 | String | Nil) #

[View source]
def to_string #

[View source]
def type : TokenType #

[View source]
def type=(type : TokenType) #

[View source]