Class: NSDeclaration
Defined in: lang-xquery/src/ast/prolog.ts:25
XQuery declare namespace prefix = "uri" declaration binding a prefix to a namespace URI.
Implements
Constructors
Constructor
new NSDeclaration(
prefix,uri):NSDeclaration
Defined in: lang-xquery/src/ast/prolog.ts:26
Parameters
| Parameter | Type | Description |
|---|---|---|
prefix | string | The namespace prefix being declared. |
uri | ASTStringLiteral | The namespace URI bound to the prefix. |
Returns
NSDeclaration
Properties
prefix
prefix:
string
Defined in: lang-xquery/src/ast/prolog.ts:28
The namespace prefix being declared.
uri
uri:
ASTStringLiteral
Defined in: lang-xquery/src/ast/prolog.ts:30
The namespace URI bound to the prefix.
Methods
accept()
accept<
Ret,Arg>(visitor,arg?):Ret
Defined in: lang-xquery/src/ast/prolog.ts:33
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