class Taro::Compiler::Token
- Taro::Compiler::Token
- Reference
- Object
Defined in:
compiler/lexer/token.crConstructors
Instance Method Summary
- #inspect(io)
- #location : Location
- #location=(location : Location)
- #raw : String
- #raw=(raw : String)
- #to_s(io)
- #type : Token::Type
- #type=(type : Token::Type)
- #value : String
- #value=(value : String)
Constructor Detail
def self.new(type : Taro::Compiler::Token::Type = Type::Unknown, value : String = "", raw : String = "", location : Taro::Compiler::Location = Location.new)
#