[−][src]Module mdl_monkey::ast
An abstract syntax tree for the Monkey programming language from https://interpreterbook.com/.
Structs
BlockStatement | A statement produced by a block. |
CallExpression | A function call expression. |
FunctionLiteral | A function literal. |
IfExpression | An expression comprised of an if/else block. |
InfixExpression | An infix expression such as a mathematical computation. |
LetStatement | A statement that binds an expression to an identifier. |
PrefixExpression | A prefix expression such as negation or logical not. |
Program | The top level structure of a Monkey program. |
ReturnStatement | A statement that returns a value. |
Enums
Expression | A computed expression. |
Node | Any AST node in a Monkey program. |
Statement | Possible statement types in Monkey. |