Class: BoundFunction
Defined in: lang-xquery/src/ast/function.ts:37
XQuery partial-application expression that pre-binds selected arguments of a function,
e.g. fn(?, 1) produces a new single-argument function.
Implements
Constructors
Constructor
new BoundFunction(
nameOrExpr,boundArgs):BoundFunction
Defined in: lang-xquery/src/ast/function.ts:38
Parameters
| Parameter | Type | Description |
|---|---|---|
nameOrExpr | ASTNode | The function reference or expression being partially applied. |
boundArgs | [number, ASTNode][] | Pairs of (0-based parameter index, argument expression) for each pre-bound argument. |
Returns
BoundFunction
Properties
boundArgs
boundArgs: [
number,ASTNode][]
Defined in: lang-xquery/src/ast/function.ts:42
Pairs of (0-based parameter index, argument expression) for each pre-bound argument.
nameOrExpr
nameOrExpr:
ASTNode
Defined in: lang-xquery/src/ast/function.ts:40
The function reference or expression being partially applied.
Methods
accept()
accept<
Ret,Arg>(visitor,arg?):Ret
Defined in: lang-xquery/src/ast/function.ts:45
Dispatches this node to the matching method on visitor.
Type Parameters
| Type Parameter |
|---|
Ret |
Arg |
Parameters
| Parameter | Type |
|---|---|
visitor | XQueryVisitor<Ret, Arg> |
arg? | Arg |
Returns
Ret