Class: DirConstrContent
Defined in: lang-xquery/src/ast/constructor.ts:26
Mixed content sequence inside a direct XML constructor, holding text, child nodes, and enclosed expressions.
Implements
Constructors
Constructor
new DirConstrContent(
content):DirConstrContent
Defined in: lang-xquery/src/ast/constructor.ts:27
Parameters
| Parameter | Type | Description |
|---|---|---|
content | (string | ASTNode | ASTNode[])[] | The content items: raw strings, single AST nodes, or arrays of AST nodes from enclosed expressions. |
Returns
DirConstrContent
Properties
content
Defined in: lang-xquery/src/ast/constructor.ts:29
The content items: raw strings, single AST nodes, or arrays of AST nodes from enclosed expressions.
Methods
accept()
accept<
Ret,Arg>(visitor,arg?):Ret
Defined in: lang-xquery/src/ast/constructor.ts:32
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