@rightcapital/phpdoc-parser
Version:
TypeScript version of PHPDoc parser with support for intersection types and generics
20 lines (19 loc) • 656 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DiffElemType = exports.DiffElem = void 0;
class DiffElem {
constructor(type, oldEle, newEle) {
this.type = type;
this.type = type;
this.old = oldEle;
this.new = newEle;
}
}
exports.DiffElem = DiffElem;
var DiffElemType;
(function (DiffElemType) {
DiffElemType[DiffElemType["KEEP"] = 1] = "KEEP";
DiffElemType[DiffElemType["REMOVE"] = 2] = "REMOVE";
DiffElemType[DiffElemType["ADD"] = 3] = "ADD";
DiffElemType[DiffElemType["REPLACE"] = 4] = "REPLACE";
})(DiffElemType || (exports.DiffElemType = DiffElemType = {}));