Class: PatternComprehension
Defined in: lang-cypher/src/ast/expression.ts:88
Pattern comprehension [(pattern) WHERE filter | projection] that collects
matched paths into a list.
Implements
Constructors
Constructor
new PatternComprehension(
pattern,where,expr):PatternComprehension
Defined in: lang-cypher/src/ast/expression.ts:89
Parameters
| Parameter | Type | Description |
|---|---|---|
pattern | PatternElChain | The graph pattern to match. |
where | ASTNode | Optional WHERE filter; null if omitted. |
expr | ASTNode | Projection expression applied to each match. |
Returns
PatternComprehension
Properties
expr
expr:
ASTNode
Defined in: lang-cypher/src/ast/expression.ts:95
Projection expression applied to each match.
pattern
pattern:
PatternElChain
Defined in: lang-cypher/src/ast/expression.ts:91
The graph pattern to match.
where
where:
ASTNode
Defined in: lang-cypher/src/ast/expression.ts:93
Optional WHERE filter; null if omitted.
Methods
accept()
accept<
Ret,Arg>(visitor,arg?):Ret
Defined in: lang-cypher/src/ast/expression.ts:98
Dispatches this node to the matching method on visitor.
Type Parameters
| Type Parameter |
|---|
Ret |
Arg |
Parameters
| Parameter | Type |
|---|---|
visitor | CypherVisitor<Ret, Arg> |
arg? | Arg |
Returns
Ret