pegisland
Version:
General PEG-based parser supporting island grammars with lake symbols
17 lines • 476 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Position = void 0;
class Position {
constructor(offset, line, column) {
this.offset = offset;
this.line = line;
this.column = column;
}
equal(other) {
return (this.offset === other.offset &&
this.line === other.line &&
this.column === other.column);
}
}
exports.Position = Position;
//# sourceMappingURL=Position.js.map