17 lines
442 B
JavaScript
17 lines
442 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.Variable = void 0;
|
|
/**
|
|
* A term that represents a variable.
|
|
*/
|
|
class Variable {
|
|
constructor(value) {
|
|
this.termType = 'Variable';
|
|
this.value = value;
|
|
}
|
|
equals(other) {
|
|
return !!other && other.termType === 'Variable' && other.value === this.value;
|
|
}
|
|
}
|
|
exports.Variable = Variable;
|
|
//# sourceMappingURL=Variable.js.map
|