![]() |
Zen
A cross-platform functional programming language
|
Concrete class for AST Node representing a query 'val' expression. More...
#include <Ast.hpp>
Public Member Functions | |
| QueryValExpr (const QualifiedType &type) | |
| Default constructor. | |
Private Member Functions | |
| virtual void | visit (Expr::Visitor &visitor) const |
| Abstract visitor function. | |
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.
| QueryValExpr | ( | const QualifiedType & | type | ) | [inline] |
Default constructor.
| type | Expression type |
| void visit | ( | Expr::Visitor & | visitor | ) | const [private, virtual] |