salve-annos
Version:
A fork with support for documentation of Salve, a Javascript library which implements a validator able to validate an XML document on the basis of a subset of RelaxNG.
23 lines • 642 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Define = void 0;
const base_1 = require("./base");
/**
* A pattern for ``<define>``.
*/
class Define extends base_1.OneSubpattern {
/**
* @param xmlPath This is a string which uniquely identifies the
* element from the simplified RNG tree. Used in debugging.
*
* @param name The name of the definition.
*
* @param pat The pattern contained by this one.
*/
constructor(xmlPath, name, pat) {
super(xmlPath, pat);
this.name = name;
}
}
exports.Define = Define;
//# sourceMappingURL=define.js.map