Zen
A cross-platform functional programming language
|
Concrete class for AST Node representing a char constant. More...
#include <Ast.hpp>
Public Member Functions | |
CharConstantExpr (const QualifiedType &type, const z::string &value) | |
Default constructor. | |
Private Member Functions | |
virtual void | visit (Expr::Visitor &visitor) const |
Abstract visitor function. |
Concrete class for AST Node representing a char constant.
For example:
local x = 'c';
Here, 'c' is a boolean constant.
CharConstantExpr | ( | const QualifiedType & | type, |
const z::string & | value | ||
) | [inline] |
Default constructor.
type | Expression type |
value | The string representing the constant value |
void visit | ( | Expr::Visitor & | visitor | ) | const [private, virtual] |