You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
478 B
22 lines
478 B
"use strict";
|
|
|
|
const CharacterDataImpl = require("./CharacterData-impl").implementation;
|
|
|
|
const NODE_TYPE = require("../node-type");
|
|
|
|
class ProcessingInstructionImpl extends CharacterDataImpl {
|
|
constructor(args, privateData) {
|
|
super(args, privateData);
|
|
|
|
this.nodeType = NODE_TYPE.PROCESSING_INSTRUCTION_NODE;
|
|
this._target = privateData.target;
|
|
}
|
|
|
|
get target() {
|
|
return this._target;
|
|
}
|
|
}
|
|
|
|
module.exports = {
|
|
implementation: ProcessingInstructionImpl
|
|
};
|
|
|