arkanalyzer 1.0.82 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Scene.d.ts.map +1 -1
- package/lib/Scene.js +2 -1
- package/lib/callgraph/algorithm/AbstractAnalysis.d.ts +1 -0
- package/lib/callgraph/algorithm/AbstractAnalysis.d.ts.map +1 -1
- package/lib/callgraph/algorithm/AbstractAnalysis.js +8 -0
- package/lib/callgraph/algorithm/ClassHierarchyAnalysis.d.ts.map +1 -1
- package/lib/callgraph/algorithm/ClassHierarchyAnalysis.js +20 -16
- package/lib/callgraph/model/CallGraph.d.ts.map +1 -1
- package/lib/callgraph/model/CallGraph.js +5 -2
- package/lib/core/common/ArkIRTransformer.d.ts.map +1 -1
- package/lib/core/common/ArkIRTransformer.js +3 -7
- package/lib/core/common/ArkValueTransformer.d.ts +4 -2
- package/lib/core/common/ArkValueTransformer.d.ts.map +1 -1
- package/lib/core/common/ArkValueTransformer.js +49 -7
- package/lib/core/common/Const.d.ts +10 -0
- package/lib/core/common/Const.d.ts.map +1 -1
- package/lib/core/common/Const.js +12 -1
- package/lib/core/common/DummyMainCreater.d.ts +32 -2
- package/lib/core/common/DummyMainCreater.d.ts.map +1 -1
- package/lib/core/common/DummyMainCreater.js +235 -97
- package/lib/core/common/EtsConst.d.ts +2 -0
- package/lib/core/common/EtsConst.d.ts.map +1 -1
- package/lib/core/common/EtsConst.js +3 -1
- package/lib/core/common/ModelUtils.d.ts +1 -0
- package/lib/core/common/ModelUtils.d.ts.map +1 -1
- package/lib/core/common/ModelUtils.js +2 -0
- package/lib/core/common/SdkUtils.d.ts +2 -0
- package/lib/core/common/SdkUtils.d.ts.map +1 -1
- package/lib/core/common/SdkUtils.js +13 -1
- package/lib/core/graph/BasicBlock.d.ts +1 -1
- package/lib/core/graph/BasicBlock.d.ts.map +1 -1
- package/lib/core/graph/BasicBlock.js +4 -1
- package/lib/core/graph/builder/CfgBuilder.d.ts +1 -0
- package/lib/core/graph/builder/CfgBuilder.d.ts.map +1 -1
- package/lib/core/graph/builder/CfgBuilder.js +5 -1
- package/lib/core/graph/builder/ConditionBuilder.d.ts +1 -0
- package/lib/core/graph/builder/ConditionBuilder.d.ts.map +1 -1
- package/lib/core/graph/builder/ConditionBuilder.js +40 -24
- package/lib/core/inference/ModelInference.d.ts.map +1 -1
- package/lib/core/inference/ModelInference.js +9 -3
- package/lib/core/inference/arkts/ArkTsInference.d.ts.map +1 -1
- package/lib/core/inference/arkts/ArkTsInference.js +2 -1
- package/lib/core/model/builder/ArkMethodBuilder.d.ts.map +1 -1
- package/lib/core/model/builder/ArkMethodBuilder.js +3 -2
- package/lib/save/source/SourceStmt.d.ts +2 -0
- package/lib/save/source/SourceStmt.d.ts.map +1 -1
- package/lib/save/source/SourceStmt.js +51 -8
- package/lib/utils/entryMethodUtils.d.ts.map +1 -1
- package/lib/utils/entryMethodUtils.js +20 -11
- package/node_modules/ohos-typescript/lib/tsc.js +5724 -5655
- package/node_modules/ohos-typescript/lib/tsserver.js +7957 -7935
- package/node_modules/ohos-typescript/lib/tsserverlibrary.d.ts +250 -230
- package/node_modules/ohos-typescript/lib/tsserverlibrary.js +7933 -7911
- package/node_modules/ohos-typescript/lib/typesMap.json +496 -496
- package/node_modules/ohos-typescript/lib/typescript.d.ts +250 -230
- package/node_modules/ohos-typescript/lib/typescript.js +7834 -7813
- package/node_modules/ohos-typescript/lib/typingsInstaller.js +2579 -2378
- package/node_modules/ohos-typescript/package.json +1 -1
- package/package.json +2 -2
|
@@ -4313,209 +4313,212 @@ declare namespace ts {
|
|
|
4313
4313
|
GlobalKeyword = 161,
|
|
4314
4314
|
BigIntKeyword = 162,
|
|
4315
4315
|
OverrideKeyword = 163,
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4316
|
+
OverloadKeyword = 164,
|
|
4317
|
+
OfKeyword = 165,
|
|
4318
|
+
QualifiedName = 166,
|
|
4319
|
+
ComputedPropertyName = 167,
|
|
4320
|
+
TypeParameter = 168,
|
|
4321
|
+
Parameter = 169,
|
|
4322
|
+
Decorator = 170,
|
|
4323
|
+
PropertySignature = 171,
|
|
4324
|
+
PropertyDeclaration = 172,
|
|
4325
|
+
AnnotationPropertyDeclaration = 173,
|
|
4326
|
+
OverloadPropertyDeclaration = 174,
|
|
4327
|
+
MethodSignature = 175,
|
|
4328
|
+
MethodDeclaration = 176,
|
|
4329
|
+
ClassStaticBlockDeclaration = 177,
|
|
4330
|
+
Constructor = 178,
|
|
4331
|
+
GetAccessor = 179,
|
|
4332
|
+
SetAccessor = 180,
|
|
4333
|
+
CallSignature = 181,
|
|
4334
|
+
ConstructSignature = 182,
|
|
4335
|
+
IndexSignature = 183,
|
|
4336
|
+
TypePredicate = 184,
|
|
4337
|
+
TypeReference = 185,
|
|
4338
|
+
FunctionType = 186,
|
|
4339
|
+
ConstructorType = 187,
|
|
4340
|
+
TypeQuery = 188,
|
|
4341
|
+
TypeLiteral = 189,
|
|
4342
|
+
ArrayType = 190,
|
|
4343
|
+
TupleType = 191,
|
|
4344
|
+
OptionalType = 192,
|
|
4345
|
+
RestType = 193,
|
|
4346
|
+
UnionType = 194,
|
|
4347
|
+
IntersectionType = 195,
|
|
4348
|
+
ConditionalType = 196,
|
|
4349
|
+
InferType = 197,
|
|
4350
|
+
ParenthesizedType = 198,
|
|
4351
|
+
ThisType = 199,
|
|
4352
|
+
TypeOperator = 200,
|
|
4353
|
+
IndexedAccessType = 201,
|
|
4354
|
+
MappedType = 202,
|
|
4355
|
+
LiteralType = 203,
|
|
4356
|
+
NamedTupleMember = 204,
|
|
4357
|
+
TemplateLiteralType = 205,
|
|
4358
|
+
TemplateLiteralTypeSpan = 206,
|
|
4359
|
+
ImportType = 207,
|
|
4360
|
+
ObjectBindingPattern = 208,
|
|
4361
|
+
ArrayBindingPattern = 209,
|
|
4362
|
+
BindingElement = 210,
|
|
4363
|
+
ArrayLiteralExpression = 211,
|
|
4364
|
+
ObjectLiteralExpression = 212,
|
|
4365
|
+
PropertyAccessExpression = 213,
|
|
4366
|
+
ElementAccessExpression = 214,
|
|
4367
|
+
CallExpression = 215,
|
|
4368
|
+
NewExpression = 216,
|
|
4369
|
+
TaggedTemplateExpression = 217,
|
|
4370
|
+
TypeAssertionExpression = 218,
|
|
4371
|
+
ParenthesizedExpression = 219,
|
|
4372
|
+
FunctionExpression = 220,
|
|
4373
|
+
ArrowFunction = 221,
|
|
4374
|
+
EtsComponentExpression = 222,
|
|
4375
|
+
DeleteExpression = 223,
|
|
4376
|
+
TypeOfExpression = 224,
|
|
4377
|
+
VoidExpression = 225,
|
|
4378
|
+
AwaitExpression = 226,
|
|
4379
|
+
PrefixUnaryExpression = 227,
|
|
4380
|
+
PostfixUnaryExpression = 228,
|
|
4381
|
+
BinaryExpression = 229,
|
|
4382
|
+
ConditionalExpression = 230,
|
|
4383
|
+
TemplateExpression = 231,
|
|
4384
|
+
YieldExpression = 232,
|
|
4385
|
+
SpreadElement = 233,
|
|
4386
|
+
ClassExpression = 234,
|
|
4387
|
+
OmittedExpression = 235,
|
|
4388
|
+
ExpressionWithTypeArguments = 236,
|
|
4389
|
+
AsExpression = 237,
|
|
4390
|
+
NonNullExpression = 238,
|
|
4391
|
+
MetaProperty = 239,
|
|
4392
|
+
SyntheticExpression = 240,
|
|
4393
|
+
SatisfiesExpression = 241,
|
|
4394
|
+
TemplateSpan = 242,
|
|
4395
|
+
SemicolonClassElement = 243,
|
|
4396
|
+
Block = 244,
|
|
4397
|
+
EmptyStatement = 245,
|
|
4398
|
+
VariableStatement = 246,
|
|
4399
|
+
ExpressionStatement = 247,
|
|
4400
|
+
IfStatement = 248,
|
|
4401
|
+
DoStatement = 249,
|
|
4402
|
+
WhileStatement = 250,
|
|
4403
|
+
ForStatement = 251,
|
|
4404
|
+
ForInStatement = 252,
|
|
4405
|
+
ForOfStatement = 253,
|
|
4406
|
+
ContinueStatement = 254,
|
|
4407
|
+
BreakStatement = 255,
|
|
4408
|
+
ReturnStatement = 256,
|
|
4409
|
+
WithStatement = 257,
|
|
4410
|
+
SwitchStatement = 258,
|
|
4411
|
+
LabeledStatement = 259,
|
|
4412
|
+
ThrowStatement = 260,
|
|
4413
|
+
TryStatement = 261,
|
|
4414
|
+
DebuggerStatement = 262,
|
|
4415
|
+
VariableDeclaration = 263,
|
|
4416
|
+
VariableDeclarationList = 264,
|
|
4417
|
+
FunctionDeclaration = 265,
|
|
4418
|
+
ClassDeclaration = 266,
|
|
4419
|
+
StructDeclaration = 267,
|
|
4420
|
+
AnnotationDeclaration = 268,
|
|
4421
|
+
OverloadDeclaration = 269,
|
|
4422
|
+
InterfaceDeclaration = 270,
|
|
4423
|
+
TypeAliasDeclaration = 271,
|
|
4424
|
+
EnumDeclaration = 272,
|
|
4425
|
+
ModuleDeclaration = 273,
|
|
4426
|
+
ModuleBlock = 274,
|
|
4427
|
+
CaseBlock = 275,
|
|
4428
|
+
NamespaceExportDeclaration = 276,
|
|
4429
|
+
ImportEqualsDeclaration = 277,
|
|
4430
|
+
ImportDeclaration = 278,
|
|
4431
|
+
ImportClause = 279,
|
|
4432
|
+
NamespaceImport = 280,
|
|
4433
|
+
NamedImports = 281,
|
|
4434
|
+
ImportSpecifier = 282,
|
|
4435
|
+
ExportAssignment = 283,
|
|
4436
|
+
ExportDeclaration = 284,
|
|
4437
|
+
NamedExports = 285,
|
|
4438
|
+
NamespaceExport = 286,
|
|
4439
|
+
ExportSpecifier = 287,
|
|
4440
|
+
MissingDeclaration = 288,
|
|
4441
|
+
ExternalModuleReference = 289,
|
|
4442
|
+
JsxElement = 290,
|
|
4443
|
+
JsxSelfClosingElement = 291,
|
|
4444
|
+
JsxOpeningElement = 292,
|
|
4445
|
+
JsxClosingElement = 293,
|
|
4446
|
+
JsxFragment = 294,
|
|
4447
|
+
JsxOpeningFragment = 295,
|
|
4448
|
+
JsxClosingFragment = 296,
|
|
4449
|
+
JsxAttribute = 297,
|
|
4450
|
+
JsxAttributes = 298,
|
|
4451
|
+
JsxSpreadAttribute = 299,
|
|
4452
|
+
JsxExpression = 300,
|
|
4453
|
+
CaseClause = 301,
|
|
4454
|
+
DefaultClause = 302,
|
|
4455
|
+
HeritageClause = 303,
|
|
4456
|
+
CatchClause = 304,
|
|
4457
|
+
AssertClause = 305,
|
|
4458
|
+
AssertEntry = 306,
|
|
4459
|
+
ImportTypeAssertionContainer = 307,
|
|
4460
|
+
PropertyAssignment = 308,
|
|
4461
|
+
ShorthandPropertyAssignment = 309,
|
|
4462
|
+
SpreadAssignment = 310,
|
|
4463
|
+
EnumMember = 311,
|
|
4464
|
+
UnparsedPrologue = 312,
|
|
4465
|
+
UnparsedPrepend = 313,
|
|
4466
|
+
UnparsedText = 314,
|
|
4467
|
+
UnparsedInternalText = 315,
|
|
4468
|
+
UnparsedSyntheticReference = 316,
|
|
4469
|
+
SourceFile = 317,
|
|
4470
|
+
Bundle = 318,
|
|
4471
|
+
UnparsedSource = 319,
|
|
4472
|
+
InputFiles = 320,
|
|
4473
|
+
JSDocTypeExpression = 321,
|
|
4474
|
+
JSDocNameReference = 322,
|
|
4475
|
+
JSDocMemberName = 323,
|
|
4476
|
+
JSDocAllType = 324,
|
|
4477
|
+
JSDocUnknownType = 325,
|
|
4478
|
+
JSDocNullableType = 326,
|
|
4479
|
+
JSDocNonNullableType = 327,
|
|
4480
|
+
JSDocOptionalType = 328,
|
|
4481
|
+
JSDocFunctionType = 329,
|
|
4482
|
+
JSDocVariadicType = 330,
|
|
4483
|
+
JSDocNamepathType = 331,
|
|
4484
|
+
JSDoc = 332,
|
|
4482
4485
|
/** @deprecated Use SyntaxKind.JSDoc */
|
|
4483
|
-
JSDocComment =
|
|
4484
|
-
JSDocText =
|
|
4485
|
-
JSDocTypeLiteral =
|
|
4486
|
-
JSDocSignature =
|
|
4487
|
-
JSDocLink =
|
|
4488
|
-
JSDocLinkCode =
|
|
4489
|
-
JSDocLinkPlain =
|
|
4490
|
-
JSDocTag =
|
|
4491
|
-
JSDocAugmentsTag =
|
|
4492
|
-
JSDocImplementsTag =
|
|
4493
|
-
JSDocAuthorTag =
|
|
4494
|
-
JSDocDeprecatedTag =
|
|
4495
|
-
JSDocClassTag =
|
|
4496
|
-
JSDocPublicTag =
|
|
4497
|
-
JSDocPrivateTag =
|
|
4498
|
-
JSDocProtectedTag =
|
|
4499
|
-
JSDocReadonlyTag =
|
|
4500
|
-
JSDocOverrideTag =
|
|
4501
|
-
JSDocCallbackTag =
|
|
4502
|
-
JSDocEnumTag =
|
|
4503
|
-
JSDocParameterTag =
|
|
4504
|
-
JSDocReturnTag =
|
|
4505
|
-
JSDocThisTag =
|
|
4506
|
-
JSDocTypeTag =
|
|
4507
|
-
JSDocTemplateTag =
|
|
4508
|
-
JSDocTypedefTag =
|
|
4509
|
-
JSDocSeeTag =
|
|
4510
|
-
JSDocPropertyTag =
|
|
4511
|
-
SyntaxList =
|
|
4512
|
-
NotEmittedStatement =
|
|
4513
|
-
PartiallyEmittedExpression =
|
|
4514
|
-
CommaListExpression =
|
|
4515
|
-
MergeDeclarationMarker =
|
|
4516
|
-
EndOfDeclarationMarker =
|
|
4517
|
-
SyntheticReferenceExpression =
|
|
4518
|
-
Count =
|
|
4486
|
+
JSDocComment = 332,
|
|
4487
|
+
JSDocText = 333,
|
|
4488
|
+
JSDocTypeLiteral = 334,
|
|
4489
|
+
JSDocSignature = 335,
|
|
4490
|
+
JSDocLink = 336,
|
|
4491
|
+
JSDocLinkCode = 337,
|
|
4492
|
+
JSDocLinkPlain = 338,
|
|
4493
|
+
JSDocTag = 339,
|
|
4494
|
+
JSDocAugmentsTag = 340,
|
|
4495
|
+
JSDocImplementsTag = 341,
|
|
4496
|
+
JSDocAuthorTag = 342,
|
|
4497
|
+
JSDocDeprecatedTag = 343,
|
|
4498
|
+
JSDocClassTag = 344,
|
|
4499
|
+
JSDocPublicTag = 345,
|
|
4500
|
+
JSDocPrivateTag = 346,
|
|
4501
|
+
JSDocProtectedTag = 347,
|
|
4502
|
+
JSDocReadonlyTag = 348,
|
|
4503
|
+
JSDocOverrideTag = 349,
|
|
4504
|
+
JSDocCallbackTag = 350,
|
|
4505
|
+
JSDocEnumTag = 351,
|
|
4506
|
+
JSDocParameterTag = 352,
|
|
4507
|
+
JSDocReturnTag = 353,
|
|
4508
|
+
JSDocThisTag = 354,
|
|
4509
|
+
JSDocTypeTag = 355,
|
|
4510
|
+
JSDocTemplateTag = 356,
|
|
4511
|
+
JSDocTypedefTag = 357,
|
|
4512
|
+
JSDocSeeTag = 358,
|
|
4513
|
+
JSDocPropertyTag = 359,
|
|
4514
|
+
SyntaxList = 360,
|
|
4515
|
+
NotEmittedStatement = 361,
|
|
4516
|
+
PartiallyEmittedExpression = 362,
|
|
4517
|
+
CommaListExpression = 363,
|
|
4518
|
+
MergeDeclarationMarker = 364,
|
|
4519
|
+
EndOfDeclarationMarker = 365,
|
|
4520
|
+
SyntheticReferenceExpression = 366,
|
|
4521
|
+
Count = 367,
|
|
4519
4522
|
FirstAssignment = 63,
|
|
4520
4523
|
LastAssignment = 78,
|
|
4521
4524
|
FirstCompoundAssignment = 64,
|
|
@@ -4523,15 +4526,15 @@ declare namespace ts {
|
|
|
4523
4526
|
FirstReservedWord = 81,
|
|
4524
4527
|
LastReservedWord = 117,
|
|
4525
4528
|
FirstKeyword = 81,
|
|
4526
|
-
LastKeyword =
|
|
4529
|
+
LastKeyword = 165,
|
|
4527
4530
|
FirstFutureReservedWord = 118,
|
|
4528
4531
|
LastFutureReservedWord = 126,
|
|
4529
|
-
FirstTypeNode =
|
|
4530
|
-
LastTypeNode =
|
|
4532
|
+
FirstTypeNode = 184,
|
|
4533
|
+
LastTypeNode = 207,
|
|
4531
4534
|
FirstPunctuation = 18,
|
|
4532
4535
|
LastPunctuation = 78,
|
|
4533
4536
|
FirstToken = 0,
|
|
4534
|
-
LastToken =
|
|
4537
|
+
LastToken = 165,
|
|
4535
4538
|
FirstTriviaToken = 2,
|
|
4536
4539
|
LastTriviaToken = 7,
|
|
4537
4540
|
FirstLiteralToken = 8,
|
|
@@ -4540,19 +4543,19 @@ declare namespace ts {
|
|
|
4540
4543
|
LastTemplateToken = 17,
|
|
4541
4544
|
FirstBinaryOperator = 29,
|
|
4542
4545
|
LastBinaryOperator = 78,
|
|
4543
|
-
FirstStatement =
|
|
4544
|
-
LastStatement =
|
|
4545
|
-
FirstNode =
|
|
4546
|
-
FirstJSDocNode =
|
|
4547
|
-
LastJSDocNode =
|
|
4548
|
-
FirstJSDocTagNode =
|
|
4549
|
-
LastJSDocTagNode =
|
|
4546
|
+
FirstStatement = 246,
|
|
4547
|
+
LastStatement = 262,
|
|
4548
|
+
FirstNode = 166,
|
|
4549
|
+
FirstJSDocNode = 321,
|
|
4550
|
+
LastJSDocNode = 359,
|
|
4551
|
+
FirstJSDocTagNode = 339,
|
|
4552
|
+
LastJSDocTagNode = 359
|
|
4550
4553
|
}
|
|
4551
4554
|
type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
|
|
4552
4555
|
type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
4553
4556
|
type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
|
|
4554
4557
|
type PunctuationSyntaxKind = SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.OpenParenToken | SyntaxKind.CloseParenToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.DotToken | SyntaxKind.DotDotDotToken | SyntaxKind.SemicolonToken | SyntaxKind.CommaToken | SyntaxKind.QuestionDotToken | SyntaxKind.LessThanToken | SyntaxKind.LessThanSlashToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.EqualsGreaterThanToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.ExclamationToken | SyntaxKind.TildeToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.BarBarToken | SyntaxKind.QuestionQuestionToken | SyntaxKind.QuestionToken | SyntaxKind.ColonToken | SyntaxKind.AtToken | SyntaxKind.BacktickToken | SyntaxKind.HashToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.CaretEqualsToken;
|
|
4555
|
-
type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.StructKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FromKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.GetKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SatisfiesKeyword | SyntaxKind.SetKeyword | SyntaxKind.StaticKeyword | SyntaxKind.StringKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeKeyword | SyntaxKind.LazyKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.YieldKeyword;
|
|
4558
|
+
type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.StructKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FromKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.GetKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.OverloadKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SatisfiesKeyword | SyntaxKind.SetKeyword | SyntaxKind.StaticKeyword | SyntaxKind.StringKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeKeyword | SyntaxKind.LazyKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.YieldKeyword;
|
|
4556
4559
|
type ModifierSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.ConstKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.ExportKeyword | SyntaxKind.InKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.StaticKeyword;
|
|
4557
4560
|
type KeywordTypeSyntaxKind = SyntaxKind.AnyKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.StringKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VoidKeyword;
|
|
4558
4561
|
type TokenSyntaxKind = SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | TriviaSyntaxKind | LiteralSyntaxKind | PseudoLiteralSyntaxKind | PunctuationSyntaxKind | SyntaxKind.Identifier | KeywordSyntaxKind;
|
|
@@ -4693,14 +4696,14 @@ declare namespace ts {
|
|
|
4693
4696
|
}
|
|
4694
4697
|
interface JSDocContainer {
|
|
4695
4698
|
}
|
|
4696
|
-
type HasJSDoc = ParameterDeclaration | CallSignatureDeclaration | ClassStaticBlockDeclaration | ConstructSignatureDeclaration | MethodSignature | PropertySignature | ArrowFunction | ParenthesizedExpression | SpreadAssignment | ShorthandPropertyAssignment | PropertyAssignment | FunctionExpression | EmptyStatement | DebuggerStatement | Block | VariableStatement | ExpressionStatement | IfStatement | DoStatement | WhileStatement | ForStatement | ForInStatement | ForOfStatement | BreakStatement | ContinueStatement | ReturnStatement | WithStatement | SwitchStatement | LabeledStatement | ThrowStatement | TryStatement | FunctionDeclaration | ConstructorDeclaration | MethodDeclaration | VariableDeclaration | PropertyDeclaration | AnnotationPropertyDeclaration | AnnotationDeclaration | AccessorDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | EnumMember | EnumDeclaration | ModuleDeclaration | ImportEqualsDeclaration | ImportDeclaration | NamespaceExportDeclaration | ExportAssignment | IndexSignatureDeclaration | FunctionTypeNode | ConstructorTypeNode | JSDocFunctionType | ExportDeclaration | NamedTupleMember | ExportSpecifier | CaseClause | EndOfFileToken;
|
|
4697
|
-
type HasType = SignatureDeclaration | VariableDeclaration | ParameterDeclaration | PropertySignature | PropertyDeclaration | AnnotationPropertyDeclaration | TypePredicateNode | ParenthesizedTypeNode | TypeOperatorNode | MappedTypeNode | AssertionExpression | TypeAliasDeclaration | JSDocTypeExpression | JSDocNonNullableType | JSDocNullableType | JSDocOptionalType | JSDocVariadicType;
|
|
4699
|
+
type HasJSDoc = ParameterDeclaration | CallSignatureDeclaration | ClassStaticBlockDeclaration | ConstructSignatureDeclaration | MethodSignature | PropertySignature | ArrowFunction | ParenthesizedExpression | SpreadAssignment | ShorthandPropertyAssignment | PropertyAssignment | FunctionExpression | EmptyStatement | DebuggerStatement | Block | VariableStatement | ExpressionStatement | IfStatement | DoStatement | WhileStatement | ForStatement | ForInStatement | ForOfStatement | BreakStatement | ContinueStatement | ReturnStatement | WithStatement | SwitchStatement | LabeledStatement | ThrowStatement | TryStatement | FunctionDeclaration | ConstructorDeclaration | MethodDeclaration | VariableDeclaration | PropertyDeclaration | AnnotationPropertyDeclaration | OverloadPropertyDeclaration | AnnotationDeclaration | OverloadDeclaration | AccessorDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | EnumMember | EnumDeclaration | ModuleDeclaration | ImportEqualsDeclaration | ImportDeclaration | NamespaceExportDeclaration | ExportAssignment | IndexSignatureDeclaration | FunctionTypeNode | ConstructorTypeNode | JSDocFunctionType | ExportDeclaration | NamedTupleMember | ExportSpecifier | CaseClause | EndOfFileToken;
|
|
4700
|
+
type HasType = SignatureDeclaration | VariableDeclaration | ParameterDeclaration | PropertySignature | PropertyDeclaration | AnnotationPropertyDeclaration | OverloadPropertyDeclaration | TypePredicateNode | ParenthesizedTypeNode | TypeOperatorNode | MappedTypeNode | AssertionExpression | TypeAliasDeclaration | JSDocTypeExpression | JSDocNonNullableType | JSDocNullableType | JSDocOptionalType | JSDocVariadicType;
|
|
4698
4701
|
type HasTypeArguments = CallExpression | NewExpression | TaggedTemplateExpression | JsxOpeningElement | JsxSelfClosingElement;
|
|
4699
4702
|
type HasInitializer = HasExpressionInitializer | ForStatement | ForInStatement | ForOfStatement | JsxAttribute;
|
|
4700
4703
|
type HasExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDeclaration | AnnotationPropertyDeclaration | PropertyAssignment | EnumMember;
|
|
4701
4704
|
type HasDecorators = ParameterDeclaration | PropertyDeclaration | MethodDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | ClassExpression | ClassDeclaration | StructDeclaration | FunctionDeclaration;
|
|
4702
4705
|
type HasIllegalDecorators = PropertyAssignment | ShorthandPropertyAssignment | FunctionDeclaration | ConstructorDeclaration | IndexSignatureDeclaration | ClassStaticBlockDeclaration | MissingDeclaration | VariableStatement | InterfaceDeclaration | TypeAliasDeclaration | EnumDeclaration | ModuleDeclaration | ImportEqualsDeclaration | ImportDeclaration | NamespaceExportDeclaration | ExportDeclaration | ExportAssignment;
|
|
4703
|
-
type HasModifiers = TypeParameterDeclaration | ParameterDeclaration | ConstructorTypeNode | PropertySignature | PropertyDeclaration | MethodSignature | MethodDeclaration | ConstructorDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | IndexSignatureDeclaration | FunctionExpression | ArrowFunction | ClassExpression | VariableStatement | FunctionDeclaration | ClassDeclaration | StructDeclaration | AnnotationDeclaration | InterfaceDeclaration | TypeAliasDeclaration | EnumDeclaration | ModuleDeclaration | ImportEqualsDeclaration | ImportDeclaration | ExportAssignment | ExportDeclaration;
|
|
4706
|
+
type HasModifiers = TypeParameterDeclaration | ParameterDeclaration | ConstructorTypeNode | PropertySignature | PropertyDeclaration | MethodSignature | MethodDeclaration | ConstructorDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | IndexSignatureDeclaration | FunctionExpression | ArrowFunction | ClassExpression | VariableStatement | FunctionDeclaration | ClassDeclaration | StructDeclaration | AnnotationDeclaration | OverloadDeclaration | InterfaceDeclaration | TypeAliasDeclaration | EnumDeclaration | ModuleDeclaration | ImportEqualsDeclaration | ImportDeclaration | ExportAssignment | ExportDeclaration | OverloadPropertyDeclaration;
|
|
4704
4707
|
interface NodeArray<T extends Node> extends ReadonlyArray<T>, ReadonlyTextRange {
|
|
4705
4708
|
readonly hasTrailingComma: boolean;
|
|
4706
4709
|
}
|
|
@@ -4941,7 +4944,7 @@ declare namespace ts {
|
|
|
4941
4944
|
readonly parent: ObjectLiteralExpression;
|
|
4942
4945
|
readonly expression: Expression;
|
|
4943
4946
|
}
|
|
4944
|
-
type VariableLikeDeclaration = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDeclaration | AnnotationPropertyDeclaration | PropertyAssignment | PropertySignature | JsxAttribute | ShorthandPropertyAssignment | EnumMember | JSDocPropertyTag | JSDocParameterTag;
|
|
4947
|
+
type VariableLikeDeclaration = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDeclaration | AnnotationPropertyDeclaration | OverloadPropertyDeclaration | PropertyAssignment | PropertySignature | JsxAttribute | ShorthandPropertyAssignment | EnumMember | JSDocPropertyTag | JSDocParameterTag;
|
|
4945
4948
|
interface PropertyLikeDeclaration extends NamedDeclaration {
|
|
4946
4949
|
readonly name: PropertyName;
|
|
4947
4950
|
}
|
|
@@ -4999,6 +5002,7 @@ declare namespace ts {
|
|
|
4999
5002
|
readonly parent: ClassLikeDeclaration;
|
|
5000
5003
|
readonly modifiers?: NodeArray<Modifier> | undefined;
|
|
5001
5004
|
readonly body?: FunctionBody | undefined;
|
|
5005
|
+
readonly name?: Identifier;
|
|
5002
5006
|
}
|
|
5003
5007
|
/** For when we encounter a semicolon in a class declaration. ES6 allows these as class elements. */
|
|
5004
5008
|
interface SemicolonClassElement extends ClassElement {
|
|
@@ -5733,7 +5737,7 @@ declare namespace ts {
|
|
|
5733
5737
|
type DeclarationWithTypeParameters = DeclarationWithTypeParameterChildren | JSDocTypedefTag | JSDocCallbackTag | JSDocSignature;
|
|
5734
5738
|
type DeclarationWithTypeParameterChildren = SignatureDeclaration | ClassLikeDeclaration | InterfaceDeclaration | TypeAliasDeclaration | JSDocTemplateTag;
|
|
5735
5739
|
interface ClassLikeDeclarationBase extends NamedDeclaration, JSDocContainer {
|
|
5736
|
-
readonly kind: SyntaxKind.ClassDeclaration | SyntaxKind.ClassExpression | SyntaxKind.StructDeclaration | SyntaxKind.AnnotationDeclaration;
|
|
5740
|
+
readonly kind: SyntaxKind.ClassDeclaration | SyntaxKind.ClassExpression | SyntaxKind.StructDeclaration | SyntaxKind.AnnotationDeclaration | SyntaxKind.OverloadDeclaration;
|
|
5737
5741
|
readonly name?: Identifier;
|
|
5738
5742
|
readonly typeParameters?: NodeArray<TypeParameterDeclaration>;
|
|
5739
5743
|
readonly heritageClauses?: NodeArray<HeritageClause>;
|
|
@@ -5757,6 +5761,12 @@ declare namespace ts {
|
|
|
5757
5761
|
readonly name: Identifier;
|
|
5758
5762
|
readonly members: NodeArray<AnnotationElement>;
|
|
5759
5763
|
}
|
|
5764
|
+
interface OverloadDeclaration extends DeclarationStatement, ClassElement, TypeElement {
|
|
5765
|
+
readonly kind: SyntaxKind.OverloadDeclaration;
|
|
5766
|
+
readonly modifiers?: NodeArray<ModifierLike>;
|
|
5767
|
+
readonly name: Identifier;
|
|
5768
|
+
readonly members: NodeArray<OverloadElement>;
|
|
5769
|
+
}
|
|
5760
5770
|
interface ClassExpression extends ClassLikeDeclarationBase, PrimaryExpression {
|
|
5761
5771
|
readonly kind: SyntaxKind.ClassExpression;
|
|
5762
5772
|
readonly modifiers?: NodeArray<ModifierLike>;
|
|
@@ -5770,6 +5780,16 @@ declare namespace ts {
|
|
|
5770
5780
|
_annnotationElementBrand: any;
|
|
5771
5781
|
readonly name: PropertyName;
|
|
5772
5782
|
}
|
|
5783
|
+
interface OverloadElement extends NamedDeclaration {
|
|
5784
|
+
readonly name: PropertyName;
|
|
5785
|
+
}
|
|
5786
|
+
interface OverloadPropertyDeclaration extends OverloadElement, JSDocContainer {
|
|
5787
|
+
readonly kind: SyntaxKind.OverloadPropertyDeclaration;
|
|
5788
|
+
readonly modifiers?: NodeArray<Modifier>;
|
|
5789
|
+
readonly name: PropertyName;
|
|
5790
|
+
readonly questionToken?: QuestionToken;
|
|
5791
|
+
readonly type?: TypeNode;
|
|
5792
|
+
}
|
|
5773
5793
|
interface TypeElement extends NamedDeclaration {
|
|
5774
5794
|
_typeElementBrand: any;
|
|
5775
5795
|
readonly name?: PropertyName;
|
|
@@ -6650,7 +6670,6 @@ declare namespace ts {
|
|
|
6650
6670
|
clearQualifiedNameCache?(): void;
|
|
6651
6671
|
isStaticRecord?(type: Type): boolean;
|
|
6652
6672
|
isStaticSourceFile?(sourceFile: SourceFile | undefined): boolean;
|
|
6653
|
-
createIntrinsicType?(kind: TypeFlags, intrinsicName: string, objectFlags?: ObjectFlags): Type;
|
|
6654
6673
|
}
|
|
6655
6674
|
enum NodeBuilderFlags {
|
|
6656
6675
|
None = 0,
|
|
@@ -7314,7 +7333,6 @@ declare namespace ts {
|
|
|
7314
7333
|
inlineSourceMap?: boolean;
|
|
7315
7334
|
inlineSources?: boolean;
|
|
7316
7335
|
isolatedModules?: boolean;
|
|
7317
|
-
isolatedDeclarations?: boolean;
|
|
7318
7336
|
jsx?: JsxEmit;
|
|
7319
7337
|
keyofStringsOnly?: boolean;
|
|
7320
7338
|
lib?: string[];
|
|
@@ -7897,12 +7915,14 @@ declare namespace ts {
|
|
|
7897
7915
|
updatePropertyDeclaration(node: PropertyDeclaration, modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
|
|
7898
7916
|
createAnnotationPropertyDeclaration(name: string | PropertyName, type: TypeNode | undefined, initializer: Expression | undefined): AnnotationPropertyDeclaration;
|
|
7899
7917
|
updateAnnotationPropertyDeclaration(node: AnnotationPropertyDeclaration, name: string | PropertyName, type: TypeNode | undefined, initializer: Expression | undefined): AnnotationPropertyDeclaration;
|
|
7918
|
+
createOverloadPropertyDeclaration(modifiers: readonly ModifierLike[] | undefined, name: PropertyName | string, questionToken: QuestionToken | undefined, type: TypeNode | undefined): OverloadPropertyDeclaration;
|
|
7919
|
+
updateOverloadPropertyDeclaration(node: OverloadPropertyDeclaration, modifiers: readonly ModifierLike[] | undefined, name: PropertyName, questionToken: QuestionToken | undefined, type: TypeNode | undefined): OverloadPropertyDeclaration;
|
|
7900
7920
|
createMethodSignature(modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined): MethodSignature;
|
|
7901
7921
|
updateMethodSignature(node: MethodSignature, modifiers: readonly Modifier[] | undefined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): MethodSignature;
|
|
7902
7922
|
createMethodDeclaration(modifiers: readonly ModifierLike[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): MethodDeclaration;
|
|
7903
7923
|
updateMethodDeclaration(node: MethodDeclaration, modifiers: readonly ModifierLike[] | undefined, asteriskToken: AsteriskToken | undefined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): MethodDeclaration;
|
|
7904
|
-
createConstructorDeclaration(modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
|
|
7905
|
-
updateConstructorDeclaration(node: ConstructorDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
|
|
7924
|
+
createConstructorDeclaration(modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined, name: Identifier | undefined): ConstructorDeclaration;
|
|
7925
|
+
updateConstructorDeclaration(node: ConstructorDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined, name: Identifier | undefined): ConstructorDeclaration;
|
|
7906
7926
|
createGetAccessorDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
|
|
7907
7927
|
updateGetAccessorDeclaration(node: GetAccessorDeclaration, modifiers: readonly ModifierLike[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
|
|
7908
7928
|
createSetAccessorDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
|
|
@@ -8096,6 +8116,8 @@ declare namespace ts {
|
|
|
8096
8116
|
updateStructDeclaration(node: StructDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): StructDeclaration;
|
|
8097
8117
|
createAnnotationDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier | undefined, members: readonly AnnotationElement[]): AnnotationDeclaration;
|
|
8098
8118
|
updateAnnotationDeclaration(node: AnnotationDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier | undefined, members: readonly AnnotationElement[]): AnnotationDeclaration;
|
|
8119
|
+
createOverloadDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier | undefined, members: readonly OverloadElement[]): OverloadDeclaration;
|
|
8120
|
+
updateOverloadDeclaration(node: OverloadDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier | undefined, members: readonly OverloadElement[]): OverloadDeclaration;
|
|
8099
8121
|
createInterfaceDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
|
|
8100
8122
|
updateInterfaceDeclaration(node: InterfaceDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
|
|
8101
8123
|
createTypeAliasDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
|
|
@@ -8352,11 +8374,11 @@ declare namespace ts {
|
|
|
8352
8374
|
/**
|
|
8353
8375
|
* @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
|
|
8354
8376
|
*/
|
|
8355
|
-
createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
|
|
8377
|
+
createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined, name: Identifier | undefined): ConstructorDeclaration;
|
|
8356
8378
|
/**
|
|
8357
8379
|
* @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
|
|
8358
8380
|
*/
|
|
8359
|
-
updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
|
|
8381
|
+
updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined, name: Identifier | undefined): ConstructorDeclaration;
|
|
8360
8382
|
/**
|
|
8361
8383
|
* @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
|
|
8362
8384
|
*/
|
|
@@ -9276,6 +9298,7 @@ declare namespace ts {
|
|
|
9276
9298
|
function isBindingName(node: Node): node is BindingName;
|
|
9277
9299
|
function isFunctionLike(node: Node | undefined): node is SignatureDeclaration;
|
|
9278
9300
|
function isAnnotationElement(node: Node): node is AnnotationElement;
|
|
9301
|
+
function isOverloadElement(node: Node): node is OverloadElement;
|
|
9279
9302
|
function isClassElement(node: Node): node is ClassElement;
|
|
9280
9303
|
function isClassLike(node: Node): node is ClassLikeDeclaration;
|
|
9281
9304
|
function isStruct(node: Node): node is StructDeclaration;
|
|
@@ -9446,6 +9469,7 @@ declare namespace ts {
|
|
|
9446
9469
|
function isDecorator(node: Node): node is Decorator;
|
|
9447
9470
|
function isAnnotation(node: Node): node is Annotation;
|
|
9448
9471
|
function isPropertySignature(node: Node): node is PropertySignature;
|
|
9472
|
+
function isOverloadPropertyDeclaration(node: Node): node is OverloadPropertyDeclaration;
|
|
9449
9473
|
function isPropertyDeclaration(node: Node): node is PropertyDeclaration;
|
|
9450
9474
|
function isAnnotationPropertyDeclaration(node: Node): node is AnnotationPropertyDeclaration;
|
|
9451
9475
|
function isMethodSignature(node: Node): node is MethodSignature;
|
|
@@ -9544,6 +9568,7 @@ declare namespace ts {
|
|
|
9544
9568
|
function isClassDeclaration(node: Node): node is ClassDeclaration;
|
|
9545
9569
|
function isStructDeclaration(node: Node): node is StructDeclaration;
|
|
9546
9570
|
function isAnnotationDeclaration(node: Node): node is AnnotationDeclaration;
|
|
9571
|
+
function isOverloadDeclaration(node: Node): node is OverloadDeclaration;
|
|
9547
9572
|
function isInterfaceDeclaration(node: Node): node is InterfaceDeclaration;
|
|
9548
9573
|
function isTypeAliasDeclaration(node: Node): node is TypeAliasDeclaration;
|
|
9549
9574
|
function isEnumDeclaration(node: Node): node is EnumDeclaration;
|
|
@@ -9852,7 +9877,6 @@ declare namespace ts {
|
|
|
9852
9877
|
function transformTypeExportImportAndConstEnumInTypeScript(context: TransformationContext): (node: SourceFile) => SourceFile;
|
|
9853
9878
|
function hasTsNoCheckOrTsIgnoreFlag(node: SourceFile): boolean;
|
|
9854
9879
|
function createObfTextSingleLineWriter(): EmitTextWriter;
|
|
9855
|
-
function isMixedCompilerSDKPath(compilerOptions: CompilerOptions): boolean;
|
|
9856
9880
|
function cleanKitJsonCache(): void;
|
|
9857
9881
|
function getMaxFlowDepth(compilerOptions: CompilerOptions): number;
|
|
9858
9882
|
function getErrorCode(diagnostic: Diagnostic): ErrorInfo;
|
|
@@ -13074,7 +13098,6 @@ declare namespace ts {
|
|
|
13074
13098
|
function setTypeChecker(tsTypeChecker: TypeChecker): void;
|
|
13075
13099
|
function clearTypeChecker(): void;
|
|
13076
13100
|
function setTestMode(tsTestMode: boolean): void;
|
|
13077
|
-
function setMixCompile(isMixCompile: boolean): void;
|
|
13078
13101
|
function getStartPos(nodeOrComment: Node | CommentRange): number;
|
|
13079
13102
|
function getEndPos(nodeOrComment: Node | CommentRange): number;
|
|
13080
13103
|
function getHighlightRange(nodeOrComment: Node | CommentRange, faultId: number): [
|
|
@@ -13311,8 +13334,6 @@ declare namespace ts {
|
|
|
13311
13334
|
function hasConcurrentDecoratorFunctionOverload(decl: FunctionDeclaration): boolean;
|
|
13312
13335
|
function hasUseConcurrentDirective(decl: FunctionDeclaration): boolean;
|
|
13313
13336
|
function isDeclarationSymbol(sym: Symbol | undefined): boolean;
|
|
13314
|
-
function checkTaskpoolFunction(arg: Expression, argType: Type, argSym: Symbol | undefined): boolean;
|
|
13315
|
-
function getTypeAtLocationForLinter(node: Node): Type;
|
|
13316
13337
|
const PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE = 2564;
|
|
13317
13338
|
const NON_INITIALIZABLE_PROPERTY_DECORATORS: string[];
|
|
13318
13339
|
const NON_INITIALIZABLE_PROPERTY_CLASS_DECORATORS: string[];
|
|
@@ -13336,7 +13357,6 @@ declare namespace ts {
|
|
|
13336
13357
|
const TASKPOOL = "taskpool";
|
|
13337
13358
|
const TASKGROUP = "TaskGroup";
|
|
13338
13359
|
const TASKPOOL_API: string[];
|
|
13339
|
-
const TASK_LIST: string[];
|
|
13340
13360
|
const CONCURRENT_DECORATOR = "Concurrent";
|
|
13341
13361
|
const USE_CONCURRENT = "use concurrent";
|
|
13342
13362
|
type CheckType = ((t: Type) => boolean);
|