Zen
A cross-platform functional programming language

QueryValExpr Class Reference

Concrete class for AST Node representing a query 'val' expression. More...

#include <Ast.hpp>

Inheritance diagram for QueryValExpr:
Expr Node

List of all members.

Public Member Functions

 QueryValExpr (const QualifiedType &type)
 Default constructor.

Private Member Functions

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

Detailed Description

Concrete class for AST Node representing a query 'val' expression.

For example:

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

Here, the \'val\' is a special identifier representing the value of the current pair being queried.


Constructor & Destructor Documentation

QueryValExpr ( const QualifiedType type) [inline]

Default constructor.

Parameters:
typeExpression type

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