Skip to main content

Class: FLWORCount

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

XQuery count $var clause binding the current tuple's 1-based position to a variable.

Implements

Constructors

Constructor

new FLWORCount(variable): FLWORCount

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

Parameters

ParameterTypeDescription
variableASTVariableThe variable that receives the sequential tuple count.

Returns

FLWORCount

Properties

variable

variable: ASTVariable

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

The variable that receives the sequential tuple count.

Methods

accept()

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

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

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