Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
DoisC::ASTData::Token
Inherits
Struct
<
Value
<
Object
A single lexed token for the AST
Constructors
new
(type :
DoisC::ASTData::TokenType
, lexeme :
String
, line :
Int32
, column :
Int32
)
Source
Instance methods
column
Source
column=
(column :
Int32
)
Source
lexeme
Source
lexeme=
(lexeme :
String
)
Source
line
Source
line=
(line :
Int32
)
Source
type
Source
type=
(type :
TokenType
)
Source