Base class for nodes of abstract syntax trees of module ALib Expressions. Note that AST objects (and their data) are allocated in a MonoAllocator and hence have empty destructors.
Public Type Index: | |
enum class | Types { Literal , Identifier , Function , UnaryOp , BinaryOp , TernaryOp } |
The type of node. More... | |
Public Field Index: | |
Types | NodeType |
Type of derived this AST node. | |
Public Method Index: | |
ASTBase (Types type) | |
|
strong |
Types alib::expressions::detail::ASTBase::NodeType |
|
inline |