|
Gymbo
|
Structure representing a node in the Abstract Syntax Tree (AST). More...
#include <parser.h>

Public Attributes | |
| NodeKind | kind |
| Node kind. More... | |
| Node * | lhs |
| Left-hand side. More... | |
| Node * | rhs |
| Right-hand side. More... | |
| Node * | cond |
| Condition. More... | |
| Node * | then |
| 'Then' branch More... | |
| Node * | els |
| 'Else' branch More... | |
| std::vector< Node * > | blocks |
| Vector of child blocks. More... | |
| float | val |
| Used if kind is ND_NUM. More... | |
| int | offset |
| Offset. More... | |
Structure representing a node in the Abstract Syntax Tree (AST).
| std::vector<Node *> gymbo::Node::blocks |
Vector of child blocks.
| Node* gymbo::Node::cond |
Condition.
| Node* gymbo::Node::els |
'Else' branch
| Node* gymbo::Node::lhs |
Left-hand side.
| int gymbo::Node::offset |
Offset.
| Node* gymbo::Node::rhs |
Right-hand side.
| Node* gymbo::Node::then |
'Then' branch
| float gymbo::Node::val |
Used if kind is ND_NUM.