A class that represents the base class for a node within a Mir abstract syntax tree.
More...
#include <omScriptingMirASTNode.h>
A class that represents the base class for a node within a Mir abstract syntax tree.
om::scripting::mir::lang::ASTNode::ASTNode |
( |
| ) |
|
|
inline |
Create a new AST node with no node position specified.
om::scripting::mir::lang::ASTNode::ASTNode |
( |
const Position & |
newPosition | ) |
|
|
inline |
Create a new AST node which corresponds to a token starting at the specified source code position.
virtual om::scripting::mir::lang::ASTNode::~ASTNode |
( |
| ) |
|
|
inlinevirtual |
Destroy this AST node object.
const Position& om::scripting::mir::lang::ASTNode::getPosition |
( |
| ) |
const |
|
inline |
Return an object representing the position of this AST node in the source code.
void om::scripting::mir::lang::ASTNode::setPosition |
( |
const Position & |
newPosition | ) |
|
|
inline |
Set the position of this AST node in the source code.
The documentation for this class was generated from the following file: