class Taro::Compiler::Token

Defined in:

compiler/lexer/token.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Taro::Compiler::Token::Type = Type::Unknown, value : String = "", raw : String = "", location : Taro::Compiler::Location = Location.new) #

[View source]

Instance Method Detail

def inspect(io) #

[View source]
def location : Location #

[View source]
def location=(location : Location) #

[View source]
def raw : String #

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

[View source]
def to_s(io) #

[View source]
def type : Token::Type #

[View source]
def type=(type : Token::Type) #

[View source]
def value : String #

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

[View source]