Zen
A cross-platform functional programming language

StringConstantExpr Class Reference

Concrete class for AST Node representing a string constant. More...

#include <Ast.hpp>

Inheritance diagram for StringConstantExpr:
ConstantExpr Expr Node

List of all members.

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.

Detailed Description

Concrete class for AST Node representing a string constant.

For example:

        local x = "xxx";

Here, "xxx" is a boolean constant.


Constructor & Destructor Documentation

StringConstantExpr ( const QualifiedType type,
const z::string value 
) [inline]

Default constructor.

Parameters:
typeExpression type
valueThe string representing the constant value

Member Function Documentation

void visit ( Expr::Visitor visitor) const [private, virtual]

Abstract visitor function.

Parameters:
visitorThe visitor object.

Implements Expr.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines