Files
natural-language-report-ser…/node_modules/rdf-data-factory/lib/DefaultGraph.js
felix 4ef33c6417 WIP
2026-09-14 13:57:42 +02:00

20 lines
613 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultGraph = void 0;
/**
* A singleton term instance that represents the default graph.
* It's only allowed to assign a DefaultGraph to the .graph property of a Quad.
*/
class DefaultGraph {
constructor() {
this.termType = 'DefaultGraph';
this.value = '';
// Private constructor
}
equals(other) {
return !!other && other.termType === 'DefaultGraph';
}
}
exports.DefaultGraph = DefaultGraph;
DefaultGraph.INSTANCE = new DefaultGraph();
//# sourceMappingURL=DefaultGraph.js.map