|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
AST node for a source-level comment. More...
#include <ast.hpp>

Public Member Functions | |
| CommentNode (const std::string &commentText) | |
| void | accept (ASTVisitor &visitor) override |
| std::string | toString () const override |
| Public Member Functions inherited from mxvm::ASTNode | |
| virtual | ~ASTNode ()=default |
Public Attributes | |
| std::string | text |
|
inline |
|
overridevirtual |
Implements mxvm::ASTNode.
Definition at line 103 of file ast.cpp.
References mxvm::ASTVisitor::visit().
|
overridevirtual |
| std::string mxvm::CommentNode::text |
Definition at line 158 of file ast.hpp.
Referenced by CommentNode(), and toString().