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
| Parameter | Type | Description |
|---|---|---|
args | ASTVariable[] | The formal parameter variables. |
body | ASTNode[] | 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
| Parameter | Type |
|---|---|
visitor | XQueryVisitor<Ret, Arg> |
arg? | Arg |
Returns
Ret