Skip to main content

Class: DirectCommentConstructor

Defined in: lang-xquery/src/ast/constructor.ts:38

Direct XML comment constructor literal, e.g. <!-- text -->.

Implements

Constructors

Constructor

new DirectCommentConstructor(content): DirectCommentConstructor

Defined in: lang-xquery/src/ast/constructor.ts:39

Parameters

ParameterTypeDescription
contentstringThe verbatim comment text (excluding the <!-- / --> delimiters).

Returns

DirectCommentConstructor

Properties

content

content: string

Defined in: lang-xquery/src/ast/constructor.ts:41

The verbatim comment text (excluding the <!-- / --> delimiters).

Methods

accept()

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

Defined in: lang-xquery/src/ast/constructor.ts:44

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