![]() |
Zen
A cross-platform functional programming language
|
Abstract base class for AST Node representing a constant value. More...
#include <Ast.hpp>
Public Member Functions | |
| ConstantExpr (const QualifiedType &type, const z::string &value) | |
| Default constructor. | |
| const z::string & | getValue () const |
| Returns the constant value. | |
Private Attributes | |
| const z::string | _value |
| The constant value. | |
Abstract base class for AST Node representing a constant value.
| ConstantExpr | ( | const QualifiedType & | type, |
| const z::string & | value | ||
| ) | [inline] |
Default constructor.
| type | Expression type |
| value | The string representing the constant value |
| const z::string& getValue | ( | ) | const [inline] |
Returns the constant value.