ast-types 0.15.2 → 0.16.1

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.
Files changed (109) hide show
  1. package/{def → lib/def}/babel-core.d.ts +0 -0
  2. package/{def → lib/def}/babel-core.js +31 -12
  3. package/lib/def/babel-core.js.map +1 -0
  4. package/{def → lib/def}/babel.d.ts +0 -0
  5. package/{def → lib/def}/babel.js +7 -5
  6. package/lib/def/babel.js.map +1 -0
  7. package/{def → lib/def}/core.d.ts +0 -0
  8. package/{def → lib/def}/core.js +7 -5
  9. package/lib/def/core.js.map +1 -0
  10. package/{def → lib/def}/es-proposals.d.ts +0 -0
  11. package/{def → lib/def}/es-proposals.js +7 -5
  12. package/lib/def/es-proposals.js.map +1 -0
  13. package/{def → lib/def}/es2016.d.ts +0 -0
  14. package/{def → lib/def}/es2016.js +7 -4
  15. package/lib/def/es2016.js.map +1 -0
  16. package/{def → lib/def}/es2017.d.ts +0 -0
  17. package/{def → lib/def}/es2017.js +7 -5
  18. package/lib/def/es2017.js.map +1 -0
  19. package/{def → lib/def}/es2018.d.ts +0 -0
  20. package/{def → lib/def}/es2018.js +7 -5
  21. package/lib/def/es2018.js.map +1 -0
  22. package/{def → lib/def}/es2019.d.ts +0 -0
  23. package/{def → lib/def}/es2019.js +7 -5
  24. package/lib/def/es2019.js.map +1 -0
  25. package/{def → lib/def}/es2020.d.ts +0 -0
  26. package/{def → lib/def}/es2020.js +10 -7
  27. package/lib/def/es2020.js.map +1 -0
  28. package/{def → lib/def}/es2021.d.ts +0 -0
  29. package/{def → lib/def}/es2021.js +6 -4
  30. package/lib/def/es2021.js.map +1 -0
  31. package/{def → lib/def}/es2022.d.ts +0 -0
  32. package/{def → lib/def}/es2022.js +6 -4
  33. package/lib/def/es2022.js.map +1 -0
  34. package/{def → lib/def}/es6.d.ts +0 -0
  35. package/{def → lib/def}/es6.js +8 -6
  36. package/lib/def/es6.js.map +1 -0
  37. package/{def → lib/def}/esprima.d.ts +0 -0
  38. package/{def → lib/def}/esprima.js +7 -5
  39. package/lib/def/esprima.js.map +1 -0
  40. package/{def → lib/def}/flow.d.ts +0 -0
  41. package/{def → lib/def}/flow.js +8 -6
  42. package/lib/def/flow.js.map +1 -0
  43. package/{def → lib/def}/jsx.d.ts +0 -0
  44. package/{def → lib/def}/jsx.js +7 -5
  45. package/lib/def/jsx.js.map +1 -0
  46. package/{def → lib/def}/operators/core.d.ts +0 -0
  47. package/{def → lib/def}/operators/core.js +4 -2
  48. package/lib/def/operators/core.js.map +1 -0
  49. package/{def → lib/def}/operators/es2016.d.ts +0 -0
  50. package/{def → lib/def}/operators/es2016.js +5 -3
  51. package/lib/def/operators/es2016.js.map +1 -0
  52. package/{def → lib/def}/operators/es2020.d.ts +0 -0
  53. package/{def → lib/def}/operators/es2020.js +5 -3
  54. package/lib/def/operators/es2020.js.map +1 -0
  55. package/{def → lib/def}/operators/es2021.d.ts +0 -0
  56. package/{def → lib/def}/operators/es2021.js +5 -3
  57. package/lib/def/operators/es2021.js.map +1 -0
  58. package/{def → lib/def}/type-annotations.d.ts +0 -0
  59. package/{def → lib/def}/type-annotations.js +6 -4
  60. package/lib/def/type-annotations.js.map +1 -0
  61. package/{def → lib/def}/typescript.d.ts +0 -0
  62. package/{def → lib/def}/typescript.js +27 -9
  63. package/lib/def/typescript.js.map +1 -0
  64. package/lib/equiv.d.ts +1 -1
  65. package/lib/equiv.js +6 -3
  66. package/lib/equiv.js.map +1 -0
  67. package/{fork.d.ts → lib/fork.d.ts} +18 -18
  68. package/{fork.js → lib/fork.js} +10 -7
  69. package/lib/fork.js.map +1 -0
  70. package/{gen → lib/gen}/builders.d.ts +85 -29
  71. package/{gen → lib/gen}/builders.js +1 -0
  72. package/lib/gen/builders.js.map +1 -0
  73. package/lib/gen/kinds.d.ts +293 -0
  74. package/{gen → lib/gen}/kinds.js +1 -0
  75. package/lib/gen/kinds.js.map +1 -0
  76. package/{gen → lib/gen}/namedTypes.d.ts +69 -28
  77. package/{gen → lib/gen}/namedTypes.js +1 -0
  78. package/lib/gen/namedTypes.js.map +1 -0
  79. package/{gen → lib/gen}/visitor.d.ts +8 -4
  80. package/{gen → lib/gen}/visitor.js +1 -0
  81. package/lib/gen/visitor.js.map +1 -0
  82. package/{main.d.ts → lib/main.d.ts} +4 -4
  83. package/{main.js → lib/main.js} +8 -7
  84. package/lib/main.js.map +1 -0
  85. package/lib/node-path.d.ts +1 -2
  86. package/lib/node-path.js +8 -5
  87. package/lib/node-path.js.map +1 -0
  88. package/lib/path-visitor.d.ts +2 -3
  89. package/lib/path-visitor.js +7 -4
  90. package/lib/path-visitor.js.map +1 -0
  91. package/lib/path.d.ts +1 -2
  92. package/lib/path.js +6 -3
  93. package/lib/path.js.map +1 -0
  94. package/lib/scope.d.ts +1 -1
  95. package/lib/scope.js +6 -3
  96. package/lib/scope.js.map +1 -0
  97. package/lib/shared.d.ts +9 -1
  98. package/lib/shared.js +47 -3
  99. package/lib/shared.js.map +1 -0
  100. package/lib/types.d.ts +12 -8
  101. package/lib/types.js +16 -9
  102. package/lib/types.js.map +1 -0
  103. package/package.json +24 -21
  104. package/.github/dependabot.yml +0 -9
  105. package/.github/workflows/main.yml +0 -29
  106. package/gen/kinds.d.ts +0 -289
  107. package/tsconfig.json +0 -21
  108. package/types.d.ts +0 -5
  109. package/types.js +0 -2
@@ -523,12 +523,12 @@ export interface PropertyPatternBuilder {
523
523
  }): namedTypes.PropertyPattern;
524
524
  }
525
525
  export interface ObjectPatternBuilder {
526
- (properties: (K.PropertyKind | K.PropertyPatternKind | K.SpreadPropertyPatternKind | K.SpreadPropertyKind | K.ObjectPropertyKind | K.RestPropertyKind)[]): namedTypes.ObjectPattern;
526
+ (properties: (K.PropertyKind | K.PropertyPatternKind | K.SpreadPropertyPatternKind | K.SpreadPropertyKind | K.ObjectPropertyKind | K.RestPropertyKind | K.RestElementKind)[]): namedTypes.ObjectPattern;
527
527
  from(params: {
528
528
  comments?: K.CommentKind[] | null;
529
529
  decorators?: K.DecoratorKind[] | null;
530
530
  loc?: K.SourceLocationKind | null;
531
- properties: (K.PropertyKind | K.PropertyPatternKind | K.SpreadPropertyPatternKind | K.SpreadPropertyKind | K.ObjectPropertyKind | K.RestPropertyKind)[];
531
+ properties: (K.PropertyKind | K.PropertyPatternKind | K.SpreadPropertyPatternKind | K.SpreadPropertyKind | K.ObjectPropertyKind | K.RestPropertyKind | K.RestElementKind)[];
532
532
  typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
533
533
  }): namedTypes.ObjectPattern;
534
534
  }
@@ -571,10 +571,10 @@ export interface MethodDefinitionBuilder {
571
571
  }): namedTypes.MethodDefinition;
572
572
  }
573
573
  export interface ClassPropertyDefinitionBuilder {
574
- (definition: K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind): namedTypes.ClassPropertyDefinition;
574
+ (definition: K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.StaticBlockKind): namedTypes.ClassPropertyDefinition;
575
575
  from(params: {
576
576
  comments?: K.CommentKind[] | null;
577
- definition: K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind;
577
+ definition: K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.StaticBlockKind;
578
578
  loc?: K.SourceLocationKind | null;
579
579
  }): namedTypes.ClassPropertyDefinition;
580
580
  }
@@ -592,10 +592,18 @@ export interface ClassPropertyBuilder {
592
592
  variance?: K.VarianceKind | "plus" | "minus" | null;
593
593
  }): namedTypes.ClassProperty;
594
594
  }
595
+ export interface StaticBlockBuilder {
596
+ (body: K.StatementKind[]): namedTypes.StaticBlock;
597
+ from(params: {
598
+ body: K.StatementKind[];
599
+ comments?: K.CommentKind[] | null;
600
+ loc?: K.SourceLocationKind | null;
601
+ }): namedTypes.StaticBlock;
602
+ }
595
603
  export interface ClassBodyBuilder {
596
- (body: (K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.ClassPrivatePropertyKind | K.ClassMethodKind | K.ClassPrivateMethodKind | K.TSDeclareMethodKind | K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[]): namedTypes.ClassBody;
604
+ (body: (K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.ClassPrivatePropertyKind | K.ClassAccessorPropertyKind | K.ClassMethodKind | K.ClassPrivateMethodKind | K.StaticBlockKind | K.TSDeclareMethodKind | K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[]): namedTypes.ClassBody;
597
605
  from(params: {
598
- body: (K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.ClassPrivatePropertyKind | K.ClassMethodKind | K.ClassPrivateMethodKind | K.TSDeclareMethodKind | K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[];
606
+ body: (K.MethodDefinitionKind | K.VariableDeclaratorKind | K.ClassPropertyDefinitionKind | K.ClassPropertyKind | K.ClassPrivatePropertyKind | K.ClassAccessorPropertyKind | K.ClassMethodKind | K.ClassPrivateMethodKind | K.StaticBlockKind | K.TSDeclareMethodKind | K.TSCallSignatureDeclarationKind | K.TSConstructSignatureDeclarationKind | K.TSIndexSignatureKind | K.TSMethodSignatureKind | K.TSPropertySignatureKind)[];
599
607
  comments?: K.CommentKind[] | null;
600
608
  loc?: K.SourceLocationKind | null;
601
609
  }): namedTypes.ClassBody;
@@ -706,11 +714,11 @@ export interface ExportDefaultDeclarationBuilder {
706
714
  }): namedTypes.ExportDefaultDeclaration;
707
715
  }
708
716
  export interface ExportAllDeclarationBuilder {
709
- (source: K.LiteralKind, exported: K.IdentifierKind | null): namedTypes.ExportAllDeclaration;
717
+ (source: K.LiteralKind, exported?: K.IdentifierKind | null | undefined): namedTypes.ExportAllDeclaration;
710
718
  from(params: {
711
719
  assertions?: K.ImportAttributeKind[];
712
720
  comments?: K.CommentKind[] | null;
713
- exported: K.IdentifierKind | null;
721
+ exported?: K.IdentifierKind | null | undefined;
714
722
  loc?: K.SourceLocationKind | null;
715
723
  source: K.LiteralKind;
716
724
  }): namedTypes.ExportAllDeclaration;
@@ -820,14 +828,6 @@ export interface OptionalMemberExpressionBuilder {
820
828
  property: K.IdentifierKind | K.ExpressionKind;
821
829
  }): namedTypes.OptionalMemberExpression;
822
830
  }
823
- export interface StaticBlockBuilder {
824
- (body: K.StatementKind[]): namedTypes.StaticBlock;
825
- from(params: {
826
- body: K.StatementKind[];
827
- comments?: K.CommentKind[] | null;
828
- loc?: K.SourceLocationKind | null;
829
- }): namedTypes.StaticBlock;
830
- }
831
831
  export interface DecoratorBuilder {
832
832
  (expression: K.ExpressionKind): namedTypes.Decorator;
833
833
  from(params: {
@@ -1884,9 +1884,9 @@ export interface RegExpLiteralBuilder {
1884
1884
  }): namedTypes.RegExpLiteral;
1885
1885
  }
1886
1886
  export interface ClassMethodBuilder {
1887
- (kind: "get" | "set" | "method" | "constructor" | undefined, key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, params: K.PatternKind[], body: K.BlockStatementKind, computed?: boolean, staticParam?: boolean | null): namedTypes.ClassMethod;
1887
+ (kind: "get" | "set" | "method" | "constructor" | undefined, key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, params: K.PatternKind[], body: K.BlockStatementKind, computed?: boolean, staticParam?: boolean): namedTypes.ClassMethod;
1888
1888
  from(params: {
1889
- abstract?: boolean | null;
1889
+ abstract?: boolean;
1890
1890
  access?: "public" | "private" | "protected" | null;
1891
1891
  accessibility?: "public" | "private" | "protected" | null;
1892
1892
  async?: boolean;
@@ -1895,25 +1895,28 @@ export interface ClassMethodBuilder {
1895
1895
  computed?: boolean;
1896
1896
  decorators?: K.DecoratorKind[] | null;
1897
1897
  defaults?: (K.ExpressionKind | null)[];
1898
+ definite?: boolean;
1898
1899
  expression?: boolean;
1899
1900
  generator?: boolean;
1900
1901
  id?: K.IdentifierKind | null;
1901
1902
  key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
1902
1903
  kind?: "get" | "set" | "method" | "constructor";
1903
1904
  loc?: K.SourceLocationKind | null;
1904
- optional?: boolean | null;
1905
+ optional?: boolean;
1906
+ override?: boolean;
1905
1907
  params: K.PatternKind[];
1906
1908
  predicate?: K.FlowPredicateKind | null;
1909
+ readonly?: boolean;
1907
1910
  rest?: K.IdentifierKind | null;
1908
1911
  returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
1909
- static?: boolean | null;
1912
+ static?: boolean;
1910
1913
  typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
1911
1914
  }): namedTypes.ClassMethod;
1912
1915
  }
1913
1916
  export interface ClassPrivateMethodBuilder {
1914
- (key: K.PrivateNameKind, params: K.PatternKind[], body: K.BlockStatementKind, kind?: "get" | "set" | "method" | "constructor", computed?: boolean, staticParam?: boolean | null): namedTypes.ClassPrivateMethod;
1917
+ (key: K.PrivateNameKind, params: K.PatternKind[], body: K.BlockStatementKind, kind?: "get" | "set" | "method" | "constructor", computed?: boolean, staticParam?: boolean): namedTypes.ClassPrivateMethod;
1915
1918
  from(params: {
1916
- abstract?: boolean | null;
1919
+ abstract?: boolean;
1917
1920
  access?: "public" | "private" | "protected" | null;
1918
1921
  accessibility?: "public" | "private" | "protected" | null;
1919
1922
  async?: boolean;
@@ -1922,21 +1925,43 @@ export interface ClassPrivateMethodBuilder {
1922
1925
  computed?: boolean;
1923
1926
  decorators?: K.DecoratorKind[] | null;
1924
1927
  defaults?: (K.ExpressionKind | null)[];
1928
+ definite?: boolean;
1925
1929
  expression?: boolean;
1926
1930
  generator?: boolean;
1927
1931
  id?: K.IdentifierKind | null;
1928
1932
  key: K.PrivateNameKind;
1929
1933
  kind?: "get" | "set" | "method" | "constructor";
1930
1934
  loc?: K.SourceLocationKind | null;
1931
- optional?: boolean | null;
1935
+ optional?: boolean;
1936
+ override?: boolean;
1932
1937
  params: K.PatternKind[];
1933
1938
  predicate?: K.FlowPredicateKind | null;
1939
+ readonly?: boolean;
1934
1940
  rest?: K.IdentifierKind | null;
1935
1941
  returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
1936
- static?: boolean | null;
1942
+ static?: boolean;
1937
1943
  typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
1938
1944
  }): namedTypes.ClassPrivateMethod;
1939
1945
  }
1946
+ export interface ClassAccessorPropertyBuilder {
1947
+ (key: K.LiteralKind | K.IdentifierKind | K.PrivateNameKind | K.ExpressionKind, value?: K.ExpressionKind | null, decorators?: K.DecoratorKind[] | null, computed?: boolean, staticParam?: boolean): namedTypes.ClassAccessorProperty;
1948
+ from(params: {
1949
+ abstract?: boolean;
1950
+ accessibility?: "public" | "private" | "protected" | null;
1951
+ comments?: K.CommentKind[] | null;
1952
+ computed?: boolean;
1953
+ decorators?: K.DecoratorKind[] | null;
1954
+ definite?: boolean;
1955
+ key: K.LiteralKind | K.IdentifierKind | K.PrivateNameKind | K.ExpressionKind;
1956
+ loc?: K.SourceLocationKind | null;
1957
+ optional?: boolean;
1958
+ override?: boolean;
1959
+ readonly?: boolean;
1960
+ static?: boolean;
1961
+ typeAnnotation?: K.TSTypeAnnotationKind | null;
1962
+ value?: K.ExpressionKind | null;
1963
+ }): namedTypes.ClassAccessorProperty;
1964
+ }
1940
1965
  export interface RestPropertyBuilder {
1941
1966
  (argument: K.ExpressionKind): namedTypes.RestProperty;
1942
1967
  from(params: {
@@ -2007,6 +2032,24 @@ export interface TSAsExpressionBuilder {
2007
2032
  typeAnnotation: K.TSTypeKind;
2008
2033
  }): namedTypes.TSAsExpression;
2009
2034
  }
2035
+ export interface TSTypeCastExpressionBuilder {
2036
+ (expression: K.ExpressionKind, typeAnnotation: K.TSTypeKind): namedTypes.TSTypeCastExpression;
2037
+ from(params: {
2038
+ comments?: K.CommentKind[] | null;
2039
+ expression: K.ExpressionKind;
2040
+ loc?: K.SourceLocationKind | null;
2041
+ typeAnnotation: K.TSTypeKind;
2042
+ }): namedTypes.TSTypeCastExpression;
2043
+ }
2044
+ export interface TSSatisfiesExpressionBuilder {
2045
+ (expression: K.ExpressionKind, typeAnnotation: K.TSTypeKind): namedTypes.TSSatisfiesExpression;
2046
+ from(params: {
2047
+ comments?: K.CommentKind[] | null;
2048
+ expression: K.ExpressionKind;
2049
+ loc?: K.SourceLocationKind | null;
2050
+ typeAnnotation: K.TSTypeKind;
2051
+ }): namedTypes.TSSatisfiesExpression;
2052
+ }
2010
2053
  export interface TSNonNullExpressionBuilder {
2011
2054
  (expression: K.ExpressionKind): namedTypes.TSNonNullExpression;
2012
2055
  from(params: {
@@ -2122,10 +2165,10 @@ export interface TSArrayTypeBuilder {
2122
2165
  }): namedTypes.TSArrayType;
2123
2166
  }
2124
2167
  export interface TSLiteralTypeBuilder {
2125
- (literal: K.NumericLiteralKind | K.StringLiteralKind | K.BooleanLiteralKind | K.TemplateLiteralKind | K.UnaryExpressionKind): namedTypes.TSLiteralType;
2168
+ (literal: K.NumericLiteralKind | K.StringLiteralKind | K.BooleanLiteralKind | K.TemplateLiteralKind | K.UnaryExpressionKind | K.BigIntLiteralKind): namedTypes.TSLiteralType;
2126
2169
  from(params: {
2127
2170
  comments?: K.CommentKind[] | null;
2128
- literal: K.NumericLiteralKind | K.StringLiteralKind | K.BooleanLiteralKind | K.TemplateLiteralKind | K.UnaryExpressionKind;
2171
+ literal: K.NumericLiteralKind | K.StringLiteralKind | K.BooleanLiteralKind | K.TemplateLiteralKind | K.UnaryExpressionKind | K.BigIntLiteralKind;
2129
2172
  loc?: K.SourceLocationKind | null;
2130
2173
  }): namedTypes.TSLiteralType;
2131
2174
  }
@@ -2165,13 +2208,13 @@ export interface TSInferTypeBuilder {
2165
2208
  }): namedTypes.TSInferType;
2166
2209
  }
2167
2210
  export interface TSTypeParameterBuilder {
2168
- (name: string, constraint?: K.TSTypeKind | undefined, defaultParam?: K.TSTypeKind | undefined): namedTypes.TSTypeParameter;
2211
+ (name: K.IdentifierKind | string, constraint?: K.TSTypeKind | undefined, defaultParam?: K.TSTypeKind | undefined): namedTypes.TSTypeParameter;
2169
2212
  from(params: {
2170
2213
  comments?: K.CommentKind[] | null;
2171
2214
  constraint?: K.TSTypeKind | undefined;
2172
2215
  default?: K.TSTypeKind | undefined;
2173
2216
  loc?: K.SourceLocationKind | null;
2174
- name: string;
2217
+ name: K.IdentifierKind | string;
2175
2218
  optional?: boolean;
2176
2219
  typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
2177
2220
  }): namedTypes.TSTypeParameter;
@@ -2415,6 +2458,15 @@ export interface TSTypeAssertionBuilder {
2415
2458
  typeAnnotation: K.TSTypeKind;
2416
2459
  }): namedTypes.TSTypeAssertion;
2417
2460
  }
2461
+ export interface TSInstantiationExpressionBuilder {
2462
+ (expression: K.ExpressionKind, typeParameters?: K.TSTypeParameterInstantiationKind | null): namedTypes.TSInstantiationExpression;
2463
+ from(params: {
2464
+ comments?: K.CommentKind[] | null;
2465
+ expression: K.ExpressionKind;
2466
+ loc?: K.SourceLocationKind | null;
2467
+ typeParameters?: K.TSTypeParameterInstantiationKind | null;
2468
+ }): namedTypes.TSInstantiationExpression;
2469
+ }
2418
2470
  export interface TSEnumDeclarationBuilder {
2419
2471
  (id: K.IdentifierKind, members: K.TSEnumMemberKind[]): namedTypes.TSEnumDeclaration;
2420
2472
  from(params: {
@@ -2582,6 +2634,7 @@ export interface builders {
2582
2634
  methodDefinition: MethodDefinitionBuilder;
2583
2635
  classPropertyDefinition: ClassPropertyDefinitionBuilder;
2584
2636
  classProperty: ClassPropertyBuilder;
2637
+ staticBlock: StaticBlockBuilder;
2585
2638
  classBody: ClassBodyBuilder;
2586
2639
  classDeclaration: ClassDeclarationBuilder;
2587
2640
  classExpression: ClassExpressionBuilder;
@@ -2605,7 +2658,6 @@ export interface builders {
2605
2658
  chainExpression: ChainExpressionBuilder;
2606
2659
  optionalCallExpression: OptionalCallExpressionBuilder;
2607
2660
  optionalMemberExpression: OptionalMemberExpressionBuilder;
2608
- staticBlock: StaticBlockBuilder;
2609
2661
  decorator: DecoratorBuilder;
2610
2662
  privateName: PrivateNameBuilder;
2611
2663
  classPrivateProperty: ClassPrivatePropertyBuilder;
@@ -2726,6 +2778,7 @@ export interface builders {
2726
2778
  regExpLiteral: RegExpLiteralBuilder;
2727
2779
  classMethod: ClassMethodBuilder;
2728
2780
  classPrivateMethod: ClassPrivateMethodBuilder;
2781
+ classAccessorProperty: ClassAccessorPropertyBuilder;
2729
2782
  restProperty: RestPropertyBuilder;
2730
2783
  forAwaitStatement: ForAwaitStatementBuilder;
2731
2784
  import: ImportBuilder;
@@ -2734,6 +2787,8 @@ export interface builders {
2734
2787
  tsQualifiedName: TSQualifiedNameBuilder;
2735
2788
  tsTypeReference: TSTypeReferenceBuilder;
2736
2789
  tsAsExpression: TSAsExpressionBuilder;
2790
+ tsTypeCastExpression: TSTypeCastExpressionBuilder;
2791
+ tsSatisfiesExpression: TSSatisfiesExpressionBuilder;
2737
2792
  tsNonNullExpression: TSNonNullExpressionBuilder;
2738
2793
  tsAnyKeyword: TSAnyKeywordBuilder;
2739
2794
  tsBigIntKeyword: TSBigIntKeywordBuilder;
@@ -2779,6 +2834,7 @@ export interface builders {
2779
2834
  tsImportType: TSImportTypeBuilder;
2780
2835
  tsTypeLiteral: TSTypeLiteralBuilder;
2781
2836
  tsTypeAssertion: TSTypeAssertionBuilder;
2837
+ tsInstantiationExpression: TSInstantiationExpressionBuilder;
2782
2838
  tsEnumDeclaration: TSEnumDeclarationBuilder;
2783
2839
  tsTypeAliasDeclaration: TSTypeAliasDeclarationBuilder;
2784
2840
  tsModuleBlock: TSModuleBlockBuilder;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=builders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builders.js","sourceRoot":"","sources":["../../src/gen/builders.ts"],"names":[],"mappings":""}
@@ -0,0 +1,293 @@
1
+ import { namedTypes } from "./namedTypes";
2
+ export type PrintableKind = namedTypes.File | namedTypes.Program | namedTypes.Identifier | namedTypes.BlockStatement | namedTypes.EmptyStatement | namedTypes.ExpressionStatement | namedTypes.IfStatement | namedTypes.LabeledStatement | namedTypes.BreakStatement | namedTypes.ContinueStatement | namedTypes.WithStatement | namedTypes.SwitchStatement | namedTypes.SwitchCase | namedTypes.ReturnStatement | namedTypes.ThrowStatement | namedTypes.TryStatement | namedTypes.CatchClause | namedTypes.WhileStatement | namedTypes.DoWhileStatement | namedTypes.ForStatement | namedTypes.VariableDeclaration | namedTypes.ForInStatement | namedTypes.DebuggerStatement | namedTypes.FunctionDeclaration | namedTypes.FunctionExpression | namedTypes.VariableDeclarator | namedTypes.ThisExpression | namedTypes.ArrayExpression | namedTypes.ObjectExpression | namedTypes.Property | namedTypes.Literal | namedTypes.SequenceExpression | namedTypes.UnaryExpression | namedTypes.BinaryExpression | namedTypes.AssignmentExpression | namedTypes.MemberExpression | namedTypes.UpdateExpression | namedTypes.LogicalExpression | namedTypes.ConditionalExpression | namedTypes.NewExpression | namedTypes.CallExpression | namedTypes.RestElement | namedTypes.TypeAnnotation | namedTypes.TSTypeAnnotation | namedTypes.SpreadElementPattern | namedTypes.ArrowFunctionExpression | namedTypes.ForOfStatement | namedTypes.YieldExpression | namedTypes.GeneratorExpression | namedTypes.ComprehensionBlock | namedTypes.ComprehensionExpression | namedTypes.ObjectProperty | namedTypes.PropertyPattern | namedTypes.ObjectPattern | namedTypes.ArrayPattern | namedTypes.SpreadElement | namedTypes.AssignmentPattern | namedTypes.MethodDefinition | namedTypes.ClassPropertyDefinition | namedTypes.ClassProperty | namedTypes.StaticBlock | namedTypes.ClassBody | namedTypes.ClassDeclaration | namedTypes.ClassExpression | namedTypes.Super | namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ImportDeclaration | namedTypes.ExportNamedDeclaration | namedTypes.ExportSpecifier | namedTypes.ExportDefaultDeclaration | namedTypes.ExportAllDeclaration | namedTypes.TaggedTemplateExpression | namedTypes.TemplateLiteral | namedTypes.TemplateElement | namedTypes.MetaProperty | namedTypes.AwaitExpression | namedTypes.SpreadProperty | namedTypes.SpreadPropertyPattern | namedTypes.ImportExpression | namedTypes.ChainExpression | namedTypes.OptionalCallExpression | namedTypes.OptionalMemberExpression | namedTypes.Decorator | namedTypes.PrivateName | namedTypes.ClassPrivateProperty | namedTypes.ImportAttribute | namedTypes.RecordExpression | namedTypes.ObjectMethod | namedTypes.TupleExpression | namedTypes.ModuleExpression | namedTypes.JSXAttribute | namedTypes.JSXIdentifier | namedTypes.JSXNamespacedName | namedTypes.JSXExpressionContainer | namedTypes.JSXElement | namedTypes.JSXFragment | namedTypes.JSXMemberExpression | namedTypes.JSXSpreadAttribute | namedTypes.JSXEmptyExpression | namedTypes.JSXText | namedTypes.JSXSpreadChild | namedTypes.JSXOpeningElement | namedTypes.JSXClosingElement | namedTypes.JSXOpeningFragment | namedTypes.JSXClosingFragment | namedTypes.TypeParameterDeclaration | namedTypes.TSTypeParameterDeclaration | namedTypes.TypeParameterInstantiation | namedTypes.TSTypeParameterInstantiation | namedTypes.ClassImplements | namedTypes.TSExpressionWithTypeArguments | namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.SymbolTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.BigIntTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | namedTypes.BigIntLiteralTypeAnnotation | namedTypes.StringTypeAnnotation | namedTypes.StringLiteralTypeAnnotation | namedTypes.BooleanTypeAnnotation | namedTypes.BooleanLiteralTypeAnnotation | namedTypes.NullableTypeAnnotation | namedTypes.NullLiteralTypeAnnotation | namedTypes.NullTypeAnnotation | namedTypes.ThisTypeAnnotation | namedTypes.ExistsTypeAnnotation | namedTypes.ExistentialTypeParam | namedTypes.FunctionTypeAnnotation | namedTypes.FunctionTypeParam | namedTypes.ArrayTypeAnnotation | namedTypes.ObjectTypeAnnotation | namedTypes.ObjectTypeProperty | namedTypes.ObjectTypeSpreadProperty | namedTypes.ObjectTypeIndexer | namedTypes.ObjectTypeCallProperty | namedTypes.ObjectTypeInternalSlot | namedTypes.Variance | namedTypes.QualifiedTypeIdentifier | namedTypes.GenericTypeAnnotation | namedTypes.MemberTypeAnnotation | namedTypes.IndexedAccessType | namedTypes.OptionalIndexedAccessType | namedTypes.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.InterfaceExtends | namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.TypeAlias | namedTypes.DeclareTypeAlias | namedTypes.OpaqueType | namedTypes.DeclareOpaqueType | namedTypes.TypeCastExpression | namedTypes.TupleTypeAnnotation | namedTypes.DeclareVariable | namedTypes.DeclareFunction | namedTypes.DeclareClass | namedTypes.DeclareModule | namedTypes.DeclareModuleExports | namedTypes.DeclareExportDeclaration | namedTypes.ExportBatchSpecifier | namedTypes.DeclareExportAllDeclaration | namedTypes.InferredPredicate | namedTypes.DeclaredPredicate | namedTypes.EnumDeclaration | namedTypes.ExportDeclaration | namedTypes.Block | namedTypes.Line | namedTypes.Noop | namedTypes.DoExpression | namedTypes.BindExpression | namedTypes.ParenthesizedExpression | namedTypes.ExportNamespaceSpecifier | namedTypes.ExportDefaultSpecifier | namedTypes.CommentBlock | namedTypes.CommentLine | namedTypes.Directive | namedTypes.DirectiveLiteral | namedTypes.InterpreterDirective | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.DecimalLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.ClassAccessorProperty | namedTypes.RestProperty | namedTypes.ForAwaitStatement | namedTypes.Import | namedTypes.V8IntrinsicIdentifier | namedTypes.TopicReference | namedTypes.TSQualifiedName | namedTypes.TSTypeReference | namedTypes.TSAsExpression | namedTypes.TSTypeCastExpression | namedTypes.TSSatisfiesExpression | namedTypes.TSNonNullExpression | namedTypes.TSAnyKeyword | namedTypes.TSBigIntKeyword | namedTypes.TSBooleanKeyword | namedTypes.TSNeverKeyword | namedTypes.TSNullKeyword | namedTypes.TSNumberKeyword | namedTypes.TSObjectKeyword | namedTypes.TSStringKeyword | namedTypes.TSSymbolKeyword | namedTypes.TSUndefinedKeyword | namedTypes.TSUnknownKeyword | namedTypes.TSVoidKeyword | namedTypes.TSIntrinsicKeyword | namedTypes.TSThisType | namedTypes.TSArrayType | namedTypes.TSLiteralType | namedTypes.TSUnionType | namedTypes.TSIntersectionType | namedTypes.TSConditionalType | namedTypes.TSInferType | namedTypes.TSTypeParameter | namedTypes.TSParenthesizedType | namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSMappedType | namedTypes.TSTupleType | namedTypes.TSNamedTupleMember | namedTypes.TSRestType | namedTypes.TSOptionalType | namedTypes.TSIndexedAccessType | namedTypes.TSTypeOperator | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSTypePredicate | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSEnumMember | namedTypes.TSTypeQuery | namedTypes.TSImportType | namedTypes.TSTypeLiteral | namedTypes.TSTypeAssertion | namedTypes.TSInstantiationExpression | namedTypes.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleBlock | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSExportAssignment | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceBody | namedTypes.TSInterfaceDeclaration | namedTypes.TSParameterProperty;
3
+ export type SourceLocationKind = namedTypes.SourceLocation;
4
+ export type NodeKind = namedTypes.File | namedTypes.Program | namedTypes.Identifier | namedTypes.BlockStatement | namedTypes.EmptyStatement | namedTypes.ExpressionStatement | namedTypes.IfStatement | namedTypes.LabeledStatement | namedTypes.BreakStatement | namedTypes.ContinueStatement | namedTypes.WithStatement | namedTypes.SwitchStatement | namedTypes.SwitchCase | namedTypes.ReturnStatement | namedTypes.ThrowStatement | namedTypes.TryStatement | namedTypes.CatchClause | namedTypes.WhileStatement | namedTypes.DoWhileStatement | namedTypes.ForStatement | namedTypes.VariableDeclaration | namedTypes.ForInStatement | namedTypes.DebuggerStatement | namedTypes.FunctionDeclaration | namedTypes.FunctionExpression | namedTypes.VariableDeclarator | namedTypes.ThisExpression | namedTypes.ArrayExpression | namedTypes.ObjectExpression | namedTypes.Property | namedTypes.Literal | namedTypes.SequenceExpression | namedTypes.UnaryExpression | namedTypes.BinaryExpression | namedTypes.AssignmentExpression | namedTypes.MemberExpression | namedTypes.UpdateExpression | namedTypes.LogicalExpression | namedTypes.ConditionalExpression | namedTypes.NewExpression | namedTypes.CallExpression | namedTypes.RestElement | namedTypes.TypeAnnotation | namedTypes.TSTypeAnnotation | namedTypes.SpreadElementPattern | namedTypes.ArrowFunctionExpression | namedTypes.ForOfStatement | namedTypes.YieldExpression | namedTypes.GeneratorExpression | namedTypes.ComprehensionBlock | namedTypes.ComprehensionExpression | namedTypes.ObjectProperty | namedTypes.PropertyPattern | namedTypes.ObjectPattern | namedTypes.ArrayPattern | namedTypes.SpreadElement | namedTypes.AssignmentPattern | namedTypes.MethodDefinition | namedTypes.ClassPropertyDefinition | namedTypes.ClassProperty | namedTypes.StaticBlock | namedTypes.ClassBody | namedTypes.ClassDeclaration | namedTypes.ClassExpression | namedTypes.Super | namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ImportDeclaration | namedTypes.ExportNamedDeclaration | namedTypes.ExportSpecifier | namedTypes.ExportDefaultDeclaration | namedTypes.ExportAllDeclaration | namedTypes.TaggedTemplateExpression | namedTypes.TemplateLiteral | namedTypes.TemplateElement | namedTypes.MetaProperty | namedTypes.AwaitExpression | namedTypes.SpreadProperty | namedTypes.SpreadPropertyPattern | namedTypes.ImportExpression | namedTypes.ChainExpression | namedTypes.OptionalCallExpression | namedTypes.OptionalMemberExpression | namedTypes.Decorator | namedTypes.PrivateName | namedTypes.ClassPrivateProperty | namedTypes.ImportAttribute | namedTypes.RecordExpression | namedTypes.ObjectMethod | namedTypes.TupleExpression | namedTypes.ModuleExpression | namedTypes.JSXAttribute | namedTypes.JSXIdentifier | namedTypes.JSXNamespacedName | namedTypes.JSXExpressionContainer | namedTypes.JSXElement | namedTypes.JSXFragment | namedTypes.JSXMemberExpression | namedTypes.JSXSpreadAttribute | namedTypes.JSXEmptyExpression | namedTypes.JSXText | namedTypes.JSXSpreadChild | namedTypes.JSXOpeningElement | namedTypes.JSXClosingElement | namedTypes.JSXOpeningFragment | namedTypes.JSXClosingFragment | namedTypes.TypeParameterDeclaration | namedTypes.TSTypeParameterDeclaration | namedTypes.TypeParameterInstantiation | namedTypes.TSTypeParameterInstantiation | namedTypes.ClassImplements | namedTypes.TSExpressionWithTypeArguments | namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.SymbolTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.BigIntTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | namedTypes.BigIntLiteralTypeAnnotation | namedTypes.StringTypeAnnotation | namedTypes.StringLiteralTypeAnnotation | namedTypes.BooleanTypeAnnotation | namedTypes.BooleanLiteralTypeAnnotation | namedTypes.NullableTypeAnnotation | namedTypes.NullLiteralTypeAnnotation | namedTypes.NullTypeAnnotation | namedTypes.ThisTypeAnnotation | namedTypes.ExistsTypeAnnotation | namedTypes.ExistentialTypeParam | namedTypes.FunctionTypeAnnotation | namedTypes.FunctionTypeParam | namedTypes.ArrayTypeAnnotation | namedTypes.ObjectTypeAnnotation | namedTypes.ObjectTypeProperty | namedTypes.ObjectTypeSpreadProperty | namedTypes.ObjectTypeIndexer | namedTypes.ObjectTypeCallProperty | namedTypes.ObjectTypeInternalSlot | namedTypes.Variance | namedTypes.QualifiedTypeIdentifier | namedTypes.GenericTypeAnnotation | namedTypes.MemberTypeAnnotation | namedTypes.IndexedAccessType | namedTypes.OptionalIndexedAccessType | namedTypes.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.InterfaceExtends | namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.TypeAlias | namedTypes.DeclareTypeAlias | namedTypes.OpaqueType | namedTypes.DeclareOpaqueType | namedTypes.TypeCastExpression | namedTypes.TupleTypeAnnotation | namedTypes.DeclareVariable | namedTypes.DeclareFunction | namedTypes.DeclareClass | namedTypes.DeclareModule | namedTypes.DeclareModuleExports | namedTypes.DeclareExportDeclaration | namedTypes.ExportBatchSpecifier | namedTypes.DeclareExportAllDeclaration | namedTypes.InferredPredicate | namedTypes.DeclaredPredicate | namedTypes.EnumDeclaration | namedTypes.ExportDeclaration | namedTypes.Noop | namedTypes.DoExpression | namedTypes.BindExpression | namedTypes.ParenthesizedExpression | namedTypes.ExportNamespaceSpecifier | namedTypes.ExportDefaultSpecifier | namedTypes.Directive | namedTypes.DirectiveLiteral | namedTypes.InterpreterDirective | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.DecimalLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.ClassAccessorProperty | namedTypes.RestProperty | namedTypes.ForAwaitStatement | namedTypes.Import | namedTypes.V8IntrinsicIdentifier | namedTypes.TopicReference | namedTypes.TSQualifiedName | namedTypes.TSTypeReference | namedTypes.TSAsExpression | namedTypes.TSTypeCastExpression | namedTypes.TSSatisfiesExpression | namedTypes.TSNonNullExpression | namedTypes.TSAnyKeyword | namedTypes.TSBigIntKeyword | namedTypes.TSBooleanKeyword | namedTypes.TSNeverKeyword | namedTypes.TSNullKeyword | namedTypes.TSNumberKeyword | namedTypes.TSObjectKeyword | namedTypes.TSStringKeyword | namedTypes.TSSymbolKeyword | namedTypes.TSUndefinedKeyword | namedTypes.TSUnknownKeyword | namedTypes.TSVoidKeyword | namedTypes.TSIntrinsicKeyword | namedTypes.TSThisType | namedTypes.TSArrayType | namedTypes.TSLiteralType | namedTypes.TSUnionType | namedTypes.TSIntersectionType | namedTypes.TSConditionalType | namedTypes.TSInferType | namedTypes.TSTypeParameter | namedTypes.TSParenthesizedType | namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSMappedType | namedTypes.TSTupleType | namedTypes.TSNamedTupleMember | namedTypes.TSRestType | namedTypes.TSOptionalType | namedTypes.TSIndexedAccessType | namedTypes.TSTypeOperator | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSTypePredicate | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSEnumMember | namedTypes.TSTypeQuery | namedTypes.TSImportType | namedTypes.TSTypeLiteral | namedTypes.TSTypeAssertion | namedTypes.TSInstantiationExpression | namedTypes.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleBlock | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSExportAssignment | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceBody | namedTypes.TSInterfaceDeclaration | namedTypes.TSParameterProperty;
5
+ export type CommentKind = namedTypes.Block | namedTypes.Line | namedTypes.CommentBlock | namedTypes.CommentLine;
6
+ export type PositionKind = namedTypes.Position;
7
+ export type FileKind = namedTypes.File;
8
+ export type ProgramKind = namedTypes.Program;
9
+ export type StatementKind = namedTypes.BlockStatement | namedTypes.EmptyStatement | namedTypes.ExpressionStatement | namedTypes.IfStatement | namedTypes.LabeledStatement | namedTypes.BreakStatement | namedTypes.ContinueStatement | namedTypes.WithStatement | namedTypes.SwitchStatement | namedTypes.ReturnStatement | namedTypes.ThrowStatement | namedTypes.TryStatement | namedTypes.WhileStatement | namedTypes.DoWhileStatement | namedTypes.ForStatement | namedTypes.VariableDeclaration | namedTypes.ForInStatement | namedTypes.DebuggerStatement | namedTypes.FunctionDeclaration | namedTypes.ForOfStatement | namedTypes.MethodDefinition | namedTypes.ClassPropertyDefinition | namedTypes.ClassProperty | namedTypes.StaticBlock | namedTypes.ClassBody | namedTypes.ClassDeclaration | namedTypes.ImportDeclaration | namedTypes.ExportNamedDeclaration | namedTypes.ExportDefaultDeclaration | namedTypes.ExportAllDeclaration | namedTypes.ClassPrivateProperty | namedTypes.TSTypeParameterDeclaration | namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.TypeAlias | namedTypes.DeclareTypeAlias | namedTypes.OpaqueType | namedTypes.DeclareOpaqueType | namedTypes.DeclareVariable | namedTypes.DeclareFunction | namedTypes.DeclareClass | namedTypes.DeclareModule | namedTypes.DeclareModuleExports | namedTypes.DeclareExportDeclaration | namedTypes.DeclareExportAllDeclaration | namedTypes.EnumDeclaration | namedTypes.ExportDeclaration | namedTypes.Noop | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.ClassAccessorProperty | namedTypes.ForAwaitStatement | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSExportAssignment | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceDeclaration;
10
+ export type FunctionKind = namedTypes.FunctionDeclaration | namedTypes.FunctionExpression | namedTypes.ArrowFunctionExpression | namedTypes.ObjectMethod | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod;
11
+ export type ExpressionKind = namedTypes.Identifier | namedTypes.FunctionExpression | namedTypes.ThisExpression | namedTypes.ArrayExpression | namedTypes.ObjectExpression | namedTypes.Literal | namedTypes.SequenceExpression | namedTypes.UnaryExpression | namedTypes.BinaryExpression | namedTypes.AssignmentExpression | namedTypes.MemberExpression | namedTypes.UpdateExpression | namedTypes.LogicalExpression | namedTypes.ConditionalExpression | namedTypes.NewExpression | namedTypes.CallExpression | namedTypes.ArrowFunctionExpression | namedTypes.YieldExpression | namedTypes.GeneratorExpression | namedTypes.ComprehensionExpression | namedTypes.ClassExpression | namedTypes.Super | namedTypes.TaggedTemplateExpression | namedTypes.TemplateLiteral | namedTypes.MetaProperty | namedTypes.AwaitExpression | namedTypes.ImportExpression | namedTypes.ChainExpression | namedTypes.OptionalCallExpression | namedTypes.OptionalMemberExpression | namedTypes.PrivateName | namedTypes.RecordExpression | namedTypes.TupleExpression | namedTypes.JSXIdentifier | namedTypes.JSXExpressionContainer | namedTypes.JSXElement | namedTypes.JSXFragment | namedTypes.JSXMemberExpression | namedTypes.JSXText | namedTypes.TypeCastExpression | namedTypes.DoExpression | namedTypes.BindExpression | namedTypes.ParenthesizedExpression | namedTypes.DirectiveLiteral | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.DecimalLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral | namedTypes.Import | namedTypes.V8IntrinsicIdentifier | namedTypes.TopicReference | namedTypes.TSAsExpression | namedTypes.TSTypeCastExpression | namedTypes.TSSatisfiesExpression | namedTypes.TSNonNullExpression | namedTypes.TSTypeParameter | namedTypes.TSTypeAssertion | namedTypes.TSInstantiationExpression;
12
+ export type PatternKind = namedTypes.Identifier | namedTypes.RestElement | namedTypes.SpreadElementPattern | namedTypes.PropertyPattern | namedTypes.ObjectPattern | namedTypes.ArrayPattern | namedTypes.AssignmentPattern | namedTypes.SpreadPropertyPattern | namedTypes.PrivateName | namedTypes.JSXIdentifier | namedTypes.TSAsExpression | namedTypes.TSSatisfiesExpression | namedTypes.TSNonNullExpression | namedTypes.TSTypeParameter | namedTypes.TSTypeAssertion | namedTypes.TSParameterProperty;
13
+ export type IdentifierKind = namedTypes.Identifier | namedTypes.JSXIdentifier | namedTypes.TSTypeParameter;
14
+ export type BlockStatementKind = namedTypes.BlockStatement;
15
+ export type EmptyStatementKind = namedTypes.EmptyStatement;
16
+ export type ExpressionStatementKind = namedTypes.ExpressionStatement;
17
+ export type IfStatementKind = namedTypes.IfStatement;
18
+ export type LabeledStatementKind = namedTypes.LabeledStatement;
19
+ export type BreakStatementKind = namedTypes.BreakStatement;
20
+ export type ContinueStatementKind = namedTypes.ContinueStatement;
21
+ export type WithStatementKind = namedTypes.WithStatement;
22
+ export type SwitchStatementKind = namedTypes.SwitchStatement;
23
+ export type SwitchCaseKind = namedTypes.SwitchCase;
24
+ export type ReturnStatementKind = namedTypes.ReturnStatement;
25
+ export type ThrowStatementKind = namedTypes.ThrowStatement;
26
+ export type TryStatementKind = namedTypes.TryStatement;
27
+ export type CatchClauseKind = namedTypes.CatchClause;
28
+ export type WhileStatementKind = namedTypes.WhileStatement;
29
+ export type DoWhileStatementKind = namedTypes.DoWhileStatement;
30
+ export type ForStatementKind = namedTypes.ForStatement;
31
+ export type DeclarationKind = namedTypes.VariableDeclaration | namedTypes.FunctionDeclaration | namedTypes.MethodDefinition | namedTypes.ClassPropertyDefinition | namedTypes.ClassProperty | namedTypes.StaticBlock | namedTypes.ClassBody | namedTypes.ClassDeclaration | namedTypes.ImportDeclaration | namedTypes.ExportNamedDeclaration | namedTypes.ExportDefaultDeclaration | namedTypes.ExportAllDeclaration | namedTypes.ClassPrivateProperty | namedTypes.TSTypeParameterDeclaration | namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.TypeAlias | namedTypes.DeclareTypeAlias | namedTypes.OpaqueType | namedTypes.DeclareOpaqueType | namedTypes.DeclareClass | namedTypes.DeclareExportDeclaration | namedTypes.DeclareExportAllDeclaration | namedTypes.EnumDeclaration | namedTypes.ExportDeclaration | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.ClassAccessorProperty | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceDeclaration;
32
+ export type VariableDeclarationKind = namedTypes.VariableDeclaration;
33
+ export type ForInStatementKind = namedTypes.ForInStatement;
34
+ export type DebuggerStatementKind = namedTypes.DebuggerStatement;
35
+ export type FunctionDeclarationKind = namedTypes.FunctionDeclaration;
36
+ export type FunctionExpressionKind = namedTypes.FunctionExpression;
37
+ export type VariableDeclaratorKind = namedTypes.VariableDeclarator;
38
+ export type ThisExpressionKind = namedTypes.ThisExpression;
39
+ export type ArrayExpressionKind = namedTypes.ArrayExpression;
40
+ export type ObjectExpressionKind = namedTypes.ObjectExpression;
41
+ export type PropertyKind = namedTypes.Property;
42
+ export type LiteralKind = namedTypes.Literal | namedTypes.JSXText | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.DecimalLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral;
43
+ export type SequenceExpressionKind = namedTypes.SequenceExpression;
44
+ export type UnaryExpressionKind = namedTypes.UnaryExpression;
45
+ export type BinaryExpressionKind = namedTypes.BinaryExpression;
46
+ export type AssignmentExpressionKind = namedTypes.AssignmentExpression;
47
+ export type ChainElementKind = namedTypes.MemberExpression | namedTypes.CallExpression | namedTypes.OptionalCallExpression | namedTypes.OptionalMemberExpression | namedTypes.JSXMemberExpression;
48
+ export type MemberExpressionKind = namedTypes.MemberExpression | namedTypes.OptionalMemberExpression | namedTypes.JSXMemberExpression;
49
+ export type UpdateExpressionKind = namedTypes.UpdateExpression;
50
+ export type LogicalExpressionKind = namedTypes.LogicalExpression;
51
+ export type ConditionalExpressionKind = namedTypes.ConditionalExpression;
52
+ export type NewExpressionKind = namedTypes.NewExpression;
53
+ export type CallExpressionKind = namedTypes.CallExpression | namedTypes.OptionalCallExpression;
54
+ export type RestElementKind = namedTypes.RestElement;
55
+ export type TypeAnnotationKind = namedTypes.TypeAnnotation;
56
+ export type TSTypeAnnotationKind = namedTypes.TSTypeAnnotation | namedTypes.TSTypePredicate;
57
+ export type SpreadElementPatternKind = namedTypes.SpreadElementPattern;
58
+ export type ArrowFunctionExpressionKind = namedTypes.ArrowFunctionExpression;
59
+ export type ForOfStatementKind = namedTypes.ForOfStatement;
60
+ export type YieldExpressionKind = namedTypes.YieldExpression;
61
+ export type GeneratorExpressionKind = namedTypes.GeneratorExpression;
62
+ export type ComprehensionBlockKind = namedTypes.ComprehensionBlock;
63
+ export type ComprehensionExpressionKind = namedTypes.ComprehensionExpression;
64
+ export type ObjectPropertyKind = namedTypes.ObjectProperty;
65
+ export type PropertyPatternKind = namedTypes.PropertyPattern;
66
+ export type ObjectPatternKind = namedTypes.ObjectPattern;
67
+ export type ArrayPatternKind = namedTypes.ArrayPattern;
68
+ export type SpreadElementKind = namedTypes.SpreadElement;
69
+ export type AssignmentPatternKind = namedTypes.AssignmentPattern;
70
+ export type MethodDefinitionKind = namedTypes.MethodDefinition;
71
+ export type ClassPropertyDefinitionKind = namedTypes.ClassPropertyDefinition;
72
+ export type ClassPropertyKind = namedTypes.ClassProperty | namedTypes.ClassPrivateProperty;
73
+ export type StaticBlockKind = namedTypes.StaticBlock;
74
+ export type ClassBodyKind = namedTypes.ClassBody;
75
+ export type ClassDeclarationKind = namedTypes.ClassDeclaration;
76
+ export type ClassExpressionKind = namedTypes.ClassExpression;
77
+ export type SuperKind = namedTypes.Super;
78
+ export type SpecifierKind = namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ExportSpecifier | namedTypes.ExportBatchSpecifier | namedTypes.ExportNamespaceSpecifier | namedTypes.ExportDefaultSpecifier;
79
+ export type ModuleSpecifierKind = namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ExportSpecifier;
80
+ export type ImportSpecifierKind = namedTypes.ImportSpecifier;
81
+ export type ImportDefaultSpecifierKind = namedTypes.ImportDefaultSpecifier;
82
+ export type ImportNamespaceSpecifierKind = namedTypes.ImportNamespaceSpecifier;
83
+ export type ImportDeclarationKind = namedTypes.ImportDeclaration;
84
+ export type ExportNamedDeclarationKind = namedTypes.ExportNamedDeclaration;
85
+ export type ExportSpecifierKind = namedTypes.ExportSpecifier;
86
+ export type ExportDefaultDeclarationKind = namedTypes.ExportDefaultDeclaration;
87
+ export type ExportAllDeclarationKind = namedTypes.ExportAllDeclaration;
88
+ export type TaggedTemplateExpressionKind = namedTypes.TaggedTemplateExpression;
89
+ export type TemplateLiteralKind = namedTypes.TemplateLiteral;
90
+ export type TemplateElementKind = namedTypes.TemplateElement;
91
+ export type MetaPropertyKind = namedTypes.MetaProperty;
92
+ export type AwaitExpressionKind = namedTypes.AwaitExpression;
93
+ export type SpreadPropertyKind = namedTypes.SpreadProperty;
94
+ export type SpreadPropertyPatternKind = namedTypes.SpreadPropertyPattern;
95
+ export type ImportExpressionKind = namedTypes.ImportExpression;
96
+ export type ChainExpressionKind = namedTypes.ChainExpression;
97
+ export type OptionalCallExpressionKind = namedTypes.OptionalCallExpression;
98
+ export type OptionalMemberExpressionKind = namedTypes.OptionalMemberExpression;
99
+ export type DecoratorKind = namedTypes.Decorator;
100
+ export type PrivateNameKind = namedTypes.PrivateName;
101
+ export type ClassPrivatePropertyKind = namedTypes.ClassPrivateProperty;
102
+ export type ImportAttributeKind = namedTypes.ImportAttribute;
103
+ export type RecordExpressionKind = namedTypes.RecordExpression;
104
+ export type ObjectMethodKind = namedTypes.ObjectMethod;
105
+ export type TupleExpressionKind = namedTypes.TupleExpression;
106
+ export type ModuleExpressionKind = namedTypes.ModuleExpression;
107
+ export type JSXAttributeKind = namedTypes.JSXAttribute;
108
+ export type JSXIdentifierKind = namedTypes.JSXIdentifier;
109
+ export type JSXNamespacedNameKind = namedTypes.JSXNamespacedName;
110
+ export type JSXExpressionContainerKind = namedTypes.JSXExpressionContainer;
111
+ export type JSXElementKind = namedTypes.JSXElement;
112
+ export type JSXFragmentKind = namedTypes.JSXFragment;
113
+ export type JSXMemberExpressionKind = namedTypes.JSXMemberExpression;
114
+ export type JSXSpreadAttributeKind = namedTypes.JSXSpreadAttribute;
115
+ export type JSXEmptyExpressionKind = namedTypes.JSXEmptyExpression;
116
+ export type JSXTextKind = namedTypes.JSXText;
117
+ export type JSXSpreadChildKind = namedTypes.JSXSpreadChild;
118
+ export type JSXOpeningElementKind = namedTypes.JSXOpeningElement;
119
+ export type JSXClosingElementKind = namedTypes.JSXClosingElement;
120
+ export type JSXOpeningFragmentKind = namedTypes.JSXOpeningFragment;
121
+ export type JSXClosingFragmentKind = namedTypes.JSXClosingFragment;
122
+ export type TypeParameterDeclarationKind = namedTypes.TypeParameterDeclaration;
123
+ export type TSTypeParameterDeclarationKind = namedTypes.TSTypeParameterDeclaration;
124
+ export type TypeParameterInstantiationKind = namedTypes.TypeParameterInstantiation;
125
+ export type TSTypeParameterInstantiationKind = namedTypes.TSTypeParameterInstantiation;
126
+ export type ClassImplementsKind = namedTypes.ClassImplements;
127
+ export type TSTypeKind = namedTypes.TSExpressionWithTypeArguments | namedTypes.TSTypeReference | namedTypes.TSAnyKeyword | namedTypes.TSBigIntKeyword | namedTypes.TSBooleanKeyword | namedTypes.TSNeverKeyword | namedTypes.TSNullKeyword | namedTypes.TSNumberKeyword | namedTypes.TSObjectKeyword | namedTypes.TSStringKeyword | namedTypes.TSSymbolKeyword | namedTypes.TSUndefinedKeyword | namedTypes.TSUnknownKeyword | namedTypes.TSVoidKeyword | namedTypes.TSIntrinsicKeyword | namedTypes.TSThisType | namedTypes.TSArrayType | namedTypes.TSLiteralType | namedTypes.TSUnionType | namedTypes.TSIntersectionType | namedTypes.TSConditionalType | namedTypes.TSInferType | namedTypes.TSParenthesizedType | namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSMappedType | namedTypes.TSTupleType | namedTypes.TSNamedTupleMember | namedTypes.TSRestType | namedTypes.TSOptionalType | namedTypes.TSIndexedAccessType | namedTypes.TSTypeOperator | namedTypes.TSTypePredicate | namedTypes.TSTypeQuery | namedTypes.TSImportType | namedTypes.TSTypeLiteral;
128
+ export type TSHasOptionalTypeParameterInstantiationKind = namedTypes.TSExpressionWithTypeArguments | namedTypes.TSTypeReference | namedTypes.TSImportType | namedTypes.TSInstantiationExpression;
129
+ export type TSExpressionWithTypeArgumentsKind = namedTypes.TSExpressionWithTypeArguments;
130
+ export type FlowKind = namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.SymbolTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.BigIntTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | namedTypes.BigIntLiteralTypeAnnotation | namedTypes.StringTypeAnnotation | namedTypes.StringLiteralTypeAnnotation | namedTypes.BooleanTypeAnnotation | namedTypes.BooleanLiteralTypeAnnotation | namedTypes.NullableTypeAnnotation | namedTypes.NullLiteralTypeAnnotation | namedTypes.NullTypeAnnotation | namedTypes.ThisTypeAnnotation | namedTypes.ExistsTypeAnnotation | namedTypes.ExistentialTypeParam | namedTypes.FunctionTypeAnnotation | namedTypes.ArrayTypeAnnotation | namedTypes.ObjectTypeAnnotation | namedTypes.GenericTypeAnnotation | namedTypes.MemberTypeAnnotation | namedTypes.IndexedAccessType | namedTypes.OptionalIndexedAccessType | namedTypes.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.TupleTypeAnnotation | namedTypes.InferredPredicate | namedTypes.DeclaredPredicate;
131
+ export type FlowTypeKind = namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.SymbolTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.BigIntTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | namedTypes.BigIntLiteralTypeAnnotation | namedTypes.StringTypeAnnotation | namedTypes.StringLiteralTypeAnnotation | namedTypes.BooleanTypeAnnotation | namedTypes.BooleanLiteralTypeAnnotation | namedTypes.NullableTypeAnnotation | namedTypes.NullLiteralTypeAnnotation | namedTypes.NullTypeAnnotation | namedTypes.ThisTypeAnnotation | namedTypes.ExistsTypeAnnotation | namedTypes.ExistentialTypeParam | namedTypes.FunctionTypeAnnotation | namedTypes.ArrayTypeAnnotation | namedTypes.ObjectTypeAnnotation | namedTypes.GenericTypeAnnotation | namedTypes.MemberTypeAnnotation | namedTypes.IndexedAccessType | namedTypes.OptionalIndexedAccessType | namedTypes.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.TupleTypeAnnotation;
132
+ export type AnyTypeAnnotationKind = namedTypes.AnyTypeAnnotation;
133
+ export type EmptyTypeAnnotationKind = namedTypes.EmptyTypeAnnotation;
134
+ export type MixedTypeAnnotationKind = namedTypes.MixedTypeAnnotation;
135
+ export type VoidTypeAnnotationKind = namedTypes.VoidTypeAnnotation;
136
+ export type SymbolTypeAnnotationKind = namedTypes.SymbolTypeAnnotation;
137
+ export type NumberTypeAnnotationKind = namedTypes.NumberTypeAnnotation;
138
+ export type BigIntTypeAnnotationKind = namedTypes.BigIntTypeAnnotation;
139
+ export type NumberLiteralTypeAnnotationKind = namedTypes.NumberLiteralTypeAnnotation;
140
+ export type NumericLiteralTypeAnnotationKind = namedTypes.NumericLiteralTypeAnnotation;
141
+ export type BigIntLiteralTypeAnnotationKind = namedTypes.BigIntLiteralTypeAnnotation;
142
+ export type StringTypeAnnotationKind = namedTypes.StringTypeAnnotation;
143
+ export type StringLiteralTypeAnnotationKind = namedTypes.StringLiteralTypeAnnotation;
144
+ export type BooleanTypeAnnotationKind = namedTypes.BooleanTypeAnnotation;
145
+ export type BooleanLiteralTypeAnnotationKind = namedTypes.BooleanLiteralTypeAnnotation;
146
+ export type NullableTypeAnnotationKind = namedTypes.NullableTypeAnnotation;
147
+ export type NullLiteralTypeAnnotationKind = namedTypes.NullLiteralTypeAnnotation;
148
+ export type NullTypeAnnotationKind = namedTypes.NullTypeAnnotation;
149
+ export type ThisTypeAnnotationKind = namedTypes.ThisTypeAnnotation;
150
+ export type ExistsTypeAnnotationKind = namedTypes.ExistsTypeAnnotation;
151
+ export type ExistentialTypeParamKind = namedTypes.ExistentialTypeParam;
152
+ export type FunctionTypeAnnotationKind = namedTypes.FunctionTypeAnnotation;
153
+ export type FunctionTypeParamKind = namedTypes.FunctionTypeParam;
154
+ export type ArrayTypeAnnotationKind = namedTypes.ArrayTypeAnnotation;
155
+ export type ObjectTypeAnnotationKind = namedTypes.ObjectTypeAnnotation;
156
+ export type ObjectTypePropertyKind = namedTypes.ObjectTypeProperty;
157
+ export type ObjectTypeSpreadPropertyKind = namedTypes.ObjectTypeSpreadProperty;
158
+ export type ObjectTypeIndexerKind = namedTypes.ObjectTypeIndexer;
159
+ export type ObjectTypeCallPropertyKind = namedTypes.ObjectTypeCallProperty;
160
+ export type ObjectTypeInternalSlotKind = namedTypes.ObjectTypeInternalSlot;
161
+ export type VarianceKind = namedTypes.Variance;
162
+ export type QualifiedTypeIdentifierKind = namedTypes.QualifiedTypeIdentifier;
163
+ export type GenericTypeAnnotationKind = namedTypes.GenericTypeAnnotation;
164
+ export type MemberTypeAnnotationKind = namedTypes.MemberTypeAnnotation;
165
+ export type IndexedAccessTypeKind = namedTypes.IndexedAccessType;
166
+ export type OptionalIndexedAccessTypeKind = namedTypes.OptionalIndexedAccessType;
167
+ export type UnionTypeAnnotationKind = namedTypes.UnionTypeAnnotation;
168
+ export type IntersectionTypeAnnotationKind = namedTypes.IntersectionTypeAnnotation;
169
+ export type TypeofTypeAnnotationKind = namedTypes.TypeofTypeAnnotation;
170
+ export type TypeParameterKind = namedTypes.TypeParameter;
171
+ export type InterfaceTypeAnnotationKind = namedTypes.InterfaceTypeAnnotation;
172
+ export type InterfaceExtendsKind = namedTypes.InterfaceExtends;
173
+ export type InterfaceDeclarationKind = namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.DeclareClass;
174
+ export type DeclareInterfaceKind = namedTypes.DeclareInterface;
175
+ export type TypeAliasKind = namedTypes.TypeAlias | namedTypes.DeclareTypeAlias;
176
+ export type DeclareTypeAliasKind = namedTypes.DeclareTypeAlias;
177
+ export type OpaqueTypeKind = namedTypes.OpaqueType | namedTypes.DeclareOpaqueType;
178
+ export type DeclareOpaqueTypeKind = namedTypes.DeclareOpaqueType;
179
+ export type TypeCastExpressionKind = namedTypes.TypeCastExpression;
180
+ export type TupleTypeAnnotationKind = namedTypes.TupleTypeAnnotation;
181
+ export type DeclareVariableKind = namedTypes.DeclareVariable;
182
+ export type DeclareFunctionKind = namedTypes.DeclareFunction;
183
+ export type FlowPredicateKind = namedTypes.InferredPredicate | namedTypes.DeclaredPredicate;
184
+ export type DeclareClassKind = namedTypes.DeclareClass;
185
+ export type DeclareModuleKind = namedTypes.DeclareModule;
186
+ export type DeclareModuleExportsKind = namedTypes.DeclareModuleExports;
187
+ export type DeclareExportDeclarationKind = namedTypes.DeclareExportDeclaration;
188
+ export type ExportBatchSpecifierKind = namedTypes.ExportBatchSpecifier;
189
+ export type DeclareExportAllDeclarationKind = namedTypes.DeclareExportAllDeclaration;
190
+ export type InferredPredicateKind = namedTypes.InferredPredicate;
191
+ export type DeclaredPredicateKind = namedTypes.DeclaredPredicate;
192
+ export type EnumDeclarationKind = namedTypes.EnumDeclaration;
193
+ export type EnumBooleanBodyKind = namedTypes.EnumBooleanBody;
194
+ export type EnumNumberBodyKind = namedTypes.EnumNumberBody;
195
+ export type EnumStringBodyKind = namedTypes.EnumStringBody;
196
+ export type EnumSymbolBodyKind = namedTypes.EnumSymbolBody;
197
+ export type EnumBooleanMemberKind = namedTypes.EnumBooleanMember;
198
+ export type EnumNumberMemberKind = namedTypes.EnumNumberMember;
199
+ export type EnumStringMemberKind = namedTypes.EnumStringMember;
200
+ export type EnumDefaultedMemberKind = namedTypes.EnumDefaultedMember;
201
+ export type ExportDeclarationKind = namedTypes.ExportDeclaration;
202
+ export type BlockKind = namedTypes.Block;
203
+ export type LineKind = namedTypes.Line;
204
+ export type NoopKind = namedTypes.Noop;
205
+ export type DoExpressionKind = namedTypes.DoExpression;
206
+ export type BindExpressionKind = namedTypes.BindExpression;
207
+ export type ParenthesizedExpressionKind = namedTypes.ParenthesizedExpression;
208
+ export type ExportNamespaceSpecifierKind = namedTypes.ExportNamespaceSpecifier;
209
+ export type ExportDefaultSpecifierKind = namedTypes.ExportDefaultSpecifier;
210
+ export type CommentBlockKind = namedTypes.CommentBlock;
211
+ export type CommentLineKind = namedTypes.CommentLine;
212
+ export type DirectiveKind = namedTypes.Directive;
213
+ export type DirectiveLiteralKind = namedTypes.DirectiveLiteral;
214
+ export type InterpreterDirectiveKind = namedTypes.InterpreterDirective;
215
+ export type StringLiteralKind = namedTypes.StringLiteral;
216
+ export type NumericLiteralKind = namedTypes.NumericLiteral;
217
+ export type BigIntLiteralKind = namedTypes.BigIntLiteral;
218
+ export type DecimalLiteralKind = namedTypes.DecimalLiteral;
219
+ export type NullLiteralKind = namedTypes.NullLiteral;
220
+ export type BooleanLiteralKind = namedTypes.BooleanLiteral;
221
+ export type RegExpLiteralKind = namedTypes.RegExpLiteral;
222
+ export type ClassMethodKind = namedTypes.ClassMethod;
223
+ export type ClassPrivateMethodKind = namedTypes.ClassPrivateMethod;
224
+ export type TSHasOptionalTypeAnnotationKind = namedTypes.ClassAccessorProperty | namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSIndexSignature | namedTypes.TSPropertySignature | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration;
225
+ export type ClassAccessorPropertyKind = namedTypes.ClassAccessorProperty;
226
+ export type RestPropertyKind = namedTypes.RestProperty;
227
+ export type ForAwaitStatementKind = namedTypes.ForAwaitStatement;
228
+ export type ImportKind = namedTypes.Import;
229
+ export type V8IntrinsicIdentifierKind = namedTypes.V8IntrinsicIdentifier;
230
+ export type TopicReferenceKind = namedTypes.TopicReference;
231
+ export type TSQualifiedNameKind = namedTypes.TSQualifiedName;
232
+ export type TSTypeReferenceKind = namedTypes.TSTypeReference;
233
+ export type TSHasOptionalTypeParametersKind = namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSInterfaceDeclaration;
234
+ export type TSAsExpressionKind = namedTypes.TSAsExpression;
235
+ export type TSTypeCastExpressionKind = namedTypes.TSTypeCastExpression;
236
+ export type TSSatisfiesExpressionKind = namedTypes.TSSatisfiesExpression;
237
+ export type TSNonNullExpressionKind = namedTypes.TSNonNullExpression;
238
+ export type TSAnyKeywordKind = namedTypes.TSAnyKeyword;
239
+ export type TSBigIntKeywordKind = namedTypes.TSBigIntKeyword;
240
+ export type TSBooleanKeywordKind = namedTypes.TSBooleanKeyword;
241
+ export type TSNeverKeywordKind = namedTypes.TSNeverKeyword;
242
+ export type TSNullKeywordKind = namedTypes.TSNullKeyword;
243
+ export type TSNumberKeywordKind = namedTypes.TSNumberKeyword;
244
+ export type TSObjectKeywordKind = namedTypes.TSObjectKeyword;
245
+ export type TSStringKeywordKind = namedTypes.TSStringKeyword;
246
+ export type TSSymbolKeywordKind = namedTypes.TSSymbolKeyword;
247
+ export type TSUndefinedKeywordKind = namedTypes.TSUndefinedKeyword;
248
+ export type TSUnknownKeywordKind = namedTypes.TSUnknownKeyword;
249
+ export type TSVoidKeywordKind = namedTypes.TSVoidKeyword;
250
+ export type TSIntrinsicKeywordKind = namedTypes.TSIntrinsicKeyword;
251
+ export type TSThisTypeKind = namedTypes.TSThisType;
252
+ export type TSArrayTypeKind = namedTypes.TSArrayType;
253
+ export type TSLiteralTypeKind = namedTypes.TSLiteralType;
254
+ export type TSUnionTypeKind = namedTypes.TSUnionType;
255
+ export type TSIntersectionTypeKind = namedTypes.TSIntersectionType;
256
+ export type TSConditionalTypeKind = namedTypes.TSConditionalType;
257
+ export type TSInferTypeKind = namedTypes.TSInferType;
258
+ export type TSTypeParameterKind = namedTypes.TSTypeParameter;
259
+ export type TSParenthesizedTypeKind = namedTypes.TSParenthesizedType;
260
+ export type TSFunctionTypeKind = namedTypes.TSFunctionType;
261
+ export type TSConstructorTypeKind = namedTypes.TSConstructorType;
262
+ export type TSDeclareFunctionKind = namedTypes.TSDeclareFunction;
263
+ export type TSDeclareMethodKind = namedTypes.TSDeclareMethod;
264
+ export type TSMappedTypeKind = namedTypes.TSMappedType;
265
+ export type TSTupleTypeKind = namedTypes.TSTupleType;
266
+ export type TSNamedTupleMemberKind = namedTypes.TSNamedTupleMember;
267
+ export type TSRestTypeKind = namedTypes.TSRestType;
268
+ export type TSOptionalTypeKind = namedTypes.TSOptionalType;
269
+ export type TSIndexedAccessTypeKind = namedTypes.TSIndexedAccessType;
270
+ export type TSTypeOperatorKind = namedTypes.TSTypeOperator;
271
+ export type TSIndexSignatureKind = namedTypes.TSIndexSignature;
272
+ export type TSPropertySignatureKind = namedTypes.TSPropertySignature;
273
+ export type TSMethodSignatureKind = namedTypes.TSMethodSignature;
274
+ export type TSTypePredicateKind = namedTypes.TSTypePredicate;
275
+ export type TSCallSignatureDeclarationKind = namedTypes.TSCallSignatureDeclaration;
276
+ export type TSConstructSignatureDeclarationKind = namedTypes.TSConstructSignatureDeclaration;
277
+ export type TSEnumMemberKind = namedTypes.TSEnumMember;
278
+ export type TSTypeQueryKind = namedTypes.TSTypeQuery;
279
+ export type TSImportTypeKind = namedTypes.TSImportType;
280
+ export type TSTypeLiteralKind = namedTypes.TSTypeLiteral;
281
+ export type TSTypeAssertionKind = namedTypes.TSTypeAssertion;
282
+ export type TSInstantiationExpressionKind = namedTypes.TSInstantiationExpression;
283
+ export type TSEnumDeclarationKind = namedTypes.TSEnumDeclaration;
284
+ export type TSTypeAliasDeclarationKind = namedTypes.TSTypeAliasDeclaration;
285
+ export type TSModuleBlockKind = namedTypes.TSModuleBlock;
286
+ export type TSModuleDeclarationKind = namedTypes.TSModuleDeclaration;
287
+ export type TSImportEqualsDeclarationKind = namedTypes.TSImportEqualsDeclaration;
288
+ export type TSExternalModuleReferenceKind = namedTypes.TSExternalModuleReference;
289
+ export type TSExportAssignmentKind = namedTypes.TSExportAssignment;
290
+ export type TSNamespaceExportDeclarationKind = namedTypes.TSNamespaceExportDeclaration;
291
+ export type TSInterfaceBodyKind = namedTypes.TSInterfaceBody;
292
+ export type TSInterfaceDeclarationKind = namedTypes.TSInterfaceDeclaration;
293
+ export type TSParameterPropertyKind = namedTypes.TSParameterProperty;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=kinds.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kinds.js","sourceRoot":"","sources":["../../src/gen/kinds.ts"],"names":[],"mappings":""}