Skip to main content

Class: PathPredicate

Defined in: lang-xquery/src/ast/path.ts:37

A predicate list [expr] attached to a path step or filter expression.

Implements

Constructors

Constructor

new PathPredicate(exprs): PathPredicate

Defined in: lang-xquery/src/ast/path.ts:38

Parameters

ParameterTypeDescription
exprsASTNode[]The predicate expressions; multiple predicates within the same bracket pair are ANDed.

Returns

PathPredicate

Properties

exprs

exprs: ASTNode[]

Defined in: lang-xquery/src/ast/path.ts:40

The predicate expressions; multiple predicates within the same bracket pair are ANDed.

Methods

accept()

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

Defined in: lang-xquery/src/ast/path.ts:43

Dispatches this node to the matching method on visitor.

Type Parameters

Type Parameter
Ret
Arg

Parameters

ParameterType
visitorXQueryVisitor<Ret, Arg>
arg?Arg

Returns

Ret

Implementation of

ASTNode.accept