ast-types 0.14.2 → 0.15.0
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/.github/workflows/main.yml +1 -1
- package/README.md +1 -1
- package/def/babel-core.js +19 -4
- package/def/babel.js +15 -2
- package/def/core.js +7 -6
- package/def/es-proposals.js +26 -4
- package/def/es2016.js +6 -12
- package/def/es2017.js +3 -3
- package/def/es2018.js +3 -3
- package/def/es2019.js +3 -3
- package/def/es2020.js +7 -8
- package/def/es2021.d.ts +2 -0
- package/def/es2021.js +13 -0
- package/def/es2022.d.ts +2 -0
- package/def/es2022.js +16 -0
- package/def/es6.js +3 -3
- package/def/esprima.js +4 -4
- package/def/flow.js +15 -4
- package/def/jsx.js +4 -4
- package/def/operators/core.d.ts +5 -0
- package/def/operators/core.js +25 -0
- package/def/operators/es2016.d.ts +5 -0
- package/def/operators/es2016.js +19 -0
- package/def/operators/es2020.d.ts +5 -0
- package/def/operators/es2020.js +15 -0
- package/def/operators/es2021.d.ts +5 -0
- package/def/operators/es2021.js +18 -0
- package/def/type-annotations.js +2 -2
- package/def/typescript.js +11 -4
- package/fork.js +5 -5
- package/gen/builders.d.ts +170 -61
- package/gen/kinds.d.ts +23 -12
- package/gen/namedTypes.d.ts +108 -36
- package/gen/visitor.d.ts +15 -4
- package/lib/equiv.js +1 -1
- package/lib/node-path.js +3 -3
- package/lib/path-visitor.js +2 -2
- package/lib/path.d.ts +3 -3
- package/lib/path.js +1 -1
- package/lib/scope.d.ts +3 -2
- package/lib/scope.js +61 -26
- package/lib/shared.js +1 -1
- package/lib/types.js +6 -6
- package/main.js +9 -25
- package/package.json +15 -15
- package/def/core-operators.d.ts +0 -3
- package/def/core-operators.js +0 -20
package/gen/builders.d.ts
CHANGED
|
@@ -332,12 +332,12 @@ export interface BinaryExpressionBuilder {
|
|
|
332
332
|
}): namedTypes.BinaryExpression;
|
|
333
333
|
}
|
|
334
334
|
export interface AssignmentExpressionBuilder {
|
|
335
|
-
(operator: "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "**=", left: K.PatternKind | K.MemberExpressionKind, right: K.ExpressionKind): namedTypes.AssignmentExpression;
|
|
335
|
+
(operator: "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "**=" | "||=" | "&&=" | "??=", left: K.PatternKind | K.MemberExpressionKind, right: K.ExpressionKind): namedTypes.AssignmentExpression;
|
|
336
336
|
from(params: {
|
|
337
337
|
comments?: K.CommentKind[] | null;
|
|
338
338
|
left: K.PatternKind | K.MemberExpressionKind;
|
|
339
339
|
loc?: K.SourceLocationKind | null;
|
|
340
|
-
operator: "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "**=";
|
|
340
|
+
operator: "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "**=" | "||=" | "&&=" | "??=";
|
|
341
341
|
right: K.ExpressionKind;
|
|
342
342
|
}): namedTypes.AssignmentExpression;
|
|
343
343
|
}
|
|
@@ -726,10 +726,10 @@ export interface TaggedTemplateExpressionBuilder {
|
|
|
726
726
|
}): namedTypes.TaggedTemplateExpression;
|
|
727
727
|
}
|
|
728
728
|
export interface TemplateLiteralBuilder {
|
|
729
|
-
(quasis: K.TemplateElementKind[], expressions: K.ExpressionKind[]): namedTypes.TemplateLiteral;
|
|
729
|
+
(quasis: K.TemplateElementKind[], expressions: K.ExpressionKind[] | K.TSTypeKind[]): namedTypes.TemplateLiteral;
|
|
730
730
|
from(params: {
|
|
731
731
|
comments?: K.CommentKind[] | null;
|
|
732
|
-
expressions: K.ExpressionKind[];
|
|
732
|
+
expressions: K.ExpressionKind[] | K.TSTypeKind[];
|
|
733
733
|
loc?: K.SourceLocationKind | null;
|
|
734
734
|
quasis: K.TemplateElementKind[];
|
|
735
735
|
}): namedTypes.TemplateLiteral;
|
|
@@ -821,6 +821,100 @@ export interface OptionalMemberExpressionBuilder {
|
|
|
821
821
|
property: K.IdentifierKind | K.ExpressionKind;
|
|
822
822
|
}): namedTypes.OptionalMemberExpression;
|
|
823
823
|
}
|
|
824
|
+
export interface StaticBlockBuilder {
|
|
825
|
+
(body: K.StatementKind[]): namedTypes.StaticBlock;
|
|
826
|
+
from(params: {
|
|
827
|
+
body: K.StatementKind[];
|
|
828
|
+
comments?: K.CommentKind[] | null;
|
|
829
|
+
loc?: K.SourceLocationKind | null;
|
|
830
|
+
}): namedTypes.StaticBlock;
|
|
831
|
+
}
|
|
832
|
+
export interface DecoratorBuilder {
|
|
833
|
+
(expression: K.ExpressionKind): namedTypes.Decorator;
|
|
834
|
+
from(params: {
|
|
835
|
+
comments?: K.CommentKind[] | null;
|
|
836
|
+
expression: K.ExpressionKind;
|
|
837
|
+
loc?: K.SourceLocationKind | null;
|
|
838
|
+
}): namedTypes.Decorator;
|
|
839
|
+
}
|
|
840
|
+
export interface PrivateNameBuilder {
|
|
841
|
+
(id: K.IdentifierKind): namedTypes.PrivateName;
|
|
842
|
+
from(params: {
|
|
843
|
+
comments?: K.CommentKind[] | null;
|
|
844
|
+
id: K.IdentifierKind;
|
|
845
|
+
loc?: K.SourceLocationKind | null;
|
|
846
|
+
}): namedTypes.PrivateName;
|
|
847
|
+
}
|
|
848
|
+
export interface ClassPrivatePropertyBuilder {
|
|
849
|
+
(key: K.PrivateNameKind, value?: K.ExpressionKind | null): namedTypes.ClassPrivateProperty;
|
|
850
|
+
from(params: {
|
|
851
|
+
access?: "public" | "private" | "protected" | undefined;
|
|
852
|
+
comments?: K.CommentKind[] | null;
|
|
853
|
+
computed?: boolean;
|
|
854
|
+
key: K.PrivateNameKind;
|
|
855
|
+
loc?: K.SourceLocationKind | null;
|
|
856
|
+
static?: boolean;
|
|
857
|
+
typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
|
|
858
|
+
value?: K.ExpressionKind | null;
|
|
859
|
+
variance?: K.VarianceKind | "plus" | "minus" | null;
|
|
860
|
+
}): namedTypes.ClassPrivateProperty;
|
|
861
|
+
}
|
|
862
|
+
export interface ImportAttributeBuilder {
|
|
863
|
+
(key: K.IdentifierKind, value: string): namedTypes.ImportAttribute;
|
|
864
|
+
from(params: {
|
|
865
|
+
comments?: K.CommentKind[] | null;
|
|
866
|
+
key: K.IdentifierKind;
|
|
867
|
+
loc?: K.SourceLocationKind | null;
|
|
868
|
+
value: string;
|
|
869
|
+
}): namedTypes.ImportAttribute;
|
|
870
|
+
}
|
|
871
|
+
export interface RecordExpressionBuilder {
|
|
872
|
+
(properties: (K.ObjectPropertyKind | K.ObjectMethodKind | K.SpreadElementKind)[]): namedTypes.RecordExpression;
|
|
873
|
+
from(params: {
|
|
874
|
+
comments?: K.CommentKind[] | null;
|
|
875
|
+
loc?: K.SourceLocationKind | null;
|
|
876
|
+
properties: (K.ObjectPropertyKind | K.ObjectMethodKind | K.SpreadElementKind)[];
|
|
877
|
+
}): namedTypes.RecordExpression;
|
|
878
|
+
}
|
|
879
|
+
export interface ObjectMethodBuilder {
|
|
880
|
+
(kind: "method" | "get" | "set", key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, params: K.PatternKind[], body: K.BlockStatementKind, computed?: boolean): namedTypes.ObjectMethod;
|
|
881
|
+
from(params: {
|
|
882
|
+
accessibility?: K.LiteralKind | null;
|
|
883
|
+
async?: boolean;
|
|
884
|
+
body: K.BlockStatementKind;
|
|
885
|
+
comments?: K.CommentKind[] | null;
|
|
886
|
+
computed?: boolean;
|
|
887
|
+
decorators?: K.DecoratorKind[] | null;
|
|
888
|
+
defaults?: (K.ExpressionKind | null)[];
|
|
889
|
+
expression?: boolean;
|
|
890
|
+
generator?: boolean;
|
|
891
|
+
id?: K.IdentifierKind | null;
|
|
892
|
+
key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
|
|
893
|
+
kind: "method" | "get" | "set";
|
|
894
|
+
loc?: K.SourceLocationKind | null;
|
|
895
|
+
params: K.PatternKind[];
|
|
896
|
+
predicate?: K.FlowPredicateKind | null;
|
|
897
|
+
rest?: K.IdentifierKind | null;
|
|
898
|
+
returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
|
|
899
|
+
typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
|
|
900
|
+
}): namedTypes.ObjectMethod;
|
|
901
|
+
}
|
|
902
|
+
export interface TupleExpressionBuilder {
|
|
903
|
+
(elements: (K.ExpressionKind | K.SpreadElementKind | null)[]): namedTypes.TupleExpression;
|
|
904
|
+
from(params: {
|
|
905
|
+
comments?: K.CommentKind[] | null;
|
|
906
|
+
elements: (K.ExpressionKind | K.SpreadElementKind | null)[];
|
|
907
|
+
loc?: K.SourceLocationKind | null;
|
|
908
|
+
}): namedTypes.TupleExpression;
|
|
909
|
+
}
|
|
910
|
+
export interface ModuleExpressionBuilder {
|
|
911
|
+
(): namedTypes.ModuleExpression;
|
|
912
|
+
from(params: {
|
|
913
|
+
body: K.ProgramKind;
|
|
914
|
+
comments?: K.CommentKind[] | null;
|
|
915
|
+
loc?: K.SourceLocationKind | null;
|
|
916
|
+
}): namedTypes.ModuleExpression;
|
|
917
|
+
}
|
|
824
918
|
export interface JSXAttributeBuilder {
|
|
825
919
|
(name: K.JSXIdentifierKind | K.JSXNamespacedNameKind, value?: K.LiteralKind | K.JSXExpressionContainerKind | K.JSXElementKind | K.JSXFragmentKind | null): namedTypes.JSXAttribute;
|
|
826
920
|
from(params: {
|
|
@@ -959,36 +1053,6 @@ export interface JSXClosingFragmentBuilder {
|
|
|
959
1053
|
loc?: K.SourceLocationKind | null;
|
|
960
1054
|
}): namedTypes.JSXClosingFragment;
|
|
961
1055
|
}
|
|
962
|
-
export interface DecoratorBuilder {
|
|
963
|
-
(expression: K.ExpressionKind): namedTypes.Decorator;
|
|
964
|
-
from(params: {
|
|
965
|
-
comments?: K.CommentKind[] | null;
|
|
966
|
-
expression: K.ExpressionKind;
|
|
967
|
-
loc?: K.SourceLocationKind | null;
|
|
968
|
-
}): namedTypes.Decorator;
|
|
969
|
-
}
|
|
970
|
-
export interface PrivateNameBuilder {
|
|
971
|
-
(id: K.IdentifierKind): namedTypes.PrivateName;
|
|
972
|
-
from(params: {
|
|
973
|
-
comments?: K.CommentKind[] | null;
|
|
974
|
-
id: K.IdentifierKind;
|
|
975
|
-
loc?: K.SourceLocationKind | null;
|
|
976
|
-
}): namedTypes.PrivateName;
|
|
977
|
-
}
|
|
978
|
-
export interface ClassPrivatePropertyBuilder {
|
|
979
|
-
(key: K.PrivateNameKind, value?: K.ExpressionKind | null): namedTypes.ClassPrivateProperty;
|
|
980
|
-
from(params: {
|
|
981
|
-
access?: "public" | "private" | "protected" | undefined;
|
|
982
|
-
comments?: K.CommentKind[] | null;
|
|
983
|
-
computed?: boolean;
|
|
984
|
-
key: K.PrivateNameKind;
|
|
985
|
-
loc?: K.SourceLocationKind | null;
|
|
986
|
-
static?: boolean;
|
|
987
|
-
typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
|
|
988
|
-
value?: K.ExpressionKind | null;
|
|
989
|
-
variance?: K.VarianceKind | "plus" | "minus" | null;
|
|
990
|
-
}): namedTypes.ClassPrivateProperty;
|
|
991
|
-
}
|
|
992
1056
|
export interface TypeParameterDeclarationBuilder {
|
|
993
1057
|
(params: K.TypeParameterKind[]): namedTypes.TypeParameterDeclaration;
|
|
994
1058
|
from(params: {
|
|
@@ -1320,6 +1384,25 @@ export interface MemberTypeAnnotationBuilder {
|
|
|
1320
1384
|
property: K.MemberTypeAnnotationKind | K.GenericTypeAnnotationKind;
|
|
1321
1385
|
}): namedTypes.MemberTypeAnnotation;
|
|
1322
1386
|
}
|
|
1387
|
+
export interface IndexedAccessTypeBuilder {
|
|
1388
|
+
(objectType: K.FlowTypeKind, indexType: K.FlowTypeKind): namedTypes.IndexedAccessType;
|
|
1389
|
+
from(params: {
|
|
1390
|
+
comments?: K.CommentKind[] | null;
|
|
1391
|
+
indexType: K.FlowTypeKind;
|
|
1392
|
+
loc?: K.SourceLocationKind | null;
|
|
1393
|
+
objectType: K.FlowTypeKind;
|
|
1394
|
+
}): namedTypes.IndexedAccessType;
|
|
1395
|
+
}
|
|
1396
|
+
export interface OptionalIndexedAccessTypeBuilder {
|
|
1397
|
+
(objectType: K.FlowTypeKind, indexType: K.FlowTypeKind, optional: boolean): namedTypes.OptionalIndexedAccessType;
|
|
1398
|
+
from(params: {
|
|
1399
|
+
comments?: K.CommentKind[] | null;
|
|
1400
|
+
indexType: K.FlowTypeKind;
|
|
1401
|
+
loc?: K.SourceLocationKind | null;
|
|
1402
|
+
objectType: K.FlowTypeKind;
|
|
1403
|
+
optional: boolean;
|
|
1404
|
+
}): namedTypes.OptionalIndexedAccessType;
|
|
1405
|
+
}
|
|
1323
1406
|
export interface UnionTypeAnnotationBuilder {
|
|
1324
1407
|
(types: K.FlowTypeKind[]): namedTypes.UnionTypeAnnotation;
|
|
1325
1408
|
from(params: {
|
|
@@ -1767,6 +1850,22 @@ export interface BigIntLiteralBuilder {
|
|
|
1767
1850
|
value: string | number;
|
|
1768
1851
|
}): namedTypes.BigIntLiteral;
|
|
1769
1852
|
}
|
|
1853
|
+
export interface DecimalLiteralBuilder {
|
|
1854
|
+
(value: string): namedTypes.DecimalLiteral;
|
|
1855
|
+
from(params: {
|
|
1856
|
+
comments?: K.CommentKind[] | null;
|
|
1857
|
+
extra?: {
|
|
1858
|
+
rawValue: string;
|
|
1859
|
+
raw: string;
|
|
1860
|
+
};
|
|
1861
|
+
loc?: K.SourceLocationKind | null;
|
|
1862
|
+
regex?: {
|
|
1863
|
+
pattern: string;
|
|
1864
|
+
flags: string;
|
|
1865
|
+
} | null;
|
|
1866
|
+
value: string;
|
|
1867
|
+
}): namedTypes.DecimalLiteral;
|
|
1868
|
+
}
|
|
1770
1869
|
export interface NullLiteralBuilder {
|
|
1771
1870
|
(): namedTypes.NullLiteral;
|
|
1772
1871
|
from(params: {
|
|
@@ -1805,29 +1904,6 @@ export interface RegExpLiteralBuilder {
|
|
|
1805
1904
|
value?: RegExp;
|
|
1806
1905
|
}): namedTypes.RegExpLiteral;
|
|
1807
1906
|
}
|
|
1808
|
-
export interface ObjectMethodBuilder {
|
|
1809
|
-
(kind: "method" | "get" | "set", key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind, params: K.PatternKind[], body: K.BlockStatementKind, computed?: boolean): namedTypes.ObjectMethod;
|
|
1810
|
-
from(params: {
|
|
1811
|
-
accessibility?: K.LiteralKind | null;
|
|
1812
|
-
async?: boolean;
|
|
1813
|
-
body: K.BlockStatementKind;
|
|
1814
|
-
comments?: K.CommentKind[] | null;
|
|
1815
|
-
computed?: boolean;
|
|
1816
|
-
decorators?: K.DecoratorKind[] | null;
|
|
1817
|
-
defaults?: (K.ExpressionKind | null)[];
|
|
1818
|
-
expression?: boolean;
|
|
1819
|
-
generator?: boolean;
|
|
1820
|
-
id?: K.IdentifierKind | null;
|
|
1821
|
-
key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind;
|
|
1822
|
-
kind: "method" | "get" | "set";
|
|
1823
|
-
loc?: K.SourceLocationKind | null;
|
|
1824
|
-
params: K.PatternKind[];
|
|
1825
|
-
predicate?: K.FlowPredicateKind | null;
|
|
1826
|
-
rest?: K.IdentifierKind | null;
|
|
1827
|
-
returnType?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null;
|
|
1828
|
-
typeParameters?: K.TypeParameterDeclarationKind | K.TSTypeParameterDeclarationKind | null;
|
|
1829
|
-
}): namedTypes.ObjectMethod;
|
|
1830
|
-
}
|
|
1831
1907
|
export interface ClassMethodBuilder {
|
|
1832
1908
|
(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;
|
|
1833
1909
|
from(params: {
|
|
@@ -1907,6 +1983,21 @@ export interface ImportBuilder {
|
|
|
1907
1983
|
loc?: K.SourceLocationKind | null;
|
|
1908
1984
|
}): namedTypes.Import;
|
|
1909
1985
|
}
|
|
1986
|
+
export interface V8IntrinsicIdentifierBuilder {
|
|
1987
|
+
(name: string): namedTypes.V8IntrinsicIdentifier;
|
|
1988
|
+
from(params: {
|
|
1989
|
+
comments?: K.CommentKind[] | null;
|
|
1990
|
+
loc?: K.SourceLocationKind | null;
|
|
1991
|
+
name: string;
|
|
1992
|
+
}): namedTypes.V8IntrinsicIdentifier;
|
|
1993
|
+
}
|
|
1994
|
+
export interface TopicReferenceBuilder {
|
|
1995
|
+
(): namedTypes.TopicReference;
|
|
1996
|
+
from(params: {
|
|
1997
|
+
comments?: K.CommentKind[] | null;
|
|
1998
|
+
loc?: K.SourceLocationKind | null;
|
|
1999
|
+
}): namedTypes.TopicReference;
|
|
2000
|
+
}
|
|
1910
2001
|
export interface TSQualifiedNameBuilder {
|
|
1911
2002
|
(left: K.IdentifierKind | K.TSQualifiedNameKind, right: K.IdentifierKind | K.TSQualifiedNameKind): namedTypes.TSQualifiedName;
|
|
1912
2003
|
from(params: {
|
|
@@ -2029,6 +2120,13 @@ export interface TSVoidKeywordBuilder {
|
|
|
2029
2120
|
loc?: K.SourceLocationKind | null;
|
|
2030
2121
|
}): namedTypes.TSVoidKeyword;
|
|
2031
2122
|
}
|
|
2123
|
+
export interface TSIntrinsicKeywordBuilder {
|
|
2124
|
+
(): namedTypes.TSIntrinsicKeyword;
|
|
2125
|
+
from(params: {
|
|
2126
|
+
comments?: K.CommentKind[] | null;
|
|
2127
|
+
loc?: K.SourceLocationKind | null;
|
|
2128
|
+
}): namedTypes.TSIntrinsicKeyword;
|
|
2129
|
+
}
|
|
2032
2130
|
export interface TSThisTypeBuilder {
|
|
2033
2131
|
(): namedTypes.TSThisType;
|
|
2034
2132
|
from(params: {
|
|
@@ -2528,6 +2626,15 @@ export interface builders {
|
|
|
2528
2626
|
chainExpression: ChainExpressionBuilder;
|
|
2529
2627
|
optionalCallExpression: OptionalCallExpressionBuilder;
|
|
2530
2628
|
optionalMemberExpression: OptionalMemberExpressionBuilder;
|
|
2629
|
+
staticBlock: StaticBlockBuilder;
|
|
2630
|
+
decorator: DecoratorBuilder;
|
|
2631
|
+
privateName: PrivateNameBuilder;
|
|
2632
|
+
classPrivateProperty: ClassPrivatePropertyBuilder;
|
|
2633
|
+
importAttribute: ImportAttributeBuilder;
|
|
2634
|
+
recordExpression: RecordExpressionBuilder;
|
|
2635
|
+
objectMethod: ObjectMethodBuilder;
|
|
2636
|
+
tupleExpression: TupleExpressionBuilder;
|
|
2637
|
+
moduleExpression: ModuleExpressionBuilder;
|
|
2531
2638
|
jsxAttribute: JSXAttributeBuilder;
|
|
2532
2639
|
jsxIdentifier: JSXIdentifierBuilder;
|
|
2533
2640
|
jsxNamespacedName: JSXNamespacedNameBuilder;
|
|
@@ -2543,9 +2650,6 @@ export interface builders {
|
|
|
2543
2650
|
jsxClosingElement: JSXClosingElementBuilder;
|
|
2544
2651
|
jsxOpeningFragment: JSXOpeningFragmentBuilder;
|
|
2545
2652
|
jsxClosingFragment: JSXClosingFragmentBuilder;
|
|
2546
|
-
decorator: DecoratorBuilder;
|
|
2547
|
-
privateName: PrivateNameBuilder;
|
|
2548
|
-
classPrivateProperty: ClassPrivatePropertyBuilder;
|
|
2549
2653
|
typeParameterDeclaration: TypeParameterDeclarationBuilder;
|
|
2550
2654
|
tsTypeParameterDeclaration: TSTypeParameterDeclarationBuilder;
|
|
2551
2655
|
typeParameterInstantiation: TypeParameterInstantiationBuilder;
|
|
@@ -2585,6 +2689,8 @@ export interface builders {
|
|
|
2585
2689
|
qualifiedTypeIdentifier: QualifiedTypeIdentifierBuilder;
|
|
2586
2690
|
genericTypeAnnotation: GenericTypeAnnotationBuilder;
|
|
2587
2691
|
memberTypeAnnotation: MemberTypeAnnotationBuilder;
|
|
2692
|
+
indexedAccessType: IndexedAccessTypeBuilder;
|
|
2693
|
+
optionalIndexedAccessType: OptionalIndexedAccessTypeBuilder;
|
|
2588
2694
|
unionTypeAnnotation: UnionTypeAnnotationBuilder;
|
|
2589
2695
|
intersectionTypeAnnotation: IntersectionTypeAnnotationBuilder;
|
|
2590
2696
|
typeofTypeAnnotation: TypeofTypeAnnotationBuilder;
|
|
@@ -2635,15 +2741,17 @@ export interface builders {
|
|
|
2635
2741
|
stringLiteral: StringLiteralBuilder;
|
|
2636
2742
|
numericLiteral: NumericLiteralBuilder;
|
|
2637
2743
|
bigIntLiteral: BigIntLiteralBuilder;
|
|
2744
|
+
decimalLiteral: DecimalLiteralBuilder;
|
|
2638
2745
|
nullLiteral: NullLiteralBuilder;
|
|
2639
2746
|
booleanLiteral: BooleanLiteralBuilder;
|
|
2640
2747
|
regExpLiteral: RegExpLiteralBuilder;
|
|
2641
|
-
objectMethod: ObjectMethodBuilder;
|
|
2642
2748
|
classMethod: ClassMethodBuilder;
|
|
2643
2749
|
classPrivateMethod: ClassPrivateMethodBuilder;
|
|
2644
2750
|
restProperty: RestPropertyBuilder;
|
|
2645
2751
|
forAwaitStatement: ForAwaitStatementBuilder;
|
|
2646
2752
|
import: ImportBuilder;
|
|
2753
|
+
v8IntrinsicIdentifier: V8IntrinsicIdentifierBuilder;
|
|
2754
|
+
topicReference: TopicReferenceBuilder;
|
|
2647
2755
|
tsQualifiedName: TSQualifiedNameBuilder;
|
|
2648
2756
|
tsTypeReference: TSTypeReferenceBuilder;
|
|
2649
2757
|
tsAsExpression: TSAsExpressionBuilder;
|
|
@@ -2660,6 +2768,7 @@ export interface builders {
|
|
|
2660
2768
|
tsUndefinedKeyword: TSUndefinedKeywordBuilder;
|
|
2661
2769
|
tsUnknownKeyword: TSUnknownKeywordBuilder;
|
|
2662
2770
|
tsVoidKeyword: TSVoidKeywordBuilder;
|
|
2771
|
+
tsIntrinsicKeyword: TSIntrinsicKeywordBuilder;
|
|
2663
2772
|
tsThisType: TSThisTypeBuilder;
|
|
2664
2773
|
tsArrayType: TSArrayTypeBuilder;
|
|
2665
2774
|
tsLiteralType: TSLiteralTypeBuilder;
|
package/gen/kinds.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { namedTypes } from "./namedTypes";
|
|
2
|
-
export declare 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.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.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.
|
|
2
|
+
export declare 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.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.StaticBlock | 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.RestProperty | namedTypes.ForAwaitStatement | namedTypes.Import | namedTypes.V8IntrinsicIdentifier | namedTypes.TopicReference | namedTypes.TSQualifiedName | namedTypes.TSTypeReference | namedTypes.TSAsExpression | 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.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleBlock | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSExportAssignment | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceBody | namedTypes.TSInterfaceDeclaration | namedTypes.TSParameterProperty;
|
|
3
3
|
export declare type SourceLocationKind = namedTypes.SourceLocation;
|
|
4
|
-
export declare 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.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.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.
|
|
4
|
+
export declare 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.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.StaticBlock | 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.RestProperty | namedTypes.ForAwaitStatement | namedTypes.Import | namedTypes.V8IntrinsicIdentifier | namedTypes.TopicReference | namedTypes.TSQualifiedName | namedTypes.TSTypeReference | namedTypes.TSAsExpression | 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.TSEnumDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSModuleBlock | namedTypes.TSModuleDeclaration | namedTypes.TSImportEqualsDeclaration | namedTypes.TSExternalModuleReference | namedTypes.TSExportAssignment | namedTypes.TSNamespaceExportDeclaration | namedTypes.TSInterfaceBody | namedTypes.TSInterfaceDeclaration | namedTypes.TSParameterProperty;
|
|
5
5
|
export declare type CommentKind = namedTypes.Block | namedTypes.Line | namedTypes.CommentBlock | namedTypes.CommentLine;
|
|
6
6
|
export declare type PositionKind = namedTypes.Position;
|
|
7
7
|
export declare type FileKind = namedTypes.File;
|
|
8
8
|
export declare type ProgramKind = namedTypes.Program;
|
|
9
9
|
export declare 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.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.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
10
|
export declare type FunctionKind = namedTypes.FunctionDeclaration | namedTypes.FunctionExpression | namedTypes.ArrowFunctionExpression | namedTypes.ObjectMethod | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod;
|
|
11
|
-
export declare 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.JSXIdentifier | namedTypes.JSXExpressionContainer | namedTypes.JSXElement | namedTypes.JSXFragment | namedTypes.JSXMemberExpression | namedTypes.JSXText | namedTypes.
|
|
12
|
-
export declare type PatternKind = namedTypes.Identifier | namedTypes.RestElement | namedTypes.SpreadElementPattern | namedTypes.PropertyPattern | namedTypes.ObjectPattern | namedTypes.ArrayPattern | namedTypes.AssignmentPattern | namedTypes.SpreadPropertyPattern | namedTypes.
|
|
11
|
+
export declare 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.TSNonNullExpression | namedTypes.TSTypeParameter | namedTypes.TSTypeAssertion;
|
|
12
|
+
export declare 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.TSNonNullExpression | namedTypes.TSTypeParameter | namedTypes.TSTypeAssertion | namedTypes.TSParameterProperty;
|
|
13
13
|
export declare type IdentifierKind = namedTypes.Identifier | namedTypes.JSXIdentifier | namedTypes.TSTypeParameter;
|
|
14
14
|
export declare type BlockStatementKind = namedTypes.BlockStatement;
|
|
15
15
|
export declare type EmptyStatementKind = namedTypes.EmptyStatement;
|
|
@@ -39,7 +39,7 @@ export declare type ThisExpressionKind = namedTypes.ThisExpression;
|
|
|
39
39
|
export declare type ArrayExpressionKind = namedTypes.ArrayExpression;
|
|
40
40
|
export declare type ObjectExpressionKind = namedTypes.ObjectExpression;
|
|
41
41
|
export declare type PropertyKind = namedTypes.Property;
|
|
42
|
-
export declare type LiteralKind = namedTypes.Literal | namedTypes.JSXText | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral;
|
|
42
|
+
export declare type LiteralKind = namedTypes.Literal | namedTypes.JSXText | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.DecimalLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral;
|
|
43
43
|
export declare type SequenceExpressionKind = namedTypes.SequenceExpression;
|
|
44
44
|
export declare type UnaryExpressionKind = namedTypes.UnaryExpression;
|
|
45
45
|
export declare type BinaryExpressionKind = namedTypes.BinaryExpression;
|
|
@@ -95,6 +95,15 @@ export declare type ImportExpressionKind = namedTypes.ImportExpression;
|
|
|
95
95
|
export declare type ChainExpressionKind = namedTypes.ChainExpression;
|
|
96
96
|
export declare type OptionalCallExpressionKind = namedTypes.OptionalCallExpression;
|
|
97
97
|
export declare type OptionalMemberExpressionKind = namedTypes.OptionalMemberExpression;
|
|
98
|
+
export declare type StaticBlockKind = namedTypes.StaticBlock;
|
|
99
|
+
export declare type DecoratorKind = namedTypes.Decorator;
|
|
100
|
+
export declare type PrivateNameKind = namedTypes.PrivateName;
|
|
101
|
+
export declare type ClassPrivatePropertyKind = namedTypes.ClassPrivateProperty;
|
|
102
|
+
export declare type ImportAttributeKind = namedTypes.ImportAttribute;
|
|
103
|
+
export declare type RecordExpressionKind = namedTypes.RecordExpression;
|
|
104
|
+
export declare type ObjectMethodKind = namedTypes.ObjectMethod;
|
|
105
|
+
export declare type TupleExpressionKind = namedTypes.TupleExpression;
|
|
106
|
+
export declare type ModuleExpressionKind = namedTypes.ModuleExpression;
|
|
98
107
|
export declare type JSXAttributeKind = namedTypes.JSXAttribute;
|
|
99
108
|
export declare type JSXIdentifierKind = namedTypes.JSXIdentifier;
|
|
100
109
|
export declare type JSXNamespacedNameKind = namedTypes.JSXNamespacedName;
|
|
@@ -110,19 +119,16 @@ export declare type JSXOpeningElementKind = namedTypes.JSXOpeningElement;
|
|
|
110
119
|
export declare type JSXClosingElementKind = namedTypes.JSXClosingElement;
|
|
111
120
|
export declare type JSXOpeningFragmentKind = namedTypes.JSXOpeningFragment;
|
|
112
121
|
export declare type JSXClosingFragmentKind = namedTypes.JSXClosingFragment;
|
|
113
|
-
export declare type DecoratorKind = namedTypes.Decorator;
|
|
114
|
-
export declare type PrivateNameKind = namedTypes.PrivateName;
|
|
115
|
-
export declare type ClassPrivatePropertyKind = namedTypes.ClassPrivateProperty;
|
|
116
122
|
export declare type TypeParameterDeclarationKind = namedTypes.TypeParameterDeclaration;
|
|
117
123
|
export declare type TSTypeParameterDeclarationKind = namedTypes.TSTypeParameterDeclaration;
|
|
118
124
|
export declare type TypeParameterInstantiationKind = namedTypes.TypeParameterInstantiation;
|
|
119
125
|
export declare type TSTypeParameterInstantiationKind = namedTypes.TSTypeParameterInstantiation;
|
|
120
126
|
export declare type ClassImplementsKind = namedTypes.ClassImplements;
|
|
121
|
-
export declare 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.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;
|
|
127
|
+
export declare 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;
|
|
122
128
|
export declare type TSHasOptionalTypeParameterInstantiationKind = namedTypes.TSExpressionWithTypeArguments | namedTypes.TSTypeReference | namedTypes.TSImportType;
|
|
123
129
|
export declare type TSExpressionWithTypeArgumentsKind = namedTypes.TSExpressionWithTypeArguments;
|
|
124
|
-
export declare 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.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.TupleTypeAnnotation | namedTypes.InferredPredicate | namedTypes.DeclaredPredicate;
|
|
125
|
-
export declare 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.UnionTypeAnnotation | namedTypes.IntersectionTypeAnnotation | namedTypes.TypeofTypeAnnotation | namedTypes.TypeParameter | namedTypes.InterfaceTypeAnnotation | namedTypes.TupleTypeAnnotation;
|
|
130
|
+
export declare 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 declare 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;
|
|
126
132
|
export declare type AnyTypeAnnotationKind = namedTypes.AnyTypeAnnotation;
|
|
127
133
|
export declare type EmptyTypeAnnotationKind = namedTypes.EmptyTypeAnnotation;
|
|
128
134
|
export declare type MixedTypeAnnotationKind = namedTypes.MixedTypeAnnotation;
|
|
@@ -156,6 +162,8 @@ export declare type VarianceKind = namedTypes.Variance;
|
|
|
156
162
|
export declare type QualifiedTypeIdentifierKind = namedTypes.QualifiedTypeIdentifier;
|
|
157
163
|
export declare type GenericTypeAnnotationKind = namedTypes.GenericTypeAnnotation;
|
|
158
164
|
export declare type MemberTypeAnnotationKind = namedTypes.MemberTypeAnnotation;
|
|
165
|
+
export declare type IndexedAccessTypeKind = namedTypes.IndexedAccessType;
|
|
166
|
+
export declare type OptionalIndexedAccessTypeKind = namedTypes.OptionalIndexedAccessType;
|
|
159
167
|
export declare type UnionTypeAnnotationKind = namedTypes.UnionTypeAnnotation;
|
|
160
168
|
export declare type IntersectionTypeAnnotationKind = namedTypes.IntersectionTypeAnnotation;
|
|
161
169
|
export declare type TypeofTypeAnnotationKind = namedTypes.TypeofTypeAnnotation;
|
|
@@ -207,15 +215,17 @@ export declare type InterpreterDirectiveKind = namedTypes.InterpreterDirective;
|
|
|
207
215
|
export declare type StringLiteralKind = namedTypes.StringLiteral;
|
|
208
216
|
export declare type NumericLiteralKind = namedTypes.NumericLiteral;
|
|
209
217
|
export declare type BigIntLiteralKind = namedTypes.BigIntLiteral;
|
|
218
|
+
export declare type DecimalLiteralKind = namedTypes.DecimalLiteral;
|
|
210
219
|
export declare type NullLiteralKind = namedTypes.NullLiteral;
|
|
211
220
|
export declare type BooleanLiteralKind = namedTypes.BooleanLiteral;
|
|
212
221
|
export declare type RegExpLiteralKind = namedTypes.RegExpLiteral;
|
|
213
|
-
export declare type ObjectMethodKind = namedTypes.ObjectMethod;
|
|
214
222
|
export declare type ClassMethodKind = namedTypes.ClassMethod;
|
|
215
223
|
export declare type ClassPrivateMethodKind = namedTypes.ClassPrivateMethod;
|
|
216
224
|
export declare type RestPropertyKind = namedTypes.RestProperty;
|
|
217
225
|
export declare type ForAwaitStatementKind = namedTypes.ForAwaitStatement;
|
|
218
226
|
export declare type ImportKind = namedTypes.Import;
|
|
227
|
+
export declare type V8IntrinsicIdentifierKind = namedTypes.V8IntrinsicIdentifier;
|
|
228
|
+
export declare type TopicReferenceKind = namedTypes.TopicReference;
|
|
219
229
|
export declare type TSQualifiedNameKind = namedTypes.TSQualifiedName;
|
|
220
230
|
export declare type TSTypeReferenceKind = namedTypes.TSTypeReference;
|
|
221
231
|
export declare type TSHasOptionalTypeParametersKind = namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSInterfaceDeclaration;
|
|
@@ -234,6 +244,7 @@ export declare type TSSymbolKeywordKind = namedTypes.TSSymbolKeyword;
|
|
|
234
244
|
export declare type TSUndefinedKeywordKind = namedTypes.TSUndefinedKeyword;
|
|
235
245
|
export declare type TSUnknownKeywordKind = namedTypes.TSUnknownKeyword;
|
|
236
246
|
export declare type TSVoidKeywordKind = namedTypes.TSVoidKeyword;
|
|
247
|
+
export declare type TSIntrinsicKeywordKind = namedTypes.TSIntrinsicKeyword;
|
|
237
248
|
export declare type TSThisTypeKind = namedTypes.TSThisType;
|
|
238
249
|
export declare type TSArrayTypeKind = namedTypes.TSArrayType;
|
|
239
250
|
export declare type TSLiteralTypeKind = namedTypes.TSLiteralType;
|