Class: WindowBoundary
Defined in: lang-xquery/src/ast/flwor.ts:91
Start or end boundary condition of a FLWORWindow clause.
Constructors
Constructor
new WindowBoundary(
variable?,posVar?,prevVar?,nextVar?):WindowBoundary
Defined in: lang-xquery/src/ast/flwor.ts:97
Parameters
| Parameter | Type | Description |
|---|---|---|
variable? | ASTVariable | The current item variable at the boundary position. |
posVar? | ASTVariable | The positional variable holding the 1-based index of the boundary item. |
prevVar? | ASTVariable | The variable bound to the item preceding the boundary item. |
nextVar? | ASTVariable | The variable bound to the item following the boundary item. |
Returns
WindowBoundary
Properties
expr
expr:
ASTNode
Defined in: lang-xquery/src/ast/flwor.ts:93
The boolean guard expression evaluated to test whether this boundary is met.
nextVar?
optionalnextVar?:ASTVariable
Defined in: lang-xquery/src/ast/flwor.ts:105
The variable bound to the item following the boundary item.
only
only:
boolean=false
Defined in: lang-xquery/src/ast/flwor.ts:95
Whether the only keyword is present (applies to end boundaries; prevents re-use of items).
posVar?
optionalposVar?:ASTVariable
Defined in: lang-xquery/src/ast/flwor.ts:101
The positional variable holding the 1-based index of the boundary item.
prevVar?
optionalprevVar?:ASTVariable
Defined in: lang-xquery/src/ast/flwor.ts:103
The variable bound to the item preceding the boundary item.
variable?
optionalvariable?:ASTVariable
Defined in: lang-xquery/src/ast/flwor.ts:99
The current item variable at the boundary position.