Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
phelt
master
Top Level Namespace
AST
ArrayLiteral
AssignmentInfixExpression
BlockStatement
BooleanLiteral
BreakStatement
CallExpression
ConstStatement
DoLiteral
EmptyExpression
ErrorExpression
Expression
ExpressionStatement
FloatLiteral
ForExpression
FunctionLiteral
HashLiteral
Identifier
IfExpression
InDecrementExpression
IndexExpression
InfixExpression
IntegerLiteral
LetStatement
Node
NullLiteral
ObjectAccessExpression
ObjectCallExpression
PrefixExpression
Program
ReturnStatement
Statement
StringLiteral
WhileExpression
Evaluator
Evaluator
Interpreter
Interpreter
Lexer
Lexer
Parser
InfixParser
Parser
Precedences
PrefixParser
PheltObject
Array
Boolean
Break
Builtin
BuiltinFunction
Do
Environment
Error
Float
Function
Hash
Hashable
HashKey
HashPair
Integer
Null
Number
Object
Return
String
REPL
Debugger
REPL
Token
Token
Type
Generated using Crystal 1.14.0
2024-11-26 07:16:03 UTC
class
AST::
BreakStatement
AST::BreakStatement
AST::Statement
AST::Node
Reference
Object
Defined in:
ast/statements.cr
Constructors
.new
(token : Token::Token)
Instance Method Summary
#string
#token
: Token::Token
#token=
(token : Token::Token)
#token_literal
Instance methods inherited from class
AST::Node
string
string
,
token_literal
token_literal
Constructor Detail
def self.
new
(token :
Token::Token
)
#
[
View source
]
Instance Method Detail
def
string
#
[
View source
]
def
token
:
Token::Token
#
[
View source
]
def
token=
(token :
Token::Token
)
#
[
View source
]
def
token_literal
#
[
View source
]