|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
AST node for a literal expression value. More...
#include <ast.hpp>

Public Member Functions | |
| ExpressionNode (const std::string &val, bool numeric=false) | |
| void | accept (ASTVisitor &visitor) override |
| std::string | toString () const override |
| Public Member Functions inherited from mxvm::ASTNode | |
| virtual | ~ASTNode ()=default |
Public Attributes | |
| std::string | value |
| bool | isNumeric |
|
inline |
|
overridevirtual |
Implements mxvm::ASTNode.
Definition at line 95 of file ast.cpp.
References mxvm::ASTVisitor::visit().
|
overridevirtual |
| bool mxvm::ExpressionNode::isNumeric |
Definition at line 146 of file ast.hpp.
Referenced by ExpressionNode(), and toString().
| std::string mxvm::ExpressionNode::value |
Definition at line 145 of file ast.hpp.
Referenced by ExpressionNode(), and toString().