/** * Created by user on 2019/5/9. */ export declare const enum EnumTypeNode { /** * The root node. */ RegExpLiteral = "RegExpLiteral", /** * The pattern. */ Pattern = "Pattern", /** * The disjunction. * E.g. `a|b` */ Disjunction = "Disjunction", /** * The uncapturing group. * E.g. `(?:ab)` */ Group = "Group", /** * The capturing group. * E.g. `(ab)`, `(?ab)` */ CapturingGroup = "CapturingGroup", /** * The lookaround assertion. */ LookaroundAssertion = "Assertion", /** * The lookahead assertion. * E.g. `(?=ab)`, `(?!ab)` */ LookaheadAssertion = "Assertion", /** * The lookbehind assertion. * E.g. `(?<=ab)`, `(?` */ Backreference = "Backreference", /** * The flags. */ Flags = "Flags" } export type EnumKindLookAssertion = EnumKindAssertion.LookaheadAssertion | EnumKindAssertion.LookbehindAssertion; export type EnumKindEdgeAssertion = EnumKindAssertion.EdgeAssertion_Start | EnumKindAssertion.EdgeAssertion_End; export declare const enum EnumKindAssertion { LookaheadAssertion = "lookahead", LookbehindAssertion = "lookbehind", EdgeAssertion_Start = "start", EdgeAssertion_End = "end", WordBoundaryAssertion = "word" } export type EnumKindEscapeCharacterSet = EnumKindCharacterSet.EscapeCharacterSet_Digit | EnumKindCharacterSet.EscapeCharacterSet_Space | EnumKindCharacterSet.EscapeCharacterSet_Word; export declare const enum EnumKindCharacterSet { AnyCharacterSet = "any", EscapeCharacterSet_Digit = "digit", EscapeCharacterSet_Space = "space", EscapeCharacterSet_Word = "word", UnicodePropertyCharacterSet = "property" } export declare const enum EnumEcmaVersion { v5 = 5, v2015 = 2015, v2016 = 2016, v2017 = 2017, v2018 = 2018 } export declare const enum EnumError { UnknownError = "UnknownError", AssertionError = "AssertionError" } declare const _default: typeof import("./const"); export default _default;