22 lines
633 B
TypeScript
22 lines
633 B
TypeScript
|
|
import { XmlNode } from './XmlNode.js';
|
||
|
|
/**
|
||
|
|
* A processing instruction within an XML document.
|
||
|
|
*/
|
||
|
|
export declare class XmlProcessingInstruction extends XmlNode {
|
||
|
|
/**
|
||
|
|
* Content of this processing instruction.
|
||
|
|
*/
|
||
|
|
content: string;
|
||
|
|
/**
|
||
|
|
* Name of this processing instruction. Also sometimes referred to as the
|
||
|
|
* processing instruction "target".
|
||
|
|
*/
|
||
|
|
name: string;
|
||
|
|
constructor(name: string, content?: string);
|
||
|
|
get type(): string;
|
||
|
|
toJSON(): import("./types.js").JsonObject & {
|
||
|
|
name: string;
|
||
|
|
content: string;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
//# sourceMappingURL=XmlProcessingInstruction.d.ts.map
|