![]() |
Zen
A cross-platform functional programming language
|
Concrete class for AST Node representing a boolean constant. More...
#include <Ast.hpp>
Public Member Functions | |
| BooleanConstantExpr (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 boolean constant.
For example:
local x = true;
Here, true is a boolean constant.
| BooleanConstantExpr | ( | 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] |