Class: XQueryIdentifier
Defined in: lang-xquery/src/ast/expression.ts:34
An XQuery (possibly namespace-prefixed) name whose parts are split from the raw source text.
Extends
Extended by
Constructors
Constructor
new XQueryIdentifier(
original):XQueryIdentifier
Defined in: lang-xquery/src/ast/expression.ts:35
Parameters
| Parameter | Type | Description |
|---|---|---|
original | string | The raw lexed name string (e.g. "xs:integer"); parts holds the split components. |
Returns
XQueryIdentifier
Overrides
Properties
aggregate?
optionalaggregate?:AggregateCall
Defined in: core/dist/ast.d.ts:76
Set when this identifier refers to an aggregate call in a GROUP BY context.
Inherited from
original
original:
string
Defined in: lang-xquery/src/ast/expression.ts:37
The raw lexed name string (e.g. "xs:integer"); parts holds the split components.
parts
parts: (
string|number|symbol)[]
Defined in: core/dist/ast.d.ts:78
Ordered sequence of name parts that form the qualified identifier.
Inherited from
Methods
[iterator]()
[iterator]():
ArrayIterator<string|number|symbol>
Defined in: core/dist/ast.d.ts:80
Iterates over parts in order.
Returns
ArrayIterator<string | number | symbol>
Inherited from
accept()
accept<
Ret,Arg>(visitor,arg?):Ret
Defined in: lang-xquery/src/ast/expression.ts:44
ASTNode.accept
Type Parameters
| Type Parameter |
|---|
Ret |
Arg |
Parameters
| Parameter | Type |
|---|---|
visitor | XQueryVisitor<Ret, Arg> |
arg? | Arg |
Returns
Ret
Overrides
equals()
equals(
other):boolean
Defined in: core/dist/ast.d.ts:86
Returns true when other has the same parts in the same order.
Parameters
| Parameter | Type |
|---|---|
other | ASTIdentifier |
Returns
boolean
Inherited from
fromParts()
staticfromParts(parts):ASTIdentifier
Defined in: core/dist/ast.d.ts:84
Creates an ASTIdentifier from a pre-built parts array.
Parameters
| Parameter | Type |
|---|---|
parts | (string | number | symbol)[] |