Skip to main content

Class: DirectPIConstructor

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

Direct processing-instruction constructor literal, e.g. <?target data?>.

Implements​

Constructors​

Constructor​

new DirectPIConstructor(name, content?): DirectPIConstructor

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

Parameters​

ParameterTypeDefault valueDescription
namestringundefinedThe PI target name.
contentstringnullThe PI data string, or null when no data was provided.

Returns​

DirectPIConstructor

Properties​

content​

content: string = null

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

The PI data string, or null when no data was provided.


name​

name: string

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

The PI target name.

Methods​

accept()​

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

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

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