@@ -333,123 +333,124 @@ declare namespace ts {
333
333
NonNullExpression = 226,
334
334
MetaProperty = 227,
335
335
SyntheticExpression = 228,
336
- TemplateSpan = 229,
337
- SemicolonClassElement = 230,
338
- Block = 231,
339
- EmptyStatement = 232,
340
- VariableStatement = 233,
341
- ExpressionStatement = 234,
342
- IfStatement = 235,
343
- DoStatement = 236,
344
- WhileStatement = 237,
345
- ForStatement = 238,
346
- ForInStatement = 239,
347
- ForOfStatement = 240,
348
- ContinueStatement = 241,
349
- BreakStatement = 242,
350
- ReturnStatement = 243,
351
- WithStatement = 244,
352
- SwitchStatement = 245,
353
- LabeledStatement = 246,
354
- ThrowStatement = 247,
355
- TryStatement = 248,
356
- DebuggerStatement = 249,
357
- VariableDeclaration = 250,
358
- VariableDeclarationList = 251,
359
- FunctionDeclaration = 252,
360
- ClassDeclaration = 253,
361
- InterfaceDeclaration = 254,
362
- TypeAliasDeclaration = 255,
363
- EnumDeclaration = 256,
364
- ModuleDeclaration = 257,
365
- ModuleBlock = 258,
366
- CaseBlock = 259,
367
- NamespaceExportDeclaration = 260,
368
- ImportEqualsDeclaration = 261,
369
- ImportDeclaration = 262,
370
- ImportClause = 263,
371
- NamespaceImport = 264,
372
- NamedImports = 265,
373
- ImportSpecifier = 266,
374
- ExportAssignment = 267,
375
- ExportDeclaration = 268,
376
- NamedExports = 269,
377
- NamespaceExport = 270,
378
- ExportSpecifier = 271,
379
- MissingDeclaration = 272,
380
- ExternalModuleReference = 273,
381
- JsxElement = 274,
382
- JsxSelfClosingElement = 275,
383
- JsxOpeningElement = 276,
384
- JsxClosingElement = 277,
385
- JsxFragment = 278,
386
- JsxOpeningFragment = 279,
387
- JsxClosingFragment = 280,
388
- JsxAttribute = 281,
389
- JsxAttributes = 282,
390
- JsxSpreadAttribute = 283,
391
- JsxExpression = 284,
392
- CaseClause = 285,
393
- DefaultClause = 286,
394
- HeritageClause = 287,
395
- CatchClause = 288,
396
- PropertyAssignment = 289,
397
- ShorthandPropertyAssignment = 290,
398
- SpreadAssignment = 291,
399
- EnumMember = 292,
400
- UnparsedPrologue = 293,
401
- UnparsedPrepend = 294,
402
- UnparsedText = 295,
403
- UnparsedInternalText = 296,
404
- UnparsedSyntheticReference = 297,
405
- SourceFile = 298,
406
- Bundle = 299,
407
- UnparsedSource = 300,
408
- InputFiles = 301,
409
- JSDocTypeExpression = 302,
410
- JSDocNameReference = 303,
411
- JSDocAllType = 304,
412
- JSDocUnknownType = 305,
413
- JSDocNullableType = 306,
414
- JSDocNonNullableType = 307,
415
- JSDocOptionalType = 308,
416
- JSDocFunctionType = 309,
417
- JSDocVariadicType = 310,
418
- JSDocNamepathType = 311,
419
- JSDocComment = 312,
420
- JSDocText = 313,
421
- JSDocTypeLiteral = 314,
422
- JSDocSignature = 315,
423
- JSDocLink = 316,
424
- JSDocTag = 317,
425
- JSDocAugmentsTag = 318,
426
- JSDocImplementsTag = 319,
427
- JSDocAuthorTag = 320,
428
- JSDocDeprecatedTag = 321,
429
- JSDocClassTag = 322,
430
- JSDocPublicTag = 323,
431
- JSDocPrivateTag = 324,
432
- JSDocProtectedTag = 325,
433
- JSDocReadonlyTag = 326,
434
- JSDocOverrideTag = 327,
435
- JSDocCallbackTag = 328,
436
- JSDocEnumTag = 329,
437
- JSDocParameterTag = 330,
438
- JSDocReturnTag = 331,
439
- JSDocThisTag = 332,
440
- JSDocTypeTag = 333,
441
- JSDocTemplateTag = 334,
442
- JSDocTypedefTag = 335,
443
- JSDocSeeTag = 336,
444
- JSDocPropertyTag = 337,
445
- SyntaxList = 338,
446
- NotEmittedStatement = 339,
447
- PartiallyEmittedExpression = 340,
448
- CommaListExpression = 341,
449
- MergeDeclarationMarker = 342,
450
- EndOfDeclarationMarker = 343,
451
- SyntheticReferenceExpression = 344,
452
- Count = 345,
336
+ PrivateIdentifierInInExpression = 229,
337
+ TemplateSpan = 230,
338
+ SemicolonClassElement = 231,
339
+ Block = 232,
340
+ EmptyStatement = 233,
341
+ VariableStatement = 234,
342
+ ExpressionStatement = 235,
343
+ IfStatement = 236,
344
+ DoStatement = 237,
345
+ WhileStatement = 238,
346
+ ForStatement = 239,
347
+ ForInStatement = 240,
348
+ ForOfStatement = 241,
349
+ ContinueStatement = 242,
350
+ BreakStatement = 243,
351
+ ReturnStatement = 244,
352
+ WithStatement = 245,
353
+ SwitchStatement = 246,
354
+ LabeledStatement = 247,
355
+ ThrowStatement = 248,
356
+ TryStatement = 249,
357
+ DebuggerStatement = 250,
358
+ VariableDeclaration = 251,
359
+ VariableDeclarationList = 252,
360
+ FunctionDeclaration = 253,
361
+ ClassDeclaration = 254,
362
+ InterfaceDeclaration = 255,
363
+ TypeAliasDeclaration = 256,
364
+ EnumDeclaration = 257,
365
+ ModuleDeclaration = 258,
366
+ ModuleBlock = 259,
367
+ CaseBlock = 260,
368
+ NamespaceExportDeclaration = 261,
369
+ ImportEqualsDeclaration = 262,
370
+ ImportDeclaration = 263,
371
+ ImportClause = 264,
372
+ NamespaceImport = 265,
373
+ NamedImports = 266,
374
+ ImportSpecifier = 267,
375
+ ExportAssignment = 268,
376
+ ExportDeclaration = 269,
377
+ NamedExports = 270,
378
+ NamespaceExport = 271,
379
+ ExportSpecifier = 272,
380
+ MissingDeclaration = 273,
381
+ ExternalModuleReference = 274,
382
+ JsxElement = 275,
383
+ JsxSelfClosingElement = 276,
384
+ JsxOpeningElement = 277,
385
+ JsxClosingElement = 278,
386
+ JsxFragment = 279,
387
+ JsxOpeningFragment = 280,
388
+ JsxClosingFragment = 281,
389
+ JsxAttribute = 282,
390
+ JsxAttributes = 283,
391
+ JsxSpreadAttribute = 284,
392
+ JsxExpression = 285,
393
+ CaseClause = 286,
394
+ DefaultClause = 287,
395
+ HeritageClause = 288,
396
+ CatchClause = 289,
397
+ PropertyAssignment = 290,
398
+ ShorthandPropertyAssignment = 291,
399
+ SpreadAssignment = 292,
400
+ EnumMember = 293,
401
+ UnparsedPrologue = 294,
402
+ UnparsedPrepend = 295,
403
+ UnparsedText = 296,
404
+ UnparsedInternalText = 297,
405
+ UnparsedSyntheticReference = 298,
406
+ SourceFile = 299,
407
+ Bundle = 300,
408
+ UnparsedSource = 301,
409
+ InputFiles = 302,
410
+ JSDocTypeExpression = 303,
411
+ JSDocNameReference = 304,
412
+ JSDocAllType = 305,
413
+ JSDocUnknownType = 306,
414
+ JSDocNullableType = 307,
415
+ JSDocNonNullableType = 308,
416
+ JSDocOptionalType = 309,
417
+ JSDocFunctionType = 310,
418
+ JSDocVariadicType = 311,
419
+ JSDocNamepathType = 312,
420
+ JSDocComment = 313,
421
+ JSDocText = 314,
422
+ JSDocTypeLiteral = 315,
423
+ JSDocSignature = 316,
424
+ JSDocLink = 317,
425
+ JSDocTag = 318,
426
+ JSDocAugmentsTag = 319,
427
+ JSDocImplementsTag = 320,
428
+ JSDocAuthorTag = 321,
429
+ JSDocDeprecatedTag = 322,
430
+ JSDocClassTag = 323,
431
+ JSDocPublicTag = 324,
432
+ JSDocPrivateTag = 325,
433
+ JSDocProtectedTag = 326,
434
+ JSDocReadonlyTag = 327,
435
+ JSDocOverrideTag = 328,
436
+ JSDocCallbackTag = 329,
437
+ JSDocEnumTag = 330,
438
+ JSDocParameterTag = 331,
439
+ JSDocReturnTag = 332,
440
+ JSDocThisTag = 333,
441
+ JSDocTypeTag = 334,
442
+ JSDocTemplateTag = 335,
443
+ JSDocTypedefTag = 336,
444
+ JSDocSeeTag = 337,
445
+ JSDocPropertyTag = 338,
446
+ SyntaxList = 339,
447
+ NotEmittedStatement = 340,
448
+ PartiallyEmittedExpression = 341,
449
+ CommaListExpression = 342,
450
+ MergeDeclarationMarker = 343,
451
+ EndOfDeclarationMarker = 344,
452
+ SyntheticReferenceExpression = 345,
453
+ Count = 346,
453
454
FirstAssignment = 62,
454
455
LastAssignment = 77,
455
456
FirstCompoundAssignment = 63,
@@ -474,13 +475,13 @@ declare namespace ts {
474
475
LastTemplateToken = 17,
475
476
FirstBinaryOperator = 29,
476
477
LastBinaryOperator = 77,
477
- FirstStatement = 233 ,
478
- LastStatement = 249 ,
478
+ FirstStatement = 234 ,
479
+ LastStatement = 250 ,
479
480
FirstNode = 158,
480
- FirstJSDocNode = 302 ,
481
- LastJSDocNode = 337 ,
482
- FirstJSDocTagNode = 317 ,
483
- LastJSDocTagNode = 337 ,
481
+ FirstJSDocNode = 303 ,
482
+ LastJSDocNode = 338 ,
483
+ FirstJSDocTagNode = 318 ,
484
+ LastJSDocTagNode = 338 ,
484
485
}
485
486
export type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
486
487
export type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
@@ -592,6 +593,7 @@ declare namespace ts {
592
593
}
593
594
export type AssertsKeyword = KeywordToken<SyntaxKind.AssertsKeyword>;
594
595
export type AwaitKeyword = KeywordToken<SyntaxKind.AwaitKeyword>;
596
+ export type InKeyword = KeywordToken<SyntaxKind.InKeyword>;
595
597
/** @deprecated Use `AwaitKeyword` instead. */
596
598
export type AwaitKeywordToken = AwaitKeyword;
597
599
/** @deprecated Use `AssertsKeyword` instead. */
@@ -1251,6 +1253,12 @@ declare namespace ts {
1251
1253
readonly expression: SuperExpression;
1252
1254
}
1253
1255
export type SuperProperty = SuperPropertyAccessExpression | SuperElementAccessExpression;
1256
+ export interface PrivateIdentifierInInExpression extends Expression {
1257
+ readonly kind: SyntaxKind.PrivateIdentifierInInExpression;
1258
+ readonly name: PrivateIdentifier;
1259
+ readonly inToken: Token<SyntaxKind.InKeyword>;
1260
+ readonly expression: Expression;
1261
+ }
1254
1262
export interface CallExpression extends LeftHandSideExpression, Declaration {
1255
1263
readonly kind: SyntaxKind.CallExpression;
1256
1264
readonly expression: LeftHandSideExpression;
@@ -3394,6 +3402,8 @@ declare namespace ts {
3394
3402
updateNonNullChain(node: NonNullChain, expression: Expression): NonNullChain;
3395
3403
createMetaProperty(keywordToken: MetaProperty["keywordToken"], name: Identifier): MetaProperty;
3396
3404
updateMetaProperty(node: MetaProperty, name: Identifier): MetaProperty;
3405
+ createPrivateIdentifierInInExpression(name: PrivateIdentifier, inToken: Token<SyntaxKind.InKeyword>, expression: Expression): PrivateIdentifierInInExpression;
3406
+ updatePrivateIdentifierInInExpression(node: PrivateIdentifierInInExpression, name: PrivateIdentifier, inToken: Token<SyntaxKind.InKeyword>, expression: Expression): PrivateIdentifierInInExpression;
3397
3407
createTemplateSpan(expression: Expression, literal: TemplateMiddle | TemplateTail): TemplateSpan;
3398
3408
updateTemplateSpan(node: TemplateSpan, expression: Expression, literal: TemplateMiddle | TemplateTail): TemplateSpan;
3399
3409
createSemicolonClassElement(): SemicolonClassElement;
@@ -4484,6 +4494,7 @@ declare namespace ts {
4484
4494
function isSyntheticExpression(node: Node): node is SyntheticExpression;
4485
4495
function isPartiallyEmittedExpression(node: Node): node is PartiallyEmittedExpression;
4486
4496
function isCommaListExpression(node: Node): node is CommaListExpression;
4497
+ function isPrivateIdentifierInInExpression(node: Node): node is PrivateIdentifierInInExpression;
4487
4498
function isTemplateSpan(node: Node): node is TemplateSpan;
4488
4499
function isSemicolonClassElement(node: Node): node is SemicolonClassElement;
4489
4500
function isBlock(node: Node): node is Block;
0 commit comments