struct Hollicode::Token
- Hollicode::Token
- Struct
- Value
- Object
Overview
Token struct
Defined in:
core/scanner.crConstructors
Instance Method Summary
- #clone
- #copy_with(type _type = @type, lexeme _lexeme = @lexeme, line _line = @line)
- #lexeme : String
- #line : Int32
- #type : Hollicode::TokenType
Constructor Detail
def self.new(type : Hollicode::TokenType = TokenType::Undefined, lexeme : String = "", line : Int32 = 0)
#