Skip to main content

Class: SimpleMapExpr

Defined in: lang-xquery/src/ast/path.ts:23

XQuery simple map expression source ! mapping, applying mapping to each item of source.

Implements

Constructors

Constructor

new SimpleMapExpr(source, mapping): SimpleMapExpr

Defined in: lang-xquery/src/ast/path.ts:24

Parameters

ParameterTypeDescription
sourceASTNodeThe left-hand sequence expression supplying the context items.
mappingASTNodeThe expression evaluated once per context item.

Returns

SimpleMapExpr

Properties

mapping

mapping: ASTNode

Defined in: lang-xquery/src/ast/path.ts:28

The expression evaluated once per context item.


source

source: ASTNode

Defined in: lang-xquery/src/ast/path.ts:26

The left-hand sequence expression supplying the context items.

Methods

accept()

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

Defined in: lang-xquery/src/ast/path.ts:31

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