Zen
A cross-platform functional programming language

QueryBinaryExpr Class Reference

Concrete class for AST Node representing a binary query expression. More...

#include <Ast.hpp>

Inheritance diagram for QueryBinaryExpr:
BinaryExpr Expr Node

List of all members.

Public Member Functions

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

Private Member Functions

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

Detailed Description

Concrete class for AST Node representing a binary query expression.

For example:

        local y = { @name::(true) && @age::((val > 25) && (val < 35))};

Here, the && between the @name and @age parts is the operator of a binary query expression


Constructor & Destructor Documentation

QueryBinaryExpr ( 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 ( 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