Skip to main content

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

ParameterTypeDescription
content(string | ASTNode | ASTNode[])[]The content items: raw strings, single AST nodes, or arrays of AST nodes from enclosed expressions.

Returns

DirConstrContent

Properties

content

content: (string | ASTNode | ASTNode[])[]

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

ParameterType
visitorXQueryVisitor<Ret, Arg>
arg?Arg

Returns

Ret

Implementation of

ASTNode.accept