A cross-platform functional programming language

PostfixOpExpr Class Reference

AST Node for all postfix operators. More...

#include <Ast.hpp>

Inheritance diagram for PostfixOpExpr:
UnaryOpExpr Expr Node

List of all members.

Public Member Functions

 PostfixOpExpr (const QualifiedType &type, const Expr &lhs, const z::string &op)
 Default constructor.

Private Member Functions

virtual void visit (Visitor &visitor) const
 Abstract visitor function.

Detailed Description

AST Node for all postfix operators.

For example:

        local y = x++;

Constructor & Destructor Documentation

PostfixOpExpr ( const QualifiedType type,
const Expr lhs,
const z::string op 
) [inline]

Default constructor.

typeExpression type
lhsThe operand expression
opThe operator of the expression

Member Function Documentation

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

Abstract visitor function.

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