Update LKG

This commit is contained in:
Mohamed Hegazy
2017-04-24 11:31:35 -07:00
parent 3c3b73e72e
commit 8a85f4a61e
14 changed files with 36195 additions and 35606 deletions
+35
View File
@@ -41,6 +41,22 @@ interface FormData {
[Symbol.iterator](): IterableIterator<string | File>;
}
interface Headers {
[Symbol.iterator](): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all key/value pairs contained in this object.
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all keys f the key/value pairs contained in this object.
*/
keys(): IterableIterator<string>;
/**
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
*/
values(): IterableIterator<string>;
}
interface NodeList {
/**
* Returns an array of key, value pairs for every entry in the list
@@ -90,3 +106,22 @@ interface NodeListOf<TNode extends Node> {
[Symbol.iterator](): IterableIterator<TNode>;
}
interface URLSearchParams {
/**
* Returns an array of key, value pairs for every entry in the search params
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns a list of keys in the search params
*/
keys(): IterableIterator<string>;
/**
* Returns a list of values in the search params
*/
values(): IterableIterator<string>;
/**
* iterate over key/value pairs
*/
[Symbol.iterator](): IterableIterator<[string, string]>;
}
+35
View File
@@ -15382,6 +15382,22 @@ interface FormData {
[Symbol.iterator](): IterableIterator<string | File>;
}
interface Headers {
[Symbol.iterator](): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all key/value pairs contained in this object.
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all keys f the key/value pairs contained in this object.
*/
keys(): IterableIterator<string>;
/**
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
*/
values(): IterableIterator<string>;
}
interface NodeList {
/**
* Returns an array of key, value pairs for every entry in the list
@@ -15431,3 +15447,22 @@ interface NodeListOf<TNode extends Node> {
[Symbol.iterator](): IterableIterator<TNode>;
}
interface URLSearchParams {
/**
* Returns an array of key, value pairs for every entry in the search params
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns a list of keys in the search params
*/
keys(): IterableIterator<string>;
/**
* Returns a list of values in the search params
*/
values(): IterableIterator<string>;
/**
* iterate over key/value pairs
*/
[Symbol.iterator](): IterableIterator<[string, string]>;
}
+35
View File
@@ -15384,6 +15384,22 @@ interface FormData {
[Symbol.iterator](): IterableIterator<string | File>;
}
interface Headers {
[Symbol.iterator](): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all key/value pairs contained in this object.
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all keys f the key/value pairs contained in this object.
*/
keys(): IterableIterator<string>;
/**
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
*/
values(): IterableIterator<string>;
}
interface NodeList {
/**
* Returns an array of key, value pairs for every entry in the list
@@ -15433,3 +15449,22 @@ interface NodeListOf<TNode extends Node> {
[Symbol.iterator](): IterableIterator<TNode>;
}
interface URLSearchParams {
/**
* Returns an array of key, value pairs for every entry in the search params
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns a list of keys in the search params
*/
keys(): IterableIterator<string>;
/**
* Returns a list of values in the search params
*/
values(): IterableIterator<string>;
/**
* iterate over key/value pairs
*/
[Symbol.iterator](): IterableIterator<[string, string]>;
}
+35
View File
@@ -21400,6 +21400,22 @@ interface FormData {
[Symbol.iterator](): IterableIterator<string | File>;
}
interface Headers {
[Symbol.iterator](): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all key/value pairs contained in this object.
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all keys f the key/value pairs contained in this object.
*/
keys(): IterableIterator<string>;
/**
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
*/
values(): IterableIterator<string>;
}
interface NodeList {
/**
* Returns an array of key, value pairs for every entry in the list
@@ -21449,3 +21465,22 @@ interface NodeListOf<TNode extends Node> {
[Symbol.iterator](): IterableIterator<TNode>;
}
interface URLSearchParams {
/**
* Returns an array of key, value pairs for every entry in the search params
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns a list of keys in the search params
*/
keys(): IterableIterator<string>;
/**
* Returns a list of values in the search params
*/
values(): IterableIterator<string>;
/**
* iterate over key/value pairs
*/
[Symbol.iterator](): IterableIterator<[string, string]>;
}
+35
View File
@@ -15383,6 +15383,22 @@ interface FormData {
[Symbol.iterator](): IterableIterator<string | File>;
}
interface Headers {
[Symbol.iterator](): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all key/value pairs contained in this object.
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all keys f the key/value pairs contained in this object.
*/
keys(): IterableIterator<string>;
/**
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
*/
values(): IterableIterator<string>;
}
interface NodeList {
/**
* Returns an array of key, value pairs for every entry in the list
@@ -15432,3 +15448,22 @@ interface NodeListOf<TNode extends Node> {
[Symbol.iterator](): IterableIterator<TNode>;
}
interface URLSearchParams {
/**
* Returns an array of key, value pairs for every entry in the search params
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns a list of keys in the search params
*/
keys(): IterableIterator<string>;
/**
* Returns a list of values in the search params
*/
values(): IterableIterator<string>;
/**
* iterate over key/value pairs
*/
[Symbol.iterator](): IterableIterator<[string, string]>;
}
+5329 -5269
View File
File diff suppressed because it is too large Load Diff
+7162 -7092
View File
File diff suppressed because it is too large Load Diff
+317 -315
View File
@@ -18,7 +18,7 @@ declare namespace ts {
[index: string]: T;
}
interface Map<T> {
get(key: string): T;
get(key: string): T | undefined;
has(key: string): boolean;
set(key: string, value: T): this;
delete(key: string): boolean;
@@ -66,323 +66,324 @@ declare namespace ts {
NumericLiteral = 8,
StringLiteral = 9,
JsxText = 10,
RegularExpressionLiteral = 11,
NoSubstitutionTemplateLiteral = 12,
TemplateHead = 13,
TemplateMiddle = 14,
TemplateTail = 15,
OpenBraceToken = 16,
CloseBraceToken = 17,
OpenParenToken = 18,
CloseParenToken = 19,
OpenBracketToken = 20,
CloseBracketToken = 21,
DotToken = 22,
DotDotDotToken = 23,
SemicolonToken = 24,
CommaToken = 25,
LessThanToken = 26,
LessThanSlashToken = 27,
GreaterThanToken = 28,
LessThanEqualsToken = 29,
GreaterThanEqualsToken = 30,
EqualsEqualsToken = 31,
ExclamationEqualsToken = 32,
EqualsEqualsEqualsToken = 33,
ExclamationEqualsEqualsToken = 34,
EqualsGreaterThanToken = 35,
PlusToken = 36,
MinusToken = 37,
AsteriskToken = 38,
AsteriskAsteriskToken = 39,
SlashToken = 40,
PercentToken = 41,
PlusPlusToken = 42,
MinusMinusToken = 43,
LessThanLessThanToken = 44,
GreaterThanGreaterThanToken = 45,
GreaterThanGreaterThanGreaterThanToken = 46,
AmpersandToken = 47,
BarToken = 48,
CaretToken = 49,
ExclamationToken = 50,
TildeToken = 51,
AmpersandAmpersandToken = 52,
BarBarToken = 53,
QuestionToken = 54,
ColonToken = 55,
AtToken = 56,
EqualsToken = 57,
PlusEqualsToken = 58,
MinusEqualsToken = 59,
AsteriskEqualsToken = 60,
AsteriskAsteriskEqualsToken = 61,
SlashEqualsToken = 62,
PercentEqualsToken = 63,
LessThanLessThanEqualsToken = 64,
GreaterThanGreaterThanEqualsToken = 65,
GreaterThanGreaterThanGreaterThanEqualsToken = 66,
AmpersandEqualsToken = 67,
BarEqualsToken = 68,
CaretEqualsToken = 69,
Identifier = 70,
BreakKeyword = 71,
CaseKeyword = 72,
CatchKeyword = 73,
ClassKeyword = 74,
ConstKeyword = 75,
ContinueKeyword = 76,
DebuggerKeyword = 77,
DefaultKeyword = 78,
DeleteKeyword = 79,
DoKeyword = 80,
ElseKeyword = 81,
EnumKeyword = 82,
ExportKeyword = 83,
ExtendsKeyword = 84,
FalseKeyword = 85,
FinallyKeyword = 86,
ForKeyword = 87,
FunctionKeyword = 88,
IfKeyword = 89,
ImportKeyword = 90,
InKeyword = 91,
InstanceOfKeyword = 92,
NewKeyword = 93,
NullKeyword = 94,
ReturnKeyword = 95,
SuperKeyword = 96,
SwitchKeyword = 97,
ThisKeyword = 98,
ThrowKeyword = 99,
TrueKeyword = 100,
TryKeyword = 101,
TypeOfKeyword = 102,
VarKeyword = 103,
VoidKeyword = 104,
WhileKeyword = 105,
WithKeyword = 106,
ImplementsKeyword = 107,
InterfaceKeyword = 108,
LetKeyword = 109,
PackageKeyword = 110,
PrivateKeyword = 111,
ProtectedKeyword = 112,
PublicKeyword = 113,
StaticKeyword = 114,
YieldKeyword = 115,
AbstractKeyword = 116,
AsKeyword = 117,
AnyKeyword = 118,
AsyncKeyword = 119,
AwaitKeyword = 120,
BooleanKeyword = 121,
ConstructorKeyword = 122,
DeclareKeyword = 123,
GetKeyword = 124,
IsKeyword = 125,
KeyOfKeyword = 126,
ModuleKeyword = 127,
NamespaceKeyword = 128,
NeverKeyword = 129,
ReadonlyKeyword = 130,
RequireKeyword = 131,
NumberKeyword = 132,
ObjectKeyword = 133,
SetKeyword = 134,
StringKeyword = 135,
SymbolKeyword = 136,
TypeKeyword = 137,
UndefinedKeyword = 138,
FromKeyword = 139,
GlobalKeyword = 140,
OfKeyword = 141,
QualifiedName = 142,
ComputedPropertyName = 143,
TypeParameter = 144,
Parameter = 145,
Decorator = 146,
PropertySignature = 147,
PropertyDeclaration = 148,
MethodSignature = 149,
MethodDeclaration = 150,
Constructor = 151,
GetAccessor = 152,
SetAccessor = 153,
CallSignature = 154,
ConstructSignature = 155,
IndexSignature = 156,
TypePredicate = 157,
TypeReference = 158,
FunctionType = 159,
ConstructorType = 160,
TypeQuery = 161,
TypeLiteral = 162,
ArrayType = 163,
TupleType = 164,
UnionType = 165,
IntersectionType = 166,
ParenthesizedType = 167,
ThisType = 168,
TypeOperator = 169,
IndexedAccessType = 170,
MappedType = 171,
LiteralType = 172,
ObjectBindingPattern = 173,
ArrayBindingPattern = 174,
BindingElement = 175,
ArrayLiteralExpression = 176,
ObjectLiteralExpression = 177,
PropertyAccessExpression = 178,
ElementAccessExpression = 179,
CallExpression = 180,
NewExpression = 181,
TaggedTemplateExpression = 182,
TypeAssertionExpression = 183,
ParenthesizedExpression = 184,
FunctionExpression = 185,
ArrowFunction = 186,
DeleteExpression = 187,
TypeOfExpression = 188,
VoidExpression = 189,
AwaitExpression = 190,
PrefixUnaryExpression = 191,
PostfixUnaryExpression = 192,
BinaryExpression = 193,
ConditionalExpression = 194,
TemplateExpression = 195,
YieldExpression = 196,
SpreadElement = 197,
ClassExpression = 198,
OmittedExpression = 199,
ExpressionWithTypeArguments = 200,
AsExpression = 201,
NonNullExpression = 202,
MetaProperty = 203,
TemplateSpan = 204,
SemicolonClassElement = 205,
Block = 206,
VariableStatement = 207,
EmptyStatement = 208,
ExpressionStatement = 209,
IfStatement = 210,
DoStatement = 211,
WhileStatement = 212,
ForStatement = 213,
ForInStatement = 214,
ForOfStatement = 215,
ContinueStatement = 216,
BreakStatement = 217,
ReturnStatement = 218,
WithStatement = 219,
SwitchStatement = 220,
LabeledStatement = 221,
ThrowStatement = 222,
TryStatement = 223,
DebuggerStatement = 224,
VariableDeclaration = 225,
VariableDeclarationList = 226,
FunctionDeclaration = 227,
ClassDeclaration = 228,
InterfaceDeclaration = 229,
TypeAliasDeclaration = 230,
EnumDeclaration = 231,
ModuleDeclaration = 232,
ModuleBlock = 233,
CaseBlock = 234,
NamespaceExportDeclaration = 235,
ImportEqualsDeclaration = 236,
ImportDeclaration = 237,
ImportClause = 238,
NamespaceImport = 239,
NamedImports = 240,
ImportSpecifier = 241,
ExportAssignment = 242,
ExportDeclaration = 243,
NamedExports = 244,
ExportSpecifier = 245,
MissingDeclaration = 246,
ExternalModuleReference = 247,
JsxElement = 248,
JsxSelfClosingElement = 249,
JsxOpeningElement = 250,
JsxClosingElement = 251,
JsxAttribute = 252,
JsxAttributes = 253,
JsxSpreadAttribute = 254,
JsxExpression = 255,
CaseClause = 256,
DefaultClause = 257,
HeritageClause = 258,
CatchClause = 259,
PropertyAssignment = 260,
ShorthandPropertyAssignment = 261,
SpreadAssignment = 262,
EnumMember = 263,
SourceFile = 264,
Bundle = 265,
JSDocTypeExpression = 266,
JSDocAllType = 267,
JSDocUnknownType = 268,
JSDocArrayType = 269,
JSDocUnionType = 270,
JSDocTupleType = 271,
JSDocNullableType = 272,
JSDocNonNullableType = 273,
JSDocRecordType = 274,
JSDocRecordMember = 275,
JSDocTypeReference = 276,
JSDocOptionalType = 277,
JSDocFunctionType = 278,
JSDocVariadicType = 279,
JSDocConstructorType = 280,
JSDocThisType = 281,
JSDocComment = 282,
JSDocTag = 283,
JSDocAugmentsTag = 284,
JSDocParameterTag = 285,
JSDocReturnTag = 286,
JSDocTypeTag = 287,
JSDocTemplateTag = 288,
JSDocTypedefTag = 289,
JSDocPropertyTag = 290,
JSDocTypeLiteral = 291,
JSDocLiteralType = 292,
SyntaxList = 293,
NotEmittedStatement = 294,
PartiallyEmittedExpression = 295,
MergeDeclarationMarker = 296,
EndOfDeclarationMarker = 297,
Count = 298,
FirstAssignment = 57,
LastAssignment = 69,
FirstCompoundAssignment = 58,
LastCompoundAssignment = 69,
FirstReservedWord = 71,
LastReservedWord = 106,
FirstKeyword = 71,
LastKeyword = 141,
FirstFutureReservedWord = 107,
LastFutureReservedWord = 115,
FirstTypeNode = 157,
LastTypeNode = 172,
FirstPunctuation = 16,
LastPunctuation = 69,
JsxTextAllWhiteSpaces = 11,
RegularExpressionLiteral = 12,
NoSubstitutionTemplateLiteral = 13,
TemplateHead = 14,
TemplateMiddle = 15,
TemplateTail = 16,
OpenBraceToken = 17,
CloseBraceToken = 18,
OpenParenToken = 19,
CloseParenToken = 20,
OpenBracketToken = 21,
CloseBracketToken = 22,
DotToken = 23,
DotDotDotToken = 24,
SemicolonToken = 25,
CommaToken = 26,
LessThanToken = 27,
LessThanSlashToken = 28,
GreaterThanToken = 29,
LessThanEqualsToken = 30,
GreaterThanEqualsToken = 31,
EqualsEqualsToken = 32,
ExclamationEqualsToken = 33,
EqualsEqualsEqualsToken = 34,
ExclamationEqualsEqualsToken = 35,
EqualsGreaterThanToken = 36,
PlusToken = 37,
MinusToken = 38,
AsteriskToken = 39,
AsteriskAsteriskToken = 40,
SlashToken = 41,
PercentToken = 42,
PlusPlusToken = 43,
MinusMinusToken = 44,
LessThanLessThanToken = 45,
GreaterThanGreaterThanToken = 46,
GreaterThanGreaterThanGreaterThanToken = 47,
AmpersandToken = 48,
BarToken = 49,
CaretToken = 50,
ExclamationToken = 51,
TildeToken = 52,
AmpersandAmpersandToken = 53,
BarBarToken = 54,
QuestionToken = 55,
ColonToken = 56,
AtToken = 57,
EqualsToken = 58,
PlusEqualsToken = 59,
MinusEqualsToken = 60,
AsteriskEqualsToken = 61,
AsteriskAsteriskEqualsToken = 62,
SlashEqualsToken = 63,
PercentEqualsToken = 64,
LessThanLessThanEqualsToken = 65,
GreaterThanGreaterThanEqualsToken = 66,
GreaterThanGreaterThanGreaterThanEqualsToken = 67,
AmpersandEqualsToken = 68,
BarEqualsToken = 69,
CaretEqualsToken = 70,
Identifier = 71,
BreakKeyword = 72,
CaseKeyword = 73,
CatchKeyword = 74,
ClassKeyword = 75,
ConstKeyword = 76,
ContinueKeyword = 77,
DebuggerKeyword = 78,
DefaultKeyword = 79,
DeleteKeyword = 80,
DoKeyword = 81,
ElseKeyword = 82,
EnumKeyword = 83,
ExportKeyword = 84,
ExtendsKeyword = 85,
FalseKeyword = 86,
FinallyKeyword = 87,
ForKeyword = 88,
FunctionKeyword = 89,
IfKeyword = 90,
ImportKeyword = 91,
InKeyword = 92,
InstanceOfKeyword = 93,
NewKeyword = 94,
NullKeyword = 95,
ReturnKeyword = 96,
SuperKeyword = 97,
SwitchKeyword = 98,
ThisKeyword = 99,
ThrowKeyword = 100,
TrueKeyword = 101,
TryKeyword = 102,
TypeOfKeyword = 103,
VarKeyword = 104,
VoidKeyword = 105,
WhileKeyword = 106,
WithKeyword = 107,
ImplementsKeyword = 108,
InterfaceKeyword = 109,
LetKeyword = 110,
PackageKeyword = 111,
PrivateKeyword = 112,
ProtectedKeyword = 113,
PublicKeyword = 114,
StaticKeyword = 115,
YieldKeyword = 116,
AbstractKeyword = 117,
AsKeyword = 118,
AnyKeyword = 119,
AsyncKeyword = 120,
AwaitKeyword = 121,
BooleanKeyword = 122,
ConstructorKeyword = 123,
DeclareKeyword = 124,
GetKeyword = 125,
IsKeyword = 126,
KeyOfKeyword = 127,
ModuleKeyword = 128,
NamespaceKeyword = 129,
NeverKeyword = 130,
ReadonlyKeyword = 131,
RequireKeyword = 132,
NumberKeyword = 133,
ObjectKeyword = 134,
SetKeyword = 135,
StringKeyword = 136,
SymbolKeyword = 137,
TypeKeyword = 138,
UndefinedKeyword = 139,
FromKeyword = 140,
GlobalKeyword = 141,
OfKeyword = 142,
QualifiedName = 143,
ComputedPropertyName = 144,
TypeParameter = 145,
Parameter = 146,
Decorator = 147,
PropertySignature = 148,
PropertyDeclaration = 149,
MethodSignature = 150,
MethodDeclaration = 151,
Constructor = 152,
GetAccessor = 153,
SetAccessor = 154,
CallSignature = 155,
ConstructSignature = 156,
IndexSignature = 157,
TypePredicate = 158,
TypeReference = 159,
FunctionType = 160,
ConstructorType = 161,
TypeQuery = 162,
TypeLiteral = 163,
ArrayType = 164,
TupleType = 165,
UnionType = 166,
IntersectionType = 167,
ParenthesizedType = 168,
ThisType = 169,
TypeOperator = 170,
IndexedAccessType = 171,
MappedType = 172,
LiteralType = 173,
ObjectBindingPattern = 174,
ArrayBindingPattern = 175,
BindingElement = 176,
ArrayLiteralExpression = 177,
ObjectLiteralExpression = 178,
PropertyAccessExpression = 179,
ElementAccessExpression = 180,
CallExpression = 181,
NewExpression = 182,
TaggedTemplateExpression = 183,
TypeAssertionExpression = 184,
ParenthesizedExpression = 185,
FunctionExpression = 186,
ArrowFunction = 187,
DeleteExpression = 188,
TypeOfExpression = 189,
VoidExpression = 190,
AwaitExpression = 191,
PrefixUnaryExpression = 192,
PostfixUnaryExpression = 193,
BinaryExpression = 194,
ConditionalExpression = 195,
TemplateExpression = 196,
YieldExpression = 197,
SpreadElement = 198,
ClassExpression = 199,
OmittedExpression = 200,
ExpressionWithTypeArguments = 201,
AsExpression = 202,
NonNullExpression = 203,
MetaProperty = 204,
TemplateSpan = 205,
SemicolonClassElement = 206,
Block = 207,
VariableStatement = 208,
EmptyStatement = 209,
ExpressionStatement = 210,
IfStatement = 211,
DoStatement = 212,
WhileStatement = 213,
ForStatement = 214,
ForInStatement = 215,
ForOfStatement = 216,
ContinueStatement = 217,
BreakStatement = 218,
ReturnStatement = 219,
WithStatement = 220,
SwitchStatement = 221,
LabeledStatement = 222,
ThrowStatement = 223,
TryStatement = 224,
DebuggerStatement = 225,
VariableDeclaration = 226,
VariableDeclarationList = 227,
FunctionDeclaration = 228,
ClassDeclaration = 229,
InterfaceDeclaration = 230,
TypeAliasDeclaration = 231,
EnumDeclaration = 232,
ModuleDeclaration = 233,
ModuleBlock = 234,
CaseBlock = 235,
NamespaceExportDeclaration = 236,
ImportEqualsDeclaration = 237,
ImportDeclaration = 238,
ImportClause = 239,
NamespaceImport = 240,
NamedImports = 241,
ImportSpecifier = 242,
ExportAssignment = 243,
ExportDeclaration = 244,
NamedExports = 245,
ExportSpecifier = 246,
MissingDeclaration = 247,
ExternalModuleReference = 248,
JsxElement = 249,
JsxSelfClosingElement = 250,
JsxOpeningElement = 251,
JsxClosingElement = 252,
JsxAttribute = 253,
JsxAttributes = 254,
JsxSpreadAttribute = 255,
JsxExpression = 256,
CaseClause = 257,
DefaultClause = 258,
HeritageClause = 259,
CatchClause = 260,
PropertyAssignment = 261,
ShorthandPropertyAssignment = 262,
SpreadAssignment = 263,
EnumMember = 264,
SourceFile = 265,
Bundle = 266,
JSDocTypeExpression = 267,
JSDocAllType = 268,
JSDocUnknownType = 269,
JSDocArrayType = 270,
JSDocUnionType = 271,
JSDocTupleType = 272,
JSDocNullableType = 273,
JSDocNonNullableType = 274,
JSDocRecordType = 275,
JSDocRecordMember = 276,
JSDocTypeReference = 277,
JSDocOptionalType = 278,
JSDocFunctionType = 279,
JSDocVariadicType = 280,
JSDocConstructorType = 281,
JSDocThisType = 282,
JSDocComment = 283,
JSDocTag = 284,
JSDocAugmentsTag = 285,
JSDocParameterTag = 286,
JSDocReturnTag = 287,
JSDocTypeTag = 288,
JSDocTemplateTag = 289,
JSDocTypedefTag = 290,
JSDocPropertyTag = 291,
JSDocTypeLiteral = 292,
JSDocLiteralType = 293,
SyntaxList = 294,
NotEmittedStatement = 295,
PartiallyEmittedExpression = 296,
MergeDeclarationMarker = 297,
EndOfDeclarationMarker = 298,
Count = 299,
FirstAssignment = 58,
LastAssignment = 70,
FirstCompoundAssignment = 59,
LastCompoundAssignment = 70,
FirstReservedWord = 72,
LastReservedWord = 107,
FirstKeyword = 72,
LastKeyword = 142,
FirstFutureReservedWord = 108,
LastFutureReservedWord = 116,
FirstTypeNode = 158,
LastTypeNode = 173,
FirstPunctuation = 17,
LastPunctuation = 70,
FirstToken = 0,
LastToken = 141,
LastToken = 142,
FirstTriviaToken = 2,
LastTriviaToken = 7,
FirstLiteralToken = 8,
LastLiteralToken = 12,
FirstTemplateToken = 12,
LastTemplateToken = 15,
FirstBinaryOperator = 26,
LastBinaryOperator = 69,
FirstNode = 142,
FirstJSDocNode = 266,
LastJSDocNode = 292,
FirstJSDocTagNode = 282,
LastJSDocTagNode = 292,
LastLiteralToken = 13,
FirstTemplateToken = 13,
LastTemplateToken = 16,
FirstBinaryOperator = 27,
LastBinaryOperator = 70,
FirstNode = 143,
FirstJSDocNode = 267,
LastJSDocNode = 293,
FirstJSDocTagNode = 283,
LastJSDocTagNode = 293,
}
const enum NodeFlags {
None = 0,
@@ -1040,6 +1041,7 @@ declare namespace ts {
}
interface JsxText extends Node {
kind: SyntaxKind.JsxText;
containsOnlyWhiteSpaces: boolean;
parent?: JsxElement;
}
type JsxChild = JsxText | JsxExpression | JsxElement | JsxSelfClosingElement;
@@ -2355,7 +2357,7 @@ declare namespace ts {
function tokenToString(t: SyntaxKind): string;
function getPositionOfLineAndCharacter(sourceFile: SourceFile, line: number, character: number): number;
function getLineAndCharacterOfPosition(sourceFile: SourceFile, position: number): LineAndCharacter;
function isWhiteSpace(ch: number): boolean;
function isWhiteSpaceLike(ch: number): boolean;
function isWhiteSpaceSingleLine(ch: number): boolean;
function isLineBreak(ch: number): boolean;
function couldStartTrivia(text: string, pos: number): boolean;
+7162 -7092
View File
File diff suppressed because it is too large Load Diff
+317 -315
View File
@@ -24,7 +24,7 @@ declare namespace ts {
}
/** ES6 Map interface. */
interface Map<T> {
get(key: string): T;
get(key: string): T | undefined;
has(key: string): boolean;
set(key: string, value: T): this;
delete(key: string): boolean;
@@ -73,323 +73,324 @@ declare namespace ts {
NumericLiteral = 8,
StringLiteral = 9,
JsxText = 10,
RegularExpressionLiteral = 11,
NoSubstitutionTemplateLiteral = 12,
TemplateHead = 13,
TemplateMiddle = 14,
TemplateTail = 15,
OpenBraceToken = 16,
CloseBraceToken = 17,
OpenParenToken = 18,
CloseParenToken = 19,
OpenBracketToken = 20,
CloseBracketToken = 21,
DotToken = 22,
DotDotDotToken = 23,
SemicolonToken = 24,
CommaToken = 25,
LessThanToken = 26,
LessThanSlashToken = 27,
GreaterThanToken = 28,
LessThanEqualsToken = 29,
GreaterThanEqualsToken = 30,
EqualsEqualsToken = 31,
ExclamationEqualsToken = 32,
EqualsEqualsEqualsToken = 33,
ExclamationEqualsEqualsToken = 34,
EqualsGreaterThanToken = 35,
PlusToken = 36,
MinusToken = 37,
AsteriskToken = 38,
AsteriskAsteriskToken = 39,
SlashToken = 40,
PercentToken = 41,
PlusPlusToken = 42,
MinusMinusToken = 43,
LessThanLessThanToken = 44,
GreaterThanGreaterThanToken = 45,
GreaterThanGreaterThanGreaterThanToken = 46,
AmpersandToken = 47,
BarToken = 48,
CaretToken = 49,
ExclamationToken = 50,
TildeToken = 51,
AmpersandAmpersandToken = 52,
BarBarToken = 53,
QuestionToken = 54,
ColonToken = 55,
AtToken = 56,
EqualsToken = 57,
PlusEqualsToken = 58,
MinusEqualsToken = 59,
AsteriskEqualsToken = 60,
AsteriskAsteriskEqualsToken = 61,
SlashEqualsToken = 62,
PercentEqualsToken = 63,
LessThanLessThanEqualsToken = 64,
GreaterThanGreaterThanEqualsToken = 65,
GreaterThanGreaterThanGreaterThanEqualsToken = 66,
AmpersandEqualsToken = 67,
BarEqualsToken = 68,
CaretEqualsToken = 69,
Identifier = 70,
BreakKeyword = 71,
CaseKeyword = 72,
CatchKeyword = 73,
ClassKeyword = 74,
ConstKeyword = 75,
ContinueKeyword = 76,
DebuggerKeyword = 77,
DefaultKeyword = 78,
DeleteKeyword = 79,
DoKeyword = 80,
ElseKeyword = 81,
EnumKeyword = 82,
ExportKeyword = 83,
ExtendsKeyword = 84,
FalseKeyword = 85,
FinallyKeyword = 86,
ForKeyword = 87,
FunctionKeyword = 88,
IfKeyword = 89,
ImportKeyword = 90,
InKeyword = 91,
InstanceOfKeyword = 92,
NewKeyword = 93,
NullKeyword = 94,
ReturnKeyword = 95,
SuperKeyword = 96,
SwitchKeyword = 97,
ThisKeyword = 98,
ThrowKeyword = 99,
TrueKeyword = 100,
TryKeyword = 101,
TypeOfKeyword = 102,
VarKeyword = 103,
VoidKeyword = 104,
WhileKeyword = 105,
WithKeyword = 106,
ImplementsKeyword = 107,
InterfaceKeyword = 108,
LetKeyword = 109,
PackageKeyword = 110,
PrivateKeyword = 111,
ProtectedKeyword = 112,
PublicKeyword = 113,
StaticKeyword = 114,
YieldKeyword = 115,
AbstractKeyword = 116,
AsKeyword = 117,
AnyKeyword = 118,
AsyncKeyword = 119,
AwaitKeyword = 120,
BooleanKeyword = 121,
ConstructorKeyword = 122,
DeclareKeyword = 123,
GetKeyword = 124,
IsKeyword = 125,
KeyOfKeyword = 126,
ModuleKeyword = 127,
NamespaceKeyword = 128,
NeverKeyword = 129,
ReadonlyKeyword = 130,
RequireKeyword = 131,
NumberKeyword = 132,
ObjectKeyword = 133,
SetKeyword = 134,
StringKeyword = 135,
SymbolKeyword = 136,
TypeKeyword = 137,
UndefinedKeyword = 138,
FromKeyword = 139,
GlobalKeyword = 140,
OfKeyword = 141,
QualifiedName = 142,
ComputedPropertyName = 143,
TypeParameter = 144,
Parameter = 145,
Decorator = 146,
PropertySignature = 147,
PropertyDeclaration = 148,
MethodSignature = 149,
MethodDeclaration = 150,
Constructor = 151,
GetAccessor = 152,
SetAccessor = 153,
CallSignature = 154,
ConstructSignature = 155,
IndexSignature = 156,
TypePredicate = 157,
TypeReference = 158,
FunctionType = 159,
ConstructorType = 160,
TypeQuery = 161,
TypeLiteral = 162,
ArrayType = 163,
TupleType = 164,
UnionType = 165,
IntersectionType = 166,
ParenthesizedType = 167,
ThisType = 168,
TypeOperator = 169,
IndexedAccessType = 170,
MappedType = 171,
LiteralType = 172,
ObjectBindingPattern = 173,
ArrayBindingPattern = 174,
BindingElement = 175,
ArrayLiteralExpression = 176,
ObjectLiteralExpression = 177,
PropertyAccessExpression = 178,
ElementAccessExpression = 179,
CallExpression = 180,
NewExpression = 181,
TaggedTemplateExpression = 182,
TypeAssertionExpression = 183,
ParenthesizedExpression = 184,
FunctionExpression = 185,
ArrowFunction = 186,
DeleteExpression = 187,
TypeOfExpression = 188,
VoidExpression = 189,
AwaitExpression = 190,
PrefixUnaryExpression = 191,
PostfixUnaryExpression = 192,
BinaryExpression = 193,
ConditionalExpression = 194,
TemplateExpression = 195,
YieldExpression = 196,
SpreadElement = 197,
ClassExpression = 198,
OmittedExpression = 199,
ExpressionWithTypeArguments = 200,
AsExpression = 201,
NonNullExpression = 202,
MetaProperty = 203,
TemplateSpan = 204,
SemicolonClassElement = 205,
Block = 206,
VariableStatement = 207,
EmptyStatement = 208,
ExpressionStatement = 209,
IfStatement = 210,
DoStatement = 211,
WhileStatement = 212,
ForStatement = 213,
ForInStatement = 214,
ForOfStatement = 215,
ContinueStatement = 216,
BreakStatement = 217,
ReturnStatement = 218,
WithStatement = 219,
SwitchStatement = 220,
LabeledStatement = 221,
ThrowStatement = 222,
TryStatement = 223,
DebuggerStatement = 224,
VariableDeclaration = 225,
VariableDeclarationList = 226,
FunctionDeclaration = 227,
ClassDeclaration = 228,
InterfaceDeclaration = 229,
TypeAliasDeclaration = 230,
EnumDeclaration = 231,
ModuleDeclaration = 232,
ModuleBlock = 233,
CaseBlock = 234,
NamespaceExportDeclaration = 235,
ImportEqualsDeclaration = 236,
ImportDeclaration = 237,
ImportClause = 238,
NamespaceImport = 239,
NamedImports = 240,
ImportSpecifier = 241,
ExportAssignment = 242,
ExportDeclaration = 243,
NamedExports = 244,
ExportSpecifier = 245,
MissingDeclaration = 246,
ExternalModuleReference = 247,
JsxElement = 248,
JsxSelfClosingElement = 249,
JsxOpeningElement = 250,
JsxClosingElement = 251,
JsxAttribute = 252,
JsxAttributes = 253,
JsxSpreadAttribute = 254,
JsxExpression = 255,
CaseClause = 256,
DefaultClause = 257,
HeritageClause = 258,
CatchClause = 259,
PropertyAssignment = 260,
ShorthandPropertyAssignment = 261,
SpreadAssignment = 262,
EnumMember = 263,
SourceFile = 264,
Bundle = 265,
JSDocTypeExpression = 266,
JSDocAllType = 267,
JSDocUnknownType = 268,
JSDocArrayType = 269,
JSDocUnionType = 270,
JSDocTupleType = 271,
JSDocNullableType = 272,
JSDocNonNullableType = 273,
JSDocRecordType = 274,
JSDocRecordMember = 275,
JSDocTypeReference = 276,
JSDocOptionalType = 277,
JSDocFunctionType = 278,
JSDocVariadicType = 279,
JSDocConstructorType = 280,
JSDocThisType = 281,
JSDocComment = 282,
JSDocTag = 283,
JSDocAugmentsTag = 284,
JSDocParameterTag = 285,
JSDocReturnTag = 286,
JSDocTypeTag = 287,
JSDocTemplateTag = 288,
JSDocTypedefTag = 289,
JSDocPropertyTag = 290,
JSDocTypeLiteral = 291,
JSDocLiteralType = 292,
SyntaxList = 293,
NotEmittedStatement = 294,
PartiallyEmittedExpression = 295,
MergeDeclarationMarker = 296,
EndOfDeclarationMarker = 297,
Count = 298,
FirstAssignment = 57,
LastAssignment = 69,
FirstCompoundAssignment = 58,
LastCompoundAssignment = 69,
FirstReservedWord = 71,
LastReservedWord = 106,
FirstKeyword = 71,
LastKeyword = 141,
FirstFutureReservedWord = 107,
LastFutureReservedWord = 115,
FirstTypeNode = 157,
LastTypeNode = 172,
FirstPunctuation = 16,
LastPunctuation = 69,
JsxTextAllWhiteSpaces = 11,
RegularExpressionLiteral = 12,
NoSubstitutionTemplateLiteral = 13,
TemplateHead = 14,
TemplateMiddle = 15,
TemplateTail = 16,
OpenBraceToken = 17,
CloseBraceToken = 18,
OpenParenToken = 19,
CloseParenToken = 20,
OpenBracketToken = 21,
CloseBracketToken = 22,
DotToken = 23,
DotDotDotToken = 24,
SemicolonToken = 25,
CommaToken = 26,
LessThanToken = 27,
LessThanSlashToken = 28,
GreaterThanToken = 29,
LessThanEqualsToken = 30,
GreaterThanEqualsToken = 31,
EqualsEqualsToken = 32,
ExclamationEqualsToken = 33,
EqualsEqualsEqualsToken = 34,
ExclamationEqualsEqualsToken = 35,
EqualsGreaterThanToken = 36,
PlusToken = 37,
MinusToken = 38,
AsteriskToken = 39,
AsteriskAsteriskToken = 40,
SlashToken = 41,
PercentToken = 42,
PlusPlusToken = 43,
MinusMinusToken = 44,
LessThanLessThanToken = 45,
GreaterThanGreaterThanToken = 46,
GreaterThanGreaterThanGreaterThanToken = 47,
AmpersandToken = 48,
BarToken = 49,
CaretToken = 50,
ExclamationToken = 51,
TildeToken = 52,
AmpersandAmpersandToken = 53,
BarBarToken = 54,
QuestionToken = 55,
ColonToken = 56,
AtToken = 57,
EqualsToken = 58,
PlusEqualsToken = 59,
MinusEqualsToken = 60,
AsteriskEqualsToken = 61,
AsteriskAsteriskEqualsToken = 62,
SlashEqualsToken = 63,
PercentEqualsToken = 64,
LessThanLessThanEqualsToken = 65,
GreaterThanGreaterThanEqualsToken = 66,
GreaterThanGreaterThanGreaterThanEqualsToken = 67,
AmpersandEqualsToken = 68,
BarEqualsToken = 69,
CaretEqualsToken = 70,
Identifier = 71,
BreakKeyword = 72,
CaseKeyword = 73,
CatchKeyword = 74,
ClassKeyword = 75,
ConstKeyword = 76,
ContinueKeyword = 77,
DebuggerKeyword = 78,
DefaultKeyword = 79,
DeleteKeyword = 80,
DoKeyword = 81,
ElseKeyword = 82,
EnumKeyword = 83,
ExportKeyword = 84,
ExtendsKeyword = 85,
FalseKeyword = 86,
FinallyKeyword = 87,
ForKeyword = 88,
FunctionKeyword = 89,
IfKeyword = 90,
ImportKeyword = 91,
InKeyword = 92,
InstanceOfKeyword = 93,
NewKeyword = 94,
NullKeyword = 95,
ReturnKeyword = 96,
SuperKeyword = 97,
SwitchKeyword = 98,
ThisKeyword = 99,
ThrowKeyword = 100,
TrueKeyword = 101,
TryKeyword = 102,
TypeOfKeyword = 103,
VarKeyword = 104,
VoidKeyword = 105,
WhileKeyword = 106,
WithKeyword = 107,
ImplementsKeyword = 108,
InterfaceKeyword = 109,
LetKeyword = 110,
PackageKeyword = 111,
PrivateKeyword = 112,
ProtectedKeyword = 113,
PublicKeyword = 114,
StaticKeyword = 115,
YieldKeyword = 116,
AbstractKeyword = 117,
AsKeyword = 118,
AnyKeyword = 119,
AsyncKeyword = 120,
AwaitKeyword = 121,
BooleanKeyword = 122,
ConstructorKeyword = 123,
DeclareKeyword = 124,
GetKeyword = 125,
IsKeyword = 126,
KeyOfKeyword = 127,
ModuleKeyword = 128,
NamespaceKeyword = 129,
NeverKeyword = 130,
ReadonlyKeyword = 131,
RequireKeyword = 132,
NumberKeyword = 133,
ObjectKeyword = 134,
SetKeyword = 135,
StringKeyword = 136,
SymbolKeyword = 137,
TypeKeyword = 138,
UndefinedKeyword = 139,
FromKeyword = 140,
GlobalKeyword = 141,
OfKeyword = 142,
QualifiedName = 143,
ComputedPropertyName = 144,
TypeParameter = 145,
Parameter = 146,
Decorator = 147,
PropertySignature = 148,
PropertyDeclaration = 149,
MethodSignature = 150,
MethodDeclaration = 151,
Constructor = 152,
GetAccessor = 153,
SetAccessor = 154,
CallSignature = 155,
ConstructSignature = 156,
IndexSignature = 157,
TypePredicate = 158,
TypeReference = 159,
FunctionType = 160,
ConstructorType = 161,
TypeQuery = 162,
TypeLiteral = 163,
ArrayType = 164,
TupleType = 165,
UnionType = 166,
IntersectionType = 167,
ParenthesizedType = 168,
ThisType = 169,
TypeOperator = 170,
IndexedAccessType = 171,
MappedType = 172,
LiteralType = 173,
ObjectBindingPattern = 174,
ArrayBindingPattern = 175,
BindingElement = 176,
ArrayLiteralExpression = 177,
ObjectLiteralExpression = 178,
PropertyAccessExpression = 179,
ElementAccessExpression = 180,
CallExpression = 181,
NewExpression = 182,
TaggedTemplateExpression = 183,
TypeAssertionExpression = 184,
ParenthesizedExpression = 185,
FunctionExpression = 186,
ArrowFunction = 187,
DeleteExpression = 188,
TypeOfExpression = 189,
VoidExpression = 190,
AwaitExpression = 191,
PrefixUnaryExpression = 192,
PostfixUnaryExpression = 193,
BinaryExpression = 194,
ConditionalExpression = 195,
TemplateExpression = 196,
YieldExpression = 197,
SpreadElement = 198,
ClassExpression = 199,
OmittedExpression = 200,
ExpressionWithTypeArguments = 201,
AsExpression = 202,
NonNullExpression = 203,
MetaProperty = 204,
TemplateSpan = 205,
SemicolonClassElement = 206,
Block = 207,
VariableStatement = 208,
EmptyStatement = 209,
ExpressionStatement = 210,
IfStatement = 211,
DoStatement = 212,
WhileStatement = 213,
ForStatement = 214,
ForInStatement = 215,
ForOfStatement = 216,
ContinueStatement = 217,
BreakStatement = 218,
ReturnStatement = 219,
WithStatement = 220,
SwitchStatement = 221,
LabeledStatement = 222,
ThrowStatement = 223,
TryStatement = 224,
DebuggerStatement = 225,
VariableDeclaration = 226,
VariableDeclarationList = 227,
FunctionDeclaration = 228,
ClassDeclaration = 229,
InterfaceDeclaration = 230,
TypeAliasDeclaration = 231,
EnumDeclaration = 232,
ModuleDeclaration = 233,
ModuleBlock = 234,
CaseBlock = 235,
NamespaceExportDeclaration = 236,
ImportEqualsDeclaration = 237,
ImportDeclaration = 238,
ImportClause = 239,
NamespaceImport = 240,
NamedImports = 241,
ImportSpecifier = 242,
ExportAssignment = 243,
ExportDeclaration = 244,
NamedExports = 245,
ExportSpecifier = 246,
MissingDeclaration = 247,
ExternalModuleReference = 248,
JsxElement = 249,
JsxSelfClosingElement = 250,
JsxOpeningElement = 251,
JsxClosingElement = 252,
JsxAttribute = 253,
JsxAttributes = 254,
JsxSpreadAttribute = 255,
JsxExpression = 256,
CaseClause = 257,
DefaultClause = 258,
HeritageClause = 259,
CatchClause = 260,
PropertyAssignment = 261,
ShorthandPropertyAssignment = 262,
SpreadAssignment = 263,
EnumMember = 264,
SourceFile = 265,
Bundle = 266,
JSDocTypeExpression = 267,
JSDocAllType = 268,
JSDocUnknownType = 269,
JSDocArrayType = 270,
JSDocUnionType = 271,
JSDocTupleType = 272,
JSDocNullableType = 273,
JSDocNonNullableType = 274,
JSDocRecordType = 275,
JSDocRecordMember = 276,
JSDocTypeReference = 277,
JSDocOptionalType = 278,
JSDocFunctionType = 279,
JSDocVariadicType = 280,
JSDocConstructorType = 281,
JSDocThisType = 282,
JSDocComment = 283,
JSDocTag = 284,
JSDocAugmentsTag = 285,
JSDocParameterTag = 286,
JSDocReturnTag = 287,
JSDocTypeTag = 288,
JSDocTemplateTag = 289,
JSDocTypedefTag = 290,
JSDocPropertyTag = 291,
JSDocTypeLiteral = 292,
JSDocLiteralType = 293,
SyntaxList = 294,
NotEmittedStatement = 295,
PartiallyEmittedExpression = 296,
MergeDeclarationMarker = 297,
EndOfDeclarationMarker = 298,
Count = 299,
FirstAssignment = 58,
LastAssignment = 70,
FirstCompoundAssignment = 59,
LastCompoundAssignment = 70,
FirstReservedWord = 72,
LastReservedWord = 107,
FirstKeyword = 72,
LastKeyword = 142,
FirstFutureReservedWord = 108,
LastFutureReservedWord = 116,
FirstTypeNode = 158,
LastTypeNode = 173,
FirstPunctuation = 17,
LastPunctuation = 70,
FirstToken = 0,
LastToken = 141,
LastToken = 142,
FirstTriviaToken = 2,
LastTriviaToken = 7,
FirstLiteralToken = 8,
LastLiteralToken = 12,
FirstTemplateToken = 12,
LastTemplateToken = 15,
FirstBinaryOperator = 26,
LastBinaryOperator = 69,
FirstNode = 142,
FirstJSDocNode = 266,
LastJSDocNode = 292,
FirstJSDocTagNode = 282,
LastJSDocTagNode = 292,
LastLiteralToken = 13,
FirstTemplateToken = 13,
LastTemplateToken = 16,
FirstBinaryOperator = 27,
LastBinaryOperator = 70,
FirstNode = 143,
FirstJSDocNode = 267,
LastJSDocNode = 293,
FirstJSDocTagNode = 283,
LastJSDocTagNode = 293,
}
enum NodeFlags {
None = 0,
@@ -1065,6 +1066,7 @@ declare namespace ts {
}
interface JsxText extends Node {
kind: SyntaxKind.JsxText;
containsOnlyWhiteSpaces: boolean;
parent?: JsxElement;
}
type JsxChild = JsxText | JsxExpression | JsxElement | JsxSelfClosingElement;
@@ -2603,7 +2605,7 @@ declare namespace ts {
function tokenToString(t: SyntaxKind): string;
function getPositionOfLineAndCharacter(sourceFile: SourceFile, line: number, character: number): number;
function getLineAndCharacterOfPosition(sourceFile: SourceFile, position: number): LineAndCharacter;
function isWhiteSpace(ch: number): boolean;
function isWhiteSpaceLike(ch: number): boolean;
/** Does not include line breaks. For that, see isWhiteSpaceLike. */
function isWhiteSpaceSingleLine(ch: number): boolean;
function isLineBreak(ch: number): boolean;
+7594 -7494
View File
File diff suppressed because it is too large Load Diff
+317 -315
View File
@@ -24,7 +24,7 @@ declare namespace ts {
}
/** ES6 Map interface. */
interface Map<T> {
get(key: string): T;
get(key: string): T | undefined;
has(key: string): boolean;
set(key: string, value: T): this;
delete(key: string): boolean;
@@ -73,323 +73,324 @@ declare namespace ts {
NumericLiteral = 8,
StringLiteral = 9,
JsxText = 10,
RegularExpressionLiteral = 11,
NoSubstitutionTemplateLiteral = 12,
TemplateHead = 13,
TemplateMiddle = 14,
TemplateTail = 15,
OpenBraceToken = 16,
CloseBraceToken = 17,
OpenParenToken = 18,
CloseParenToken = 19,
OpenBracketToken = 20,
CloseBracketToken = 21,
DotToken = 22,
DotDotDotToken = 23,
SemicolonToken = 24,
CommaToken = 25,
LessThanToken = 26,
LessThanSlashToken = 27,
GreaterThanToken = 28,
LessThanEqualsToken = 29,
GreaterThanEqualsToken = 30,
EqualsEqualsToken = 31,
ExclamationEqualsToken = 32,
EqualsEqualsEqualsToken = 33,
ExclamationEqualsEqualsToken = 34,
EqualsGreaterThanToken = 35,
PlusToken = 36,
MinusToken = 37,
AsteriskToken = 38,
AsteriskAsteriskToken = 39,
SlashToken = 40,
PercentToken = 41,
PlusPlusToken = 42,
MinusMinusToken = 43,
LessThanLessThanToken = 44,
GreaterThanGreaterThanToken = 45,
GreaterThanGreaterThanGreaterThanToken = 46,
AmpersandToken = 47,
BarToken = 48,
CaretToken = 49,
ExclamationToken = 50,
TildeToken = 51,
AmpersandAmpersandToken = 52,
BarBarToken = 53,
QuestionToken = 54,
ColonToken = 55,
AtToken = 56,
EqualsToken = 57,
PlusEqualsToken = 58,
MinusEqualsToken = 59,
AsteriskEqualsToken = 60,
AsteriskAsteriskEqualsToken = 61,
SlashEqualsToken = 62,
PercentEqualsToken = 63,
LessThanLessThanEqualsToken = 64,
GreaterThanGreaterThanEqualsToken = 65,
GreaterThanGreaterThanGreaterThanEqualsToken = 66,
AmpersandEqualsToken = 67,
BarEqualsToken = 68,
CaretEqualsToken = 69,
Identifier = 70,
BreakKeyword = 71,
CaseKeyword = 72,
CatchKeyword = 73,
ClassKeyword = 74,
ConstKeyword = 75,
ContinueKeyword = 76,
DebuggerKeyword = 77,
DefaultKeyword = 78,
DeleteKeyword = 79,
DoKeyword = 80,
ElseKeyword = 81,
EnumKeyword = 82,
ExportKeyword = 83,
ExtendsKeyword = 84,
FalseKeyword = 85,
FinallyKeyword = 86,
ForKeyword = 87,
FunctionKeyword = 88,
IfKeyword = 89,
ImportKeyword = 90,
InKeyword = 91,
InstanceOfKeyword = 92,
NewKeyword = 93,
NullKeyword = 94,
ReturnKeyword = 95,
SuperKeyword = 96,
SwitchKeyword = 97,
ThisKeyword = 98,
ThrowKeyword = 99,
TrueKeyword = 100,
TryKeyword = 101,
TypeOfKeyword = 102,
VarKeyword = 103,
VoidKeyword = 104,
WhileKeyword = 105,
WithKeyword = 106,
ImplementsKeyword = 107,
InterfaceKeyword = 108,
LetKeyword = 109,
PackageKeyword = 110,
PrivateKeyword = 111,
ProtectedKeyword = 112,
PublicKeyword = 113,
StaticKeyword = 114,
YieldKeyword = 115,
AbstractKeyword = 116,
AsKeyword = 117,
AnyKeyword = 118,
AsyncKeyword = 119,
AwaitKeyword = 120,
BooleanKeyword = 121,
ConstructorKeyword = 122,
DeclareKeyword = 123,
GetKeyword = 124,
IsKeyword = 125,
KeyOfKeyword = 126,
ModuleKeyword = 127,
NamespaceKeyword = 128,
NeverKeyword = 129,
ReadonlyKeyword = 130,
RequireKeyword = 131,
NumberKeyword = 132,
ObjectKeyword = 133,
SetKeyword = 134,
StringKeyword = 135,
SymbolKeyword = 136,
TypeKeyword = 137,
UndefinedKeyword = 138,
FromKeyword = 139,
GlobalKeyword = 140,
OfKeyword = 141,
QualifiedName = 142,
ComputedPropertyName = 143,
TypeParameter = 144,
Parameter = 145,
Decorator = 146,
PropertySignature = 147,
PropertyDeclaration = 148,
MethodSignature = 149,
MethodDeclaration = 150,
Constructor = 151,
GetAccessor = 152,
SetAccessor = 153,
CallSignature = 154,
ConstructSignature = 155,
IndexSignature = 156,
TypePredicate = 157,
TypeReference = 158,
FunctionType = 159,
ConstructorType = 160,
TypeQuery = 161,
TypeLiteral = 162,
ArrayType = 163,
TupleType = 164,
UnionType = 165,
IntersectionType = 166,
ParenthesizedType = 167,
ThisType = 168,
TypeOperator = 169,
IndexedAccessType = 170,
MappedType = 171,
LiteralType = 172,
ObjectBindingPattern = 173,
ArrayBindingPattern = 174,
BindingElement = 175,
ArrayLiteralExpression = 176,
ObjectLiteralExpression = 177,
PropertyAccessExpression = 178,
ElementAccessExpression = 179,
CallExpression = 180,
NewExpression = 181,
TaggedTemplateExpression = 182,
TypeAssertionExpression = 183,
ParenthesizedExpression = 184,
FunctionExpression = 185,
ArrowFunction = 186,
DeleteExpression = 187,
TypeOfExpression = 188,
VoidExpression = 189,
AwaitExpression = 190,
PrefixUnaryExpression = 191,
PostfixUnaryExpression = 192,
BinaryExpression = 193,
ConditionalExpression = 194,
TemplateExpression = 195,
YieldExpression = 196,
SpreadElement = 197,
ClassExpression = 198,
OmittedExpression = 199,
ExpressionWithTypeArguments = 200,
AsExpression = 201,
NonNullExpression = 202,
MetaProperty = 203,
TemplateSpan = 204,
SemicolonClassElement = 205,
Block = 206,
VariableStatement = 207,
EmptyStatement = 208,
ExpressionStatement = 209,
IfStatement = 210,
DoStatement = 211,
WhileStatement = 212,
ForStatement = 213,
ForInStatement = 214,
ForOfStatement = 215,
ContinueStatement = 216,
BreakStatement = 217,
ReturnStatement = 218,
WithStatement = 219,
SwitchStatement = 220,
LabeledStatement = 221,
ThrowStatement = 222,
TryStatement = 223,
DebuggerStatement = 224,
VariableDeclaration = 225,
VariableDeclarationList = 226,
FunctionDeclaration = 227,
ClassDeclaration = 228,
InterfaceDeclaration = 229,
TypeAliasDeclaration = 230,
EnumDeclaration = 231,
ModuleDeclaration = 232,
ModuleBlock = 233,
CaseBlock = 234,
NamespaceExportDeclaration = 235,
ImportEqualsDeclaration = 236,
ImportDeclaration = 237,
ImportClause = 238,
NamespaceImport = 239,
NamedImports = 240,
ImportSpecifier = 241,
ExportAssignment = 242,
ExportDeclaration = 243,
NamedExports = 244,
ExportSpecifier = 245,
MissingDeclaration = 246,
ExternalModuleReference = 247,
JsxElement = 248,
JsxSelfClosingElement = 249,
JsxOpeningElement = 250,
JsxClosingElement = 251,
JsxAttribute = 252,
JsxAttributes = 253,
JsxSpreadAttribute = 254,
JsxExpression = 255,
CaseClause = 256,
DefaultClause = 257,
HeritageClause = 258,
CatchClause = 259,
PropertyAssignment = 260,
ShorthandPropertyAssignment = 261,
SpreadAssignment = 262,
EnumMember = 263,
SourceFile = 264,
Bundle = 265,
JSDocTypeExpression = 266,
JSDocAllType = 267,
JSDocUnknownType = 268,
JSDocArrayType = 269,
JSDocUnionType = 270,
JSDocTupleType = 271,
JSDocNullableType = 272,
JSDocNonNullableType = 273,
JSDocRecordType = 274,
JSDocRecordMember = 275,
JSDocTypeReference = 276,
JSDocOptionalType = 277,
JSDocFunctionType = 278,
JSDocVariadicType = 279,
JSDocConstructorType = 280,
JSDocThisType = 281,
JSDocComment = 282,
JSDocTag = 283,
JSDocAugmentsTag = 284,
JSDocParameterTag = 285,
JSDocReturnTag = 286,
JSDocTypeTag = 287,
JSDocTemplateTag = 288,
JSDocTypedefTag = 289,
JSDocPropertyTag = 290,
JSDocTypeLiteral = 291,
JSDocLiteralType = 292,
SyntaxList = 293,
NotEmittedStatement = 294,
PartiallyEmittedExpression = 295,
MergeDeclarationMarker = 296,
EndOfDeclarationMarker = 297,
Count = 298,
FirstAssignment = 57,
LastAssignment = 69,
FirstCompoundAssignment = 58,
LastCompoundAssignment = 69,
FirstReservedWord = 71,
LastReservedWord = 106,
FirstKeyword = 71,
LastKeyword = 141,
FirstFutureReservedWord = 107,
LastFutureReservedWord = 115,
FirstTypeNode = 157,
LastTypeNode = 172,
FirstPunctuation = 16,
LastPunctuation = 69,
JsxTextAllWhiteSpaces = 11,
RegularExpressionLiteral = 12,
NoSubstitutionTemplateLiteral = 13,
TemplateHead = 14,
TemplateMiddle = 15,
TemplateTail = 16,
OpenBraceToken = 17,
CloseBraceToken = 18,
OpenParenToken = 19,
CloseParenToken = 20,
OpenBracketToken = 21,
CloseBracketToken = 22,
DotToken = 23,
DotDotDotToken = 24,
SemicolonToken = 25,
CommaToken = 26,
LessThanToken = 27,
LessThanSlashToken = 28,
GreaterThanToken = 29,
LessThanEqualsToken = 30,
GreaterThanEqualsToken = 31,
EqualsEqualsToken = 32,
ExclamationEqualsToken = 33,
EqualsEqualsEqualsToken = 34,
ExclamationEqualsEqualsToken = 35,
EqualsGreaterThanToken = 36,
PlusToken = 37,
MinusToken = 38,
AsteriskToken = 39,
AsteriskAsteriskToken = 40,
SlashToken = 41,
PercentToken = 42,
PlusPlusToken = 43,
MinusMinusToken = 44,
LessThanLessThanToken = 45,
GreaterThanGreaterThanToken = 46,
GreaterThanGreaterThanGreaterThanToken = 47,
AmpersandToken = 48,
BarToken = 49,
CaretToken = 50,
ExclamationToken = 51,
TildeToken = 52,
AmpersandAmpersandToken = 53,
BarBarToken = 54,
QuestionToken = 55,
ColonToken = 56,
AtToken = 57,
EqualsToken = 58,
PlusEqualsToken = 59,
MinusEqualsToken = 60,
AsteriskEqualsToken = 61,
AsteriskAsteriskEqualsToken = 62,
SlashEqualsToken = 63,
PercentEqualsToken = 64,
LessThanLessThanEqualsToken = 65,
GreaterThanGreaterThanEqualsToken = 66,
GreaterThanGreaterThanGreaterThanEqualsToken = 67,
AmpersandEqualsToken = 68,
BarEqualsToken = 69,
CaretEqualsToken = 70,
Identifier = 71,
BreakKeyword = 72,
CaseKeyword = 73,
CatchKeyword = 74,
ClassKeyword = 75,
ConstKeyword = 76,
ContinueKeyword = 77,
DebuggerKeyword = 78,
DefaultKeyword = 79,
DeleteKeyword = 80,
DoKeyword = 81,
ElseKeyword = 82,
EnumKeyword = 83,
ExportKeyword = 84,
ExtendsKeyword = 85,
FalseKeyword = 86,
FinallyKeyword = 87,
ForKeyword = 88,
FunctionKeyword = 89,
IfKeyword = 90,
ImportKeyword = 91,
InKeyword = 92,
InstanceOfKeyword = 93,
NewKeyword = 94,
NullKeyword = 95,
ReturnKeyword = 96,
SuperKeyword = 97,
SwitchKeyword = 98,
ThisKeyword = 99,
ThrowKeyword = 100,
TrueKeyword = 101,
TryKeyword = 102,
TypeOfKeyword = 103,
VarKeyword = 104,
VoidKeyword = 105,
WhileKeyword = 106,
WithKeyword = 107,
ImplementsKeyword = 108,
InterfaceKeyword = 109,
LetKeyword = 110,
PackageKeyword = 111,
PrivateKeyword = 112,
ProtectedKeyword = 113,
PublicKeyword = 114,
StaticKeyword = 115,
YieldKeyword = 116,
AbstractKeyword = 117,
AsKeyword = 118,
AnyKeyword = 119,
AsyncKeyword = 120,
AwaitKeyword = 121,
BooleanKeyword = 122,
ConstructorKeyword = 123,
DeclareKeyword = 124,
GetKeyword = 125,
IsKeyword = 126,
KeyOfKeyword = 127,
ModuleKeyword = 128,
NamespaceKeyword = 129,
NeverKeyword = 130,
ReadonlyKeyword = 131,
RequireKeyword = 132,
NumberKeyword = 133,
ObjectKeyword = 134,
SetKeyword = 135,
StringKeyword = 136,
SymbolKeyword = 137,
TypeKeyword = 138,
UndefinedKeyword = 139,
FromKeyword = 140,
GlobalKeyword = 141,
OfKeyword = 142,
QualifiedName = 143,
ComputedPropertyName = 144,
TypeParameter = 145,
Parameter = 146,
Decorator = 147,
PropertySignature = 148,
PropertyDeclaration = 149,
MethodSignature = 150,
MethodDeclaration = 151,
Constructor = 152,
GetAccessor = 153,
SetAccessor = 154,
CallSignature = 155,
ConstructSignature = 156,
IndexSignature = 157,
TypePredicate = 158,
TypeReference = 159,
FunctionType = 160,
ConstructorType = 161,
TypeQuery = 162,
TypeLiteral = 163,
ArrayType = 164,
TupleType = 165,
UnionType = 166,
IntersectionType = 167,
ParenthesizedType = 168,
ThisType = 169,
TypeOperator = 170,
IndexedAccessType = 171,
MappedType = 172,
LiteralType = 173,
ObjectBindingPattern = 174,
ArrayBindingPattern = 175,
BindingElement = 176,
ArrayLiteralExpression = 177,
ObjectLiteralExpression = 178,
PropertyAccessExpression = 179,
ElementAccessExpression = 180,
CallExpression = 181,
NewExpression = 182,
TaggedTemplateExpression = 183,
TypeAssertionExpression = 184,
ParenthesizedExpression = 185,
FunctionExpression = 186,
ArrowFunction = 187,
DeleteExpression = 188,
TypeOfExpression = 189,
VoidExpression = 190,
AwaitExpression = 191,
PrefixUnaryExpression = 192,
PostfixUnaryExpression = 193,
BinaryExpression = 194,
ConditionalExpression = 195,
TemplateExpression = 196,
YieldExpression = 197,
SpreadElement = 198,
ClassExpression = 199,
OmittedExpression = 200,
ExpressionWithTypeArguments = 201,
AsExpression = 202,
NonNullExpression = 203,
MetaProperty = 204,
TemplateSpan = 205,
SemicolonClassElement = 206,
Block = 207,
VariableStatement = 208,
EmptyStatement = 209,
ExpressionStatement = 210,
IfStatement = 211,
DoStatement = 212,
WhileStatement = 213,
ForStatement = 214,
ForInStatement = 215,
ForOfStatement = 216,
ContinueStatement = 217,
BreakStatement = 218,
ReturnStatement = 219,
WithStatement = 220,
SwitchStatement = 221,
LabeledStatement = 222,
ThrowStatement = 223,
TryStatement = 224,
DebuggerStatement = 225,
VariableDeclaration = 226,
VariableDeclarationList = 227,
FunctionDeclaration = 228,
ClassDeclaration = 229,
InterfaceDeclaration = 230,
TypeAliasDeclaration = 231,
EnumDeclaration = 232,
ModuleDeclaration = 233,
ModuleBlock = 234,
CaseBlock = 235,
NamespaceExportDeclaration = 236,
ImportEqualsDeclaration = 237,
ImportDeclaration = 238,
ImportClause = 239,
NamespaceImport = 240,
NamedImports = 241,
ImportSpecifier = 242,
ExportAssignment = 243,
ExportDeclaration = 244,
NamedExports = 245,
ExportSpecifier = 246,
MissingDeclaration = 247,
ExternalModuleReference = 248,
JsxElement = 249,
JsxSelfClosingElement = 250,
JsxOpeningElement = 251,
JsxClosingElement = 252,
JsxAttribute = 253,
JsxAttributes = 254,
JsxSpreadAttribute = 255,
JsxExpression = 256,
CaseClause = 257,
DefaultClause = 258,
HeritageClause = 259,
CatchClause = 260,
PropertyAssignment = 261,
ShorthandPropertyAssignment = 262,
SpreadAssignment = 263,
EnumMember = 264,
SourceFile = 265,
Bundle = 266,
JSDocTypeExpression = 267,
JSDocAllType = 268,
JSDocUnknownType = 269,
JSDocArrayType = 270,
JSDocUnionType = 271,
JSDocTupleType = 272,
JSDocNullableType = 273,
JSDocNonNullableType = 274,
JSDocRecordType = 275,
JSDocRecordMember = 276,
JSDocTypeReference = 277,
JSDocOptionalType = 278,
JSDocFunctionType = 279,
JSDocVariadicType = 280,
JSDocConstructorType = 281,
JSDocThisType = 282,
JSDocComment = 283,
JSDocTag = 284,
JSDocAugmentsTag = 285,
JSDocParameterTag = 286,
JSDocReturnTag = 287,
JSDocTypeTag = 288,
JSDocTemplateTag = 289,
JSDocTypedefTag = 290,
JSDocPropertyTag = 291,
JSDocTypeLiteral = 292,
JSDocLiteralType = 293,
SyntaxList = 294,
NotEmittedStatement = 295,
PartiallyEmittedExpression = 296,
MergeDeclarationMarker = 297,
EndOfDeclarationMarker = 298,
Count = 299,
FirstAssignment = 58,
LastAssignment = 70,
FirstCompoundAssignment = 59,
LastCompoundAssignment = 70,
FirstReservedWord = 72,
LastReservedWord = 107,
FirstKeyword = 72,
LastKeyword = 142,
FirstFutureReservedWord = 108,
LastFutureReservedWord = 116,
FirstTypeNode = 158,
LastTypeNode = 173,
FirstPunctuation = 17,
LastPunctuation = 70,
FirstToken = 0,
LastToken = 141,
LastToken = 142,
FirstTriviaToken = 2,
LastTriviaToken = 7,
FirstLiteralToken = 8,
LastLiteralToken = 12,
FirstTemplateToken = 12,
LastTemplateToken = 15,
FirstBinaryOperator = 26,
LastBinaryOperator = 69,
FirstNode = 142,
FirstJSDocNode = 266,
LastJSDocNode = 292,
FirstJSDocTagNode = 282,
LastJSDocTagNode = 292,
LastLiteralToken = 13,
FirstTemplateToken = 13,
LastTemplateToken = 16,
FirstBinaryOperator = 27,
LastBinaryOperator = 70,
FirstNode = 143,
FirstJSDocNode = 267,
LastJSDocNode = 293,
FirstJSDocTagNode = 283,
LastJSDocTagNode = 293,
}
enum NodeFlags {
None = 0,
@@ -1065,6 +1066,7 @@ declare namespace ts {
}
interface JsxText extends Node {
kind: SyntaxKind.JsxText;
containsOnlyWhiteSpaces: boolean;
parent?: JsxElement;
}
type JsxChild = JsxText | JsxExpression | JsxElement | JsxSelfClosingElement;
@@ -2603,7 +2605,7 @@ declare namespace ts {
function tokenToString(t: SyntaxKind): string;
function getPositionOfLineAndCharacter(sourceFile: SourceFile, line: number, character: number): number;
function getLineAndCharacterOfPosition(sourceFile: SourceFile, position: number): LineAndCharacter;
function isWhiteSpace(ch: number): boolean;
function isWhiteSpaceLike(ch: number): boolean;
/** Does not include line breaks. For that, see isWhiteSpaceLike. */
function isWhiteSpaceSingleLine(ch: number): boolean;
function isLineBreak(ch: number): boolean;
+7594 -7494
View File
File diff suppressed because it is too large Load Diff
+228 -220
View File
@@ -2960,6 +2960,7 @@ var ts;
Generic_type_0_requires_between_1_and_2_type_arguments: { code: 2707, category: ts.DiagnosticCategory.Error, key: "Generic_type_0_requires_between_1_and_2_type_arguments_2707", message: "Generic type '{0}' requires between {1} and {2} type arguments." },
Cannot_use_namespace_0_as_a_value: { code: 2708, category: ts.DiagnosticCategory.Error, key: "Cannot_use_namespace_0_as_a_value_2708", message: "Cannot use namespace '{0}' as a value." },
Cannot_use_namespace_0_as_a_type: { code: 2709, category: ts.DiagnosticCategory.Error, key: "Cannot_use_namespace_0_as_a_type_2709", message: "Cannot use namespace '{0}' as a type." },
_0_are_specified_twice_The_attribute_named_0_will_be_overwritten: { code: 2710, category: ts.DiagnosticCategory.Error, key: "_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710", message: "'{0}' are specified twice. The attribute named '{0}' will be overwritten." },
Import_declaration_0_is_using_private_name_1: { code: 4000, category: ts.DiagnosticCategory.Error, key: "Import_declaration_0_is_using_private_name_1_4000", message: "Import declaration '{0}' is using private name '{1}'." },
Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: { code: 4002, category: ts.DiagnosticCategory.Error, key: "Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002", message: "Type parameter '{0}' of exported class has or is using private name '{1}'." },
Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: { code: 4004, category: ts.DiagnosticCategory.Error, key: "Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004", message: "Type parameter '{0}' of exported interface has or is using private name '{1}'." },
@@ -3318,135 +3319,135 @@ var ts;
var ts;
(function (ts) {
function tokenIsIdentifierOrKeyword(token) {
return token >= 70;
return token >= 71;
}
ts.tokenIsIdentifierOrKeyword = tokenIsIdentifierOrKeyword;
var textToToken = ts.createMapFromTemplate({
"abstract": 116,
"any": 118,
"as": 117,
"boolean": 121,
"break": 71,
"case": 72,
"catch": 73,
"class": 74,
"continue": 76,
"const": 75,
"constructor": 122,
"debugger": 77,
"declare": 123,
"default": 78,
"delete": 79,
"do": 80,
"else": 81,
"enum": 82,
"export": 83,
"extends": 84,
"false": 85,
"finally": 86,
"for": 87,
"from": 139,
"function": 88,
"get": 124,
"if": 89,
"implements": 107,
"import": 90,
"in": 91,
"instanceof": 92,
"interface": 108,
"is": 125,
"keyof": 126,
"let": 109,
"module": 127,
"namespace": 128,
"never": 129,
"new": 93,
"null": 94,
"number": 132,
"object": 133,
"package": 110,
"private": 111,
"protected": 112,
"public": 113,
"readonly": 130,
"require": 131,
"global": 140,
"return": 95,
"set": 134,
"static": 114,
"string": 135,
"super": 96,
"switch": 97,
"symbol": 136,
"this": 98,
"throw": 99,
"true": 100,
"try": 101,
"type": 137,
"typeof": 102,
"undefined": 138,
"var": 103,
"void": 104,
"while": 105,
"with": 106,
"yield": 115,
"async": 119,
"await": 120,
"of": 141,
"{": 16,
"}": 17,
"(": 18,
")": 19,
"[": 20,
"]": 21,
".": 22,
"...": 23,
";": 24,
",": 25,
"<": 26,
">": 28,
"<=": 29,
">=": 30,
"==": 31,
"!=": 32,
"===": 33,
"!==": 34,
"=>": 35,
"+": 36,
"-": 37,
"**": 39,
"*": 38,
"/": 40,
"%": 41,
"++": 42,
"--": 43,
"<<": 44,
"</": 27,
">>": 45,
">>>": 46,
"&": 47,
"|": 48,
"^": 49,
"!": 50,
"~": 51,
"&&": 52,
"||": 53,
"?": 54,
":": 55,
"=": 57,
"+=": 58,
"-=": 59,
"*=": 60,
"**=": 61,
"/=": 62,
"%=": 63,
"<<=": 64,
">>=": 65,
">>>=": 66,
"&=": 67,
"|=": 68,
"^=": 69,
"@": 56,
"abstract": 117,
"any": 119,
"as": 118,
"boolean": 122,
"break": 72,
"case": 73,
"catch": 74,
"class": 75,
"continue": 77,
"const": 76,
"constructor": 123,
"debugger": 78,
"declare": 124,
"default": 79,
"delete": 80,
"do": 81,
"else": 82,
"enum": 83,
"export": 84,
"extends": 85,
"false": 86,
"finally": 87,
"for": 88,
"from": 140,
"function": 89,
"get": 125,
"if": 90,
"implements": 108,
"import": 91,
"in": 92,
"instanceof": 93,
"interface": 109,
"is": 126,
"keyof": 127,
"let": 110,
"module": 128,
"namespace": 129,
"never": 130,
"new": 94,
"null": 95,
"number": 133,
"object": 134,
"package": 111,
"private": 112,
"protected": 113,
"public": 114,
"readonly": 131,
"require": 132,
"global": 141,
"return": 96,
"set": 135,
"static": 115,
"string": 136,
"super": 97,
"switch": 98,
"symbol": 137,
"this": 99,
"throw": 100,
"true": 101,
"try": 102,
"type": 138,
"typeof": 103,
"undefined": 139,
"var": 104,
"void": 105,
"while": 106,
"with": 107,
"yield": 116,
"async": 120,
"await": 121,
"of": 142,
"{": 17,
"}": 18,
"(": 19,
")": 20,
"[": 21,
"]": 22,
".": 23,
"...": 24,
";": 25,
",": 26,
"<": 27,
">": 29,
"<=": 30,
">=": 31,
"==": 32,
"!=": 33,
"===": 34,
"!==": 35,
"=>": 36,
"+": 37,
"-": 38,
"**": 40,
"*": 39,
"/": 41,
"%": 42,
"++": 43,
"--": 44,
"<<": 45,
"</": 28,
">>": 46,
">>>": 47,
"&": 48,
"|": 49,
"^": 50,
"!": 51,
"~": 52,
"&&": 53,
"||": 54,
"?": 55,
":": 56,
"=": 58,
"+=": 59,
"-=": 60,
"*=": 61,
"**=": 62,
"/=": 63,
"%=": 64,
"<<=": 65,
">>=": 66,
">>>=": 67,
"&=": 68,
"|=": 69,
"^=": 70,
"@": 57,
});
var unicodeES3IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1610, 1649, 1747, 1749, 1749, 1765, 1766, 1786, 1788, 1808, 1808, 1810, 1836, 1920, 1957, 2309, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2784, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3294, 3294, 3296, 3297, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3424, 3425, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3805, 3840, 3840, 3904, 3911, 3913, 3946, 3976, 3979, 4096, 4129, 4131, 4135, 4137, 4138, 4176, 4181, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6067, 6176, 6263, 6272, 6312, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8319, 8319, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12346, 12353, 12436, 12445, 12446, 12449, 12538, 12540, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65138, 65140, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500,];
var unicodeES3IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 768, 846, 864, 866, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1155, 1158, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1441, 1443, 1465, 1467, 1469, 1471, 1471, 1473, 1474, 1476, 1476, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1621, 1632, 1641, 1648, 1747, 1749, 1756, 1759, 1768, 1770, 1773, 1776, 1788, 1808, 1836, 1840, 1866, 1920, 1968, 2305, 2307, 2309, 2361, 2364, 2381, 2384, 2388, 2392, 2403, 2406, 2415, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2492, 2494, 2500, 2503, 2504, 2507, 2509, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2562, 2562, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2649, 2652, 2654, 2654, 2662, 2676, 2689, 2691, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2784, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2876, 2883, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2913, 2918, 2927, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3031, 3031, 3047, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3134, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3168, 3169, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3262, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3297, 3302, 3311, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3390, 3395, 3398, 3400, 3402, 3405, 3415, 3415, 3424, 3425, 3430, 3439, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3805, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3946, 3953, 3972, 3974, 3979, 3984, 3991, 3993, 4028, 4038, 4038, 4096, 4129, 4131, 4135, 4137, 4138, 4140, 4146, 4150, 4153, 4160, 4169, 4176, 4185, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 4969, 4977, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6099, 6112, 6121, 6160, 6169, 6176, 6263, 6272, 6313, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8255, 8256, 8319, 8319, 8400, 8412, 8417, 8417, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12346, 12353, 12436, 12441, 12442, 12445, 12446, 12449, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65056, 65059, 65075, 65076, 65101, 65103, 65136, 65138, 65140, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65381, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500,];
@@ -3558,10 +3559,10 @@ var ts;
return computeLineAndCharacterOfPosition(getLineStarts(sourceFile), position);
}
ts.getLineAndCharacterOfPosition = getLineAndCharacterOfPosition;
function isWhiteSpace(ch) {
function isWhiteSpaceLike(ch) {
return isWhiteSpaceSingleLine(ch) || isLineBreak(ch);
}
ts.isWhiteSpace = isWhiteSpace;
ts.isWhiteSpaceLike = isWhiteSpaceLike;
function isWhiteSpaceSingleLine(ch) {
return ch === 32 ||
ch === 9 ||
@@ -3677,7 +3678,7 @@ var ts;
}
break;
default:
if (ch > 127 && (isWhiteSpace(ch))) {
if (ch > 127 && (isWhiteSpaceLike(ch))) {
pos++;
continue;
}
@@ -3811,7 +3812,7 @@ var ts;
}
break scan;
default:
if (ch > 127 && (isWhiteSpace(ch))) {
if (ch > 127 && (isWhiteSpaceLike(ch))) {
if (hasPendingCommentRange && isLineBreak(ch)) {
pendingHasTrailingNewLine = true;
}
@@ -3909,8 +3910,8 @@ var ts;
getTokenValue: function () { return tokenValue; },
hasExtendedUnicodeEscape: function () { return hasExtendedUnicodeEscape; },
hasPrecedingLineBreak: function () { return precedingLineBreak; },
isIdentifier: function () { return token === 70 || token > 106; },
isReservedWord: function () { return token >= 71 && token <= 106; },
isIdentifier: function () { return token === 71 || token > 107; },
isReservedWord: function () { return token >= 72 && token <= 107; },
isUnterminated: function () { return tokenIsUnterminated; },
getNumericLiteralFlags: function () { return numericLiteralFlags; },
reScanGreaterToken: reScanGreaterToken,
@@ -4048,20 +4049,20 @@ var ts;
contents += text.substring(start, pos);
tokenIsUnterminated = true;
error(ts.Diagnostics.Unterminated_template_literal);
resultingToken = startedWithBacktick ? 12 : 15;
resultingToken = startedWithBacktick ? 13 : 16;
break;
}
var currChar = text.charCodeAt(pos);
if (currChar === 96) {
contents += text.substring(start, pos);
pos++;
resultingToken = startedWithBacktick ? 12 : 15;
resultingToken = startedWithBacktick ? 13 : 16;
break;
}
if (currChar === 36 && pos + 1 < end && text.charCodeAt(pos + 1) === 123) {
contents += text.substring(start, pos);
pos += 2;
resultingToken = startedWithBacktick ? 13 : 14;
resultingToken = startedWithBacktick ? 14 : 15;
break;
}
if (currChar === 92) {
@@ -4226,7 +4227,7 @@ var ts;
}
}
}
return token = 70;
return token = 71;
}
function scanBinaryOrOctalDigits(base) {
ts.Debug.assert(base === 2 || base === 8, "Expected either base 2 or base 8");
@@ -4302,12 +4303,12 @@ var ts;
case 33:
if (text.charCodeAt(pos + 1) === 61) {
if (text.charCodeAt(pos + 2) === 61) {
return pos += 3, token = 34;
return pos += 3, token = 35;
}
return pos += 2, token = 32;
return pos += 2, token = 33;
}
pos++;
return token = 50;
return token = 51;
case 34:
case 39:
tokenValue = scanString();
@@ -4316,51 +4317,39 @@ var ts;
return token = scanTemplateAndSetTokenValue();
case 37:
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 63;
return pos += 2, token = 64;
}
pos++;
return token = 41;
return token = 42;
case 38:
if (text.charCodeAt(pos + 1) === 38) {
return pos += 2, token = 52;
return pos += 2, token = 53;
}
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 67;
return pos += 2, token = 68;
}
pos++;
return token = 47;
return token = 48;
case 40:
pos++;
return token = 18;
return token = 19;
case 41:
pos++;
return token = 19;
return token = 20;
case 42:
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 60;
return pos += 2, token = 61;
}
if (text.charCodeAt(pos + 1) === 42) {
if (text.charCodeAt(pos + 2) === 61) {
return pos += 3, token = 61;
return pos += 3, token = 62;
}
return pos += 2, token = 39;
return pos += 2, token = 40;
}
pos++;
return token = 38;
return token = 39;
case 43:
if (text.charCodeAt(pos + 1) === 43) {
return pos += 2, token = 42;
}
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 58;
}
pos++;
return token = 36;
case 44:
pos++;
return token = 25;
case 45:
if (text.charCodeAt(pos + 1) === 45) {
return pos += 2, token = 43;
}
if (text.charCodeAt(pos + 1) === 61) {
@@ -4368,16 +4357,28 @@ var ts;
}
pos++;
return token = 37;
case 44:
pos++;
return token = 26;
case 45:
if (text.charCodeAt(pos + 1) === 45) {
return pos += 2, token = 44;
}
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 60;
}
pos++;
return token = 38;
case 46:
if (isDigit(text.charCodeAt(pos + 1))) {
tokenValue = scanNumber();
return token = 8;
}
if (text.charCodeAt(pos + 1) === 46 && text.charCodeAt(pos + 2) === 46) {
return pos += 3, token = 23;
return pos += 3, token = 24;
}
pos++;
return token = 22;
return token = 23;
case 47:
if (text.charCodeAt(pos + 1) === 47) {
pos += 2;
@@ -4421,10 +4422,10 @@ var ts;
}
}
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 62;
return pos += 2, token = 63;
}
pos++;
return token = 40;
return token = 41;
case 48:
if (pos + 2 < end && (text.charCodeAt(pos + 1) === 88 || text.charCodeAt(pos + 1) === 120)) {
pos += 2;
@@ -4477,10 +4478,10 @@ var ts;
return token = 8;
case 58:
pos++;
return token = 55;
return token = 56;
case 59:
pos++;
return token = 24;
return token = 25;
case 60:
if (isConflictMarkerTrivia(text, pos)) {
pos = scanConflictMarkerTrivia(text, pos, error);
@@ -4493,20 +4494,20 @@ var ts;
}
if (text.charCodeAt(pos + 1) === 60) {
if (text.charCodeAt(pos + 2) === 61) {
return pos += 3, token = 64;
return pos += 3, token = 65;
}
return pos += 2, token = 44;
return pos += 2, token = 45;
}
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 29;
return pos += 2, token = 30;
}
if (languageVariant === 1 &&
text.charCodeAt(pos + 1) === 47 &&
text.charCodeAt(pos + 2) !== 42) {
return pos += 2, token = 27;
return pos += 2, token = 28;
}
pos++;
return token = 26;
return token = 27;
case 61:
if (isConflictMarkerTrivia(text, pos)) {
pos = scanConflictMarkerTrivia(text, pos, error);
@@ -4519,15 +4520,15 @@ var ts;
}
if (text.charCodeAt(pos + 1) === 61) {
if (text.charCodeAt(pos + 2) === 61) {
return pos += 3, token = 33;
return pos += 3, token = 34;
}
return pos += 2, token = 31;
return pos += 2, token = 32;
}
if (text.charCodeAt(pos + 1) === 62) {
return pos += 2, token = 35;
return pos += 2, token = 36;
}
pos++;
return token = 57;
return token = 58;
case 62:
if (isConflictMarkerTrivia(text, pos)) {
pos = scanConflictMarkerTrivia(text, pos, error);
@@ -4539,43 +4540,43 @@ var ts;
}
}
pos++;
return token = 28;
return token = 29;
case 63:
pos++;
return token = 54;
return token = 55;
case 91:
pos++;
return token = 20;
return token = 21;
case 93:
pos++;
return token = 21;
return token = 22;
case 94:
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 70;
}
pos++;
return token = 50;
case 123:
pos++;
return token = 17;
case 124:
if (text.charCodeAt(pos + 1) === 124) {
return pos += 2, token = 54;
}
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 69;
}
pos++;
return token = 49;
case 123:
pos++;
return token = 16;
case 124:
if (text.charCodeAt(pos + 1) === 124) {
return pos += 2, token = 53;
}
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 68;
}
pos++;
return token = 48;
case 125:
pos++;
return token = 17;
return token = 18;
case 126:
pos++;
return token = 51;
return token = 52;
case 64:
pos++;
return token = 56;
return token = 57;
case 92:
var cookedChar = peekUnicodeEscape();
if (cookedChar >= 0 && isIdentifierStart(cookedChar, languageVersion)) {
@@ -4613,29 +4614,29 @@ var ts;
}
}
function reScanGreaterToken() {
if (token === 28) {
if (token === 29) {
if (text.charCodeAt(pos) === 62) {
if (text.charCodeAt(pos + 1) === 62) {
if (text.charCodeAt(pos + 2) === 61) {
return pos += 3, token = 66;
return pos += 3, token = 67;
}
return pos += 2, token = 46;
return pos += 2, token = 47;
}
if (text.charCodeAt(pos + 1) === 61) {
return pos += 2, token = 65;
return pos += 2, token = 66;
}
pos++;
return token = 45;
return token = 46;
}
if (text.charCodeAt(pos) === 61) {
pos++;
return token = 30;
return token = 31;
}
}
return token;
}
function reScanSlashToken() {
if (token === 40 || token === 62) {
if (token === 41 || token === 63) {
var p = tokenPos + 1;
var inEscape = false;
var inCharacterClass = false;
@@ -4674,12 +4675,12 @@ var ts;
}
pos = p;
tokenValue = text.substring(tokenPos, pos);
token = 11;
token = 12;
}
return token;
}
function reScanTemplateToken() {
ts.Debug.assert(token === 17, "'reScanTemplateToken' should only be called on a '}'");
ts.Debug.assert(token === 18, "'reScanTemplateToken' should only be called on a '}'");
pos = tokenPos;
return token = scanTemplateAndSetTokenValue();
}
@@ -4696,17 +4697,17 @@ var ts;
if (char === 60) {
if (text.charCodeAt(pos + 1) === 47) {
pos += 2;
return token = 27;
return token = 28;
}
pos++;
return token = 26;
return token = 27;
}
if (char === 123) {
pos++;
return token = 16;
return token = 17;
}
var firstNonWhitespace = 0;
while (pos < end) {
pos++;
char = text.charCodeAt(pos);
if (char === 123) {
break;
@@ -4718,8 +4719,15 @@ var ts;
}
break;
}
if (isLineBreak(char) && firstNonWhitespace === 0) {
firstNonWhitespace = -1;
}
else if (!isWhiteSpaceLike(char)) {
firstNonWhitespace = pos;
}
pos++;
}
return token = 10;
return firstNonWhitespace === -1 ? 11 : 10;
}
function scanJsxIdentifier() {
if (tokenIsIdentifierOrKeyword(token)) {
@@ -4766,42 +4774,42 @@ var ts;
return token = 5;
case 64:
pos++;
return token = 56;
return token = 57;
case 10:
case 13:
pos++;
return token = 4;
case 42:
pos++;
return token = 38;
return token = 39;
case 123:
pos++;
return token = 16;
return token = 17;
case 125:
pos++;
return token = 17;
return token = 18;
case 91:
pos++;
return token = 20;
return token = 21;
case 93:
pos++;
return token = 21;
return token = 22;
case 61:
pos++;
return token = 57;
return token = 58;
case 44:
pos++;
return token = 25;
return token = 26;
case 46:
pos++;
return token = 22;
return token = 23;
}
if (isIdentifierStart(ch, 5)) {
pos++;
while (isIdentifierPart(text.charCodeAt(pos), 5) && pos < end) {
pos++;
}
return token = 70;
return token = 71;
}
else {
return pos += 1, token = 0;