UNPKG

buntis

Version:

A 100% compliant, self-hosted typescript parser that emits an ESTree-compatible abstract syntax tree

171 lines 4.74 kB
export declare const enum Token { Type = 255, PrecStart = 8, Precedence = 3840, Contextual = 4096, Keywords = 8192, FutureReserved = 16384, IsIdentifier = 36864, IdentifierOrKeyword = 110592, IsExpressionStart = 131072, IsStatementStart = 430080, IsModifier = 524288, IsLogical = 1048576, IsAutoSemicolon = 2097152, IsPatternStart = 4194304, IsAssignOp = 8388608, IsBinaryOp = 16908288, IsUnaryOp = 33685504, IsUpdateOp = 67239936, IsDeclarationStatement = 134217728, IsStringOrNumber = 268435456, IsCoalesc = 536870912, EndOfSource = 0, Identifier = 167937, NumericLiteral = 268566530, StringLiteral = 268566531, RegularExpression = 131076, FalseKeyword = 139269, TrueKeyword = 139270, NullKeyword = 139271, TemplateCont = 131080, TemplateTail = 131081, Arrow = 10, LeftParen = 131083, LeftBrace = 4325388, Period = 13, Ellipsis = 14, RightBrace = 2097167, RightParen = 16, Semicolon = 2097169, Comma = 18, LeftBracket = 4325395, RightBracket = 20, Colon = 21, QuestionMark = 22, QuestionMarkPeriod = 23, SingleQuote = 24, DoubleQuote = 25, JSXClose = 26, JSXAutoClose = 27, Increment = 67239964, Decrement = 67239965, Assign = 8388638, ShiftLeftAssign = 8388639, ShiftRightAssign = 8388640, LogicalShiftRightAssign = 8388641, ExponentiateAssign = 8388642, AddAssign = 8388643, SubtractAssign = 8388644, MultiplyAssign = 8388645, DivideAssign = 8519718, ModuloAssign = 8388647, BitwiseXorAssign = 8388648, BitwiseOrAssign = 8388649, BitwiseAndAssign = 8388650, TypeOfKeyword = 33693739, DeleteKeyword = 33693740, VoidKeyword = 33693741, Negate = 33685550, Complement = 33685551, Add = 50465328, Subtract = 50465329, InKeyword = 16918578, InstanceofKeyword = 16918579, Multiply = 16911156, Modulo = 16911157, Divide = 16911158, Exponentiate = 16911415, LogicalAnd = 17957688, LogicalOr = 17957433, StrictEqual = 16910138, StrictNotEqual = 16910139, LooseEqual = 16910140, LooseNotEqual = 16910141, LessThanOrEqual = 16910142, GreaterThanOrEqual = 16910143, LessThan = 16910400, GreaterThan = 16910401, ShiftLeft = 16910658, ShiftRight = 16910659, LogicalShiftRight = 16910660, BitwiseAnd = 16909893, BitwiseOr = 16909382, BitwiseXor = 16909639, Coalesce = 553779528, VarKeyword = 134357065, LetKeyword = 184394, ConstKeyword = 134357067, BreakKeyword = 438348, CaseKeyword = 438349, CatchKeyword = 438350, ClassKeyword = 139343, ContinueKeyword = 438352, DebuggerKeyword = 438353, DefaultKeyword = 438354, DoKeyword = 438355, ElseKeyword = 438356, ExportKeyword = 134656085, ExtendsKeyword = 8278, FinallyKeyword = 438359, ForKeyword = 438360, FunctionKeyword = 139353, IfKeyword = 438362, ImportKeyword = 139355, NewKeyword = 139356, ReturnKeyword = 438365, SuperKeyword = 139358, SwitchKeyword = 139359, ThisKeyword = 139360, ThrowKeyword = 438369, TryKeyword = 438370, WhileKeyword = 438371, WithKeyword = 438372, ImplementsKeyword = 16485, InterfaceKeyword = 134664294, PackageKeyword = 16487, PrivateKeyword = 540776, ProtectedKeyword = 540777, PublicKeyword = 540778, StaticKeyword = 540779, YieldKeyword = 184428, AsKeyword = 16915309, AsyncKeyword = 430190, AwaitKeyword = 168047, ConstructorKeyword = 4208, GetKeyword = 4209, SetKeyword = 4210, FromKeyword = 4211, OfKeyword = 4212, WhiteSpace = 117, CarriageReturn = 118, LineFeed = 119, LeadingZero = 120, Error = 121, PrivateField = 122, BigIntLiteral = 123, EnumKeyword = 134226044, Backslash = 125, DeclareKeyword = 36990, TypeKeyword = 134254719, AbstractKeyword = 134779008, NamespaceKeyword = 134254721, ModuleKeyword = 134254722, GlobalKeyword = 134254723, KeyOfKeyword = 36996, UniqueKeyword = 36997, IsKeyword = 36998, ReadOnlyKeyword = 561287, InferKeyword = 37000, RequireKeyword = 37001, AssertsKeyword = 138, EscapedStrictReserved = 139, EscapedKeyword = 140, JSXText = 141, At = 142 } export declare const KeywordDescTable: string[]; export declare const descKeywordTable: { [key: string]: Token; }; //# sourceMappingURL=token.d.ts.map