|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
AST node for a label (or function entry point) in the code section. More...
#include <ast.hpp>

Public Member Functions | |
| LabelNode (const std::string &labelName) | |
| void | accept (ASTVisitor &visitor) override |
| std::string | toString () const override |
| Public Member Functions inherited from mxvm::ASTNode | |
| virtual | ~ASTNode ()=default |
Public Attributes | |
| std::string | name |
| bool | function = false |
| true if this label marks a callable function | |
AST node for a label (or function entry point) in the code section.
|
inline |
|
overridevirtual |
Implements mxvm::ASTNode.
Definition at line 87 of file ast.cpp.
References mxvm::ASTVisitor::visit().
|
overridevirtual |
| bool mxvm::LabelNode::function = false |
| std::string mxvm::LabelNode::name |
Definition at line 134 of file ast.hpp.
Referenced by LabelNode(), and toString().