UNPKG

xpath-ts2

Version:

DOM 3 and 4 XPath 1.0 implementation for browser and Node.js environment with support for typescript 5.

14 lines 547 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GreaterThanOperation = void 0; const binary_operation_1 = require("./binary-operation"); class GreaterThanOperation extends binary_operation_1.BinaryOperation { evaluate(c) { return this.lhs.evaluate(c).greaterthan(this.rhs.evaluate(c)); } toString() { return '(' + this.lhs.toString() + ' > ' + this.rhs.toString() + ')'; } } exports.GreaterThanOperation = GreaterThanOperation; //# sourceMappingURL=greater-than-operation.js.map