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