UNPKG

cm-tarnation

Version:

An alternative parser for CodeMirror 6

25 lines 1.1 kB
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ export var Nesting; (function (Nesting) { /** Special value which indicates that a nested region should be ended. */ Nesting[Nesting["POP"] = 0] = "POP"; })(Nesting || (Nesting = {})); export var Wrapping; (function (Wrapping) { /** The {@link Node} in this match contains the entirety of the branch. */ Wrapping[Wrapping["FULL"] = 0] = "FULL"; /** The {@link Node} in this match begins the branch. */ Wrapping[Wrapping["BEGIN"] = 1] = "BEGIN"; /** The {@link Node} in this match ends the branch. */ Wrapping[Wrapping["END"] = 2] = "END"; })(Wrapping || (Wrapping = {})); export var NodeID; (function (NodeID) { NodeID[NodeID["NONE"] = 0] = "NONE"; NodeID[NodeID["TOP"] = 1] = "TOP"; NodeID[NodeID["ERROR"] = 2] = "ERROR"; NodeID[NodeID["SAFE"] = 3] = "SAFE"; })(NodeID || (NodeID = {})); //# sourceMappingURL=enums.js.map