Skip to main content

Class: QuantifiedExpr

Defined in: lang-cypher/src/ast/expression.ts:63

Quantified list predicate of the form ANY(x IN list WHERE predicate).

Implements​

Constructors​

Constructor​

new QuantifiedExpr(quantifier, variable, expr, where?): QuantifiedExpr

Defined in: lang-cypher/src/ast/expression.ts:67

Parameters​

ParameterTypeDefault valueDescription
quantifierstringundefined-
variableCypherIdentifierundefinedIteration variable bound to each list element.
exprASTNodeundefinedThe list expression to iterate over.
whereASTNodenullPredicate tested against each element; null when omitted.

Returns​

QuantifiedExpr

Properties​

expr​

expr: ASTNode

Defined in: lang-cypher/src/ast/expression.ts:72

The list expression to iterate over.


quantifier​

quantifier: Quantifier

Defined in: lang-cypher/src/ast/expression.ts:65

The quantifier keyword (lowercased from source).


variable​

variable: CypherIdentifier

Defined in: lang-cypher/src/ast/expression.ts:70

Iteration variable bound to each list element.


where​

where: ASTNode = null

Defined in: lang-cypher/src/ast/expression.ts:74

Predicate tested against each element; null when omitted.

Methods​

accept()​

accept<Ret, Arg>(visitor, arg?): Ret

Defined in: lang-cypher/src/ast/expression.ts:79

Dispatches this node to the matching method on visitor.

Type Parameters​

Type Parameter
Ret
Arg

Parameters​

ParameterType
visitorCypherVisitor<Ret, Arg>
arg?Arg

Returns​

Ret

Implementation of​

ASTNode.accept