MCPcopy Create free account
hub / github.com/TruthHun/BookStack / XMLProcessingInstruction

Function XMLProcessingInstruction

static/word2md/mammoth.browser.js:31652–31661  ·  view source on GitHub ↗
(parent, target, value)

Source from the content-addressed store, hash-verified

31650 extend(XMLProcessingInstruction, superClass);
31651
31652 function XMLProcessingInstruction(parent, target, value) {
31653 XMLProcessingInstruction.__super__.constructor.call(this, parent);
31654 if (target == null) {
31655 throw new Error("Missing instruction target. " + this.debugInfo());
31656 }
31657 this.target = this.stringify.insTarget(target);
31658 if (value) {
31659 this.value = this.stringify.insValue(value);
31660 }
31661 }
31662
31663 XMLProcessingInstruction.prototype.clone = function() {
31664 return Object.create(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected