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
| Parameter | Type | Default value | Description |
|---|---|---|---|
name | string | undefined | The PI target name. |
content | string | null | The 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
| Parameter | Type |
|---|---|
visitor | XQueryVisitor<Ret, Arg> |
arg? | Arg |
Returns
Ret