class Crylox::Token

Defined in:

token.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : TokenType, lexeme : String, literal : LiteralType, line : Int32) #

[View source]

Instance Method Detail

def lexeme : String #

[View source]
def line : Int32 #

[View source]
def literal : Bool | Float32 | String | Nil #

[View source]
def to_string #

[View source]
def type : Crylox::TokenType #

[View source]