Skip to main content

Class: InlineFunction

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

XQuery inline anonymous function literal: function($args) { body }.

Implements

Constructors

Constructor

new InlineFunction(args, body): InlineFunction

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

Parameters

ParameterTypeDescription
argsASTVariable[]The formal parameter variables.
bodyASTNode[]The sequence of body expressions.

Returns

InlineFunction

Properties

args

args: ASTVariable[]

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

The formal parameter variables.


body

body: ASTNode[]

Defined in: lang-xquery/src/ast/function.ts:11

The sequence of body expressions.

Methods

accept()

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

Defined in: lang-xquery/src/ast/function.ts:14

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