Skip to main content

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

ParameterTypeDescription
variable?ASTVariableThe current item variable at the boundary position.
posVar?ASTVariableThe positional variable holding the 1-based index of the boundary item.
prevVar?ASTVariableThe variable bound to the item preceding the boundary item.
nextVar?ASTVariableThe 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?

optional nextVar?: 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?

optional posVar?: ASTVariable

Defined in: lang-xquery/src/ast/flwor.ts:101

The positional variable holding the 1-based index of the boundary item.


prevVar?

optional prevVar?: ASTVariable

Defined in: lang-xquery/src/ast/flwor.ts:103

The variable bound to the item preceding the boundary item.


variable?

optional variable?: ASTVariable

Defined in: lang-xquery/src/ast/flwor.ts:99

The current item variable at the boundary position.