Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
monkey
master
Monkey
AST
ArrayLiteral
BlockStatement
Boolean
CallExpression
Expression
ExpressionStatement
FunctionLiteral
HashLiteral
Identifier
IfExpression
IndexExpression
InfixExpression
IntegerLiteral
LetStatement
Node
PrefixExpression
Program
ReturnStatement
Statement
StringLiteral
Evaluator
Lexer
Lexer
Object
Array
Boolean
Builtin
BuiltinFunction
Environment
Error
Function
Hash
Hashable
HashKey
HashPair
Integer
Null
Object
ObjectType
ReturnValue
String
Parser
Parser
Priority
REPL
Token
Token
TokenType
Built with Crystal 1.9.2
2023-10-07 17:29:55 UTC
class
Monkey::AST::Identifier
Monkey::AST::Identifier
Monkey::AST::Expression
Monkey::AST::Node
Reference
Object
Defined in:
monkey/ast.cr
Constructors
.new
(token : Token::Token, value : String)
Instance Method Summary
#expression_node
#string
: String
#token
: Token::Token
#token_literal
: String
#value
: String
Instance methods inherited from class
Monkey::AST::Expression
expression_node
expression_node
Instance methods inherited from class
Monkey::AST::Node
string : String
string
,
token_literal : String
token_literal
Constructor Detail
def self.
new
(token :
Token::Token
, value : String)
#
[
View source
]
Instance Method Detail
def
expression_node
#
[
View source
]
def
string
: String
#
[
View source
]
def
token
:
Token::Token
#
[
View source
]
def
token_literal
: String
#
[
View source
]
def
value
: String
#
[
View source
]