amath
1.8.5
Simple command line calculator
|
Top nodes in syntax trees. More...
Go to the source code of this file.
Classes | |
class | SyntaxNode |
Base class for all nodes in a syntax tree. More... | |
class | ExpressionNode |
Base class for all nodes related to mathematical expressions. More... | |
class | ErrorNode |
Represents an error message encapsulated in a syntax tree. More... | |
class | StatementBlockNode |
A sequence of statements in a syntax tree. More... | |
struct | StatementBlockElement |
Used to create a linked list of statements. More... | |
Enumerations | |
enum | NodeType { othernodetype, statement, expression } |
enum | ReductionType { nonereduc, unaryreduc, valuereduc, compladdreduc, complsubreduc } |
Top nodes in syntax trees.
Definition in file nodes.h.
enum NodeType |
Enumerator | |
---|---|
othernodetype | |
statement | |
expression |
enum ReductionType |
Enumerator | |
---|---|
nonereduc | |
unaryreduc | |
valuereduc | |
compladdreduc | |
complsubreduc |
Definition at line 49 of file nodes.h.