struct Axal::Token

Defined in:

lang/token.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(kind : Axal::TokenKind, lexeme : String, literal : Float64 | String | Nil, location : Axal::Location) #

[View source]

Instance Method Detail

def col #

[View source]
def kind : TokenKind #

[View source]
def length #

[View source]
def lexeme : String #

[View source]
def line #

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

[View source]
def location : Location #

[View source]