Skip to main content

Class: Prolog

Defined in: lang-xquery/src/ast/prolog.ts:6

XQuery module prolog holding the ordered list of environment declarations.

Implements

Constructors

Constructor

new Prolog(declarations): Prolog

Defined in: lang-xquery/src/ast/prolog.ts:7

Parameters

ParameterTypeDescription
declarationsDeclaration[]The declarations in source order.

Returns

Prolog

Properties

declarations

declarations: Declaration[]

Defined in: lang-xquery/src/ast/prolog.ts:9

The declarations in source order.

Methods

accept()

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

Defined in: lang-xquery/src/ast/prolog.ts:12

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