"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OPCODE = void 0;
var OPCODE;
(function (OPCODE) {
    // JSON Patch.
    OPCODE[OPCODE["add"] = 0] = "add";
    OPCODE[OPCODE["remove"] = 1] = "remove";
    OPCODE[OPCODE["replace"] = 2] = "replace";
    OPCODE[OPCODE["copy"] = 3] = "copy";
    OPCODE[OPCODE["move"] = 4] = "move";
    OPCODE[OPCODE["test"] = 5] = "test";
    // String editing.
    OPCODE[OPCODE["str_ins"] = 6] = "str_ins";
    OPCODE[OPCODE["str_del"] = 7] = "str_del";
    // Extra
    OPCODE[OPCODE["flip"] = 8] = "flip";
    OPCODE[OPCODE["inc"] = 9] = "inc";
    // Slate.js
    OPCODE[OPCODE["split"] = 10] = "split";
    OPCODE[OPCODE["merge"] = 11] = "merge";
    OPCODE[OPCODE["extend"] = 12] = "extend";
    // JSON Predicate
    OPCODE[OPCODE["contains"] = 30] = "contains";
    OPCODE[OPCODE["defined"] = 31] = "defined";
    OPCODE[OPCODE["ends"] = 32] = "ends";
    OPCODE[OPCODE["in"] = 33] = "in";
    OPCODE[OPCODE["less"] = 34] = "less";
    OPCODE[OPCODE["matches"] = 35] = "matches";
    OPCODE[OPCODE["more"] = 36] = "more";
    OPCODE[OPCODE["starts"] = 37] = "starts";
    OPCODE[OPCODE["undefined"] = 38] = "undefined";
    OPCODE[OPCODE["test_type"] = 39] = "test_type";
    OPCODE[OPCODE["test_string"] = 40] = "test_string";
    OPCODE[OPCODE["test_string_len"] = 41] = "test_string_len";
    OPCODE[OPCODE["type"] = 42] = "type";
    OPCODE[OPCODE["and"] = 43] = "and";
    OPCODE[OPCODE["not"] = 44] = "not";
    OPCODE[OPCODE["or"] = 45] = "or";
})(OPCODE || (exports.OPCODE = OPCODE = {}));
//# sourceMappingURL=constants.js.map