Zen
A cross-platform functional programming language

BinaryOpExpr Class Reference

Concrete class for all binary expression AST nodes. More...

#include <Ast.hpp>

Inheritance diagram for BinaryOpExpr:
BinaryExpr Expr Node

List of all members.

Public Member Functions

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

Private Member Functions

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

Detailed Description

Concrete class for all binary expression AST nodes.


Constructor & Destructor Documentation

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

Default constructor.

Parameters:
typeExpression type
lhsThe LHS of the expression
opThe operator of the expression
rhsThe RHS of the expression

Member Function Documentation

void visit ( 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