ast-types 0.13.4 → 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 +20 -59
- package/def/babel.js +15 -2
- package/def/core.js +8 -8
- package/def/es-proposals.js +49 -20
- package/def/{es7.d.ts → es2016.d.ts} +0 -0
- package/def/es2016.js +14 -0
- package/def/es2017.d.ts +2 -0
- package/def/es2017.js +20 -0
- package/def/es2018.d.ts +2 -0
- package/def/{es7.js → es2018.js} +13 -13
- package/def/es2019.d.ts +2 -0
- package/def/es2019.js +17 -0
- package/def/es2020.js +36 -3
- 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 +48 -22
- package/def/esprima.js +4 -4
- package/def/flow.js +85 -17
- package/def/jsx.js +27 -22
- 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 +489 -258
- package/gen/kinds.d.ts +61 -36
- package/gen/namedTypes.d.ts +334 -166
- package/gen/visitor.d.ts +47 -22
- 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 +63 -26
- package/lib/shared.js +1 -1
- package/lib/types.js +6 -6
- package/main.js +9 -19
- package/package.json +15 -15
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.
|
|
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.
|
|
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
|
-
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.
|
|
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.TaggedTemplateExpression | namedTypes.TemplateLiteral | namedTypes.AwaitExpression | namedTypes.ImportExpression | 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;
|
|
@@ -28,7 +28,7 @@ export declare type CatchClauseKind = namedTypes.CatchClause;
|
|
|
28
28
|
export declare type WhileStatementKind = namedTypes.WhileStatement;
|
|
29
29
|
export declare type DoWhileStatementKind = namedTypes.DoWhileStatement;
|
|
30
30
|
export declare type ForStatementKind = namedTypes.ForStatement;
|
|
31
|
-
export declare type DeclarationKind = namedTypes.VariableDeclaration | namedTypes.FunctionDeclaration | namedTypes.MethodDefinition | namedTypes.ClassPropertyDefinition | namedTypes.ClassProperty | namedTypes.ClassBody | namedTypes.ClassDeclaration | namedTypes.ImportDeclaration | namedTypes.
|
|
31
|
+
export declare type DeclarationKind = namedTypes.VariableDeclaration | namedTypes.FunctionDeclaration | 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.DeclareClass | namedTypes.DeclareExportDeclaration | namedTypes.DeclareExportAllDeclaration | namedTypes.EnumDeclaration | namedTypes.ExportDeclaration | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | 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
32
|
export declare type VariableDeclarationKind = namedTypes.VariableDeclaration;
|
|
33
33
|
export declare type ForInStatementKind = namedTypes.ForInStatement;
|
|
34
34
|
export declare type DebuggerStatementKind = namedTypes.DebuggerStatement;
|
|
@@ -39,12 +39,13 @@ 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;
|
|
46
46
|
export declare type AssignmentExpressionKind = namedTypes.AssignmentExpression;
|
|
47
|
-
export declare type
|
|
47
|
+
export declare type ChainElementKind = namedTypes.MemberExpression | namedTypes.CallExpression | namedTypes.OptionalCallExpression | namedTypes.OptionalMemberExpression | namedTypes.JSXMemberExpression;
|
|
48
|
+
export declare type MemberExpressionKind = namedTypes.MemberExpression | namedTypes.OptionalMemberExpression | namedTypes.JSXMemberExpression;
|
|
48
49
|
export declare type UpdateExpressionKind = namedTypes.UpdateExpression;
|
|
49
50
|
export declare type LogicalExpressionKind = namedTypes.LogicalExpression;
|
|
50
51
|
export declare type ConditionalExpressionKind = namedTypes.ConditionalExpression;
|
|
@@ -64,59 +65,80 @@ export declare type ObjectPropertyKind = namedTypes.ObjectProperty;
|
|
|
64
65
|
export declare type PropertyPatternKind = namedTypes.PropertyPattern;
|
|
65
66
|
export declare type ObjectPatternKind = namedTypes.ObjectPattern;
|
|
66
67
|
export declare type ArrayPatternKind = namedTypes.ArrayPattern;
|
|
67
|
-
export declare type MethodDefinitionKind = namedTypes.MethodDefinition;
|
|
68
68
|
export declare type SpreadElementKind = namedTypes.SpreadElement;
|
|
69
69
|
export declare type AssignmentPatternKind = namedTypes.AssignmentPattern;
|
|
70
|
+
export declare type MethodDefinitionKind = namedTypes.MethodDefinition;
|
|
70
71
|
export declare type ClassPropertyDefinitionKind = namedTypes.ClassPropertyDefinition;
|
|
71
72
|
export declare type ClassPropertyKind = namedTypes.ClassProperty | namedTypes.ClassPrivateProperty;
|
|
72
73
|
export declare type ClassBodyKind = namedTypes.ClassBody;
|
|
73
74
|
export declare type ClassDeclarationKind = namedTypes.ClassDeclaration;
|
|
74
75
|
export declare type ClassExpressionKind = namedTypes.ClassExpression;
|
|
75
|
-
export declare type
|
|
76
|
-
export declare type
|
|
76
|
+
export declare type SuperKind = namedTypes.Super;
|
|
77
|
+
export declare type SpecifierKind = namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ExportSpecifier | namedTypes.ExportBatchSpecifier | namedTypes.ExportNamespaceSpecifier | namedTypes.ExportDefaultSpecifier;
|
|
78
|
+
export declare type ModuleSpecifierKind = namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ExportSpecifier;
|
|
77
79
|
export declare type ImportSpecifierKind = namedTypes.ImportSpecifier;
|
|
78
|
-
export declare type ImportNamespaceSpecifierKind = namedTypes.ImportNamespaceSpecifier;
|
|
79
80
|
export declare type ImportDefaultSpecifierKind = namedTypes.ImportDefaultSpecifier;
|
|
81
|
+
export declare type ImportNamespaceSpecifierKind = namedTypes.ImportNamespaceSpecifier;
|
|
80
82
|
export declare type ImportDeclarationKind = namedTypes.ImportDeclaration;
|
|
83
|
+
export declare type ExportNamedDeclarationKind = namedTypes.ExportNamedDeclaration;
|
|
84
|
+
export declare type ExportSpecifierKind = namedTypes.ExportSpecifier;
|
|
85
|
+
export declare type ExportDefaultDeclarationKind = namedTypes.ExportDefaultDeclaration;
|
|
86
|
+
export declare type ExportAllDeclarationKind = namedTypes.ExportAllDeclaration;
|
|
81
87
|
export declare type TaggedTemplateExpressionKind = namedTypes.TaggedTemplateExpression;
|
|
82
88
|
export declare type TemplateLiteralKind = namedTypes.TemplateLiteral;
|
|
83
89
|
export declare type TemplateElementKind = namedTypes.TemplateElement;
|
|
90
|
+
export declare type MetaPropertyKind = namedTypes.MetaProperty;
|
|
91
|
+
export declare type AwaitExpressionKind = namedTypes.AwaitExpression;
|
|
84
92
|
export declare type SpreadPropertyKind = namedTypes.SpreadProperty;
|
|
85
93
|
export declare type SpreadPropertyPatternKind = namedTypes.SpreadPropertyPattern;
|
|
86
|
-
export declare type AwaitExpressionKind = namedTypes.AwaitExpression;
|
|
87
94
|
export declare type ImportExpressionKind = namedTypes.ImportExpression;
|
|
95
|
+
export declare type ChainExpressionKind = namedTypes.ChainExpression;
|
|
96
|
+
export declare type OptionalCallExpressionKind = namedTypes.OptionalCallExpression;
|
|
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;
|
|
88
107
|
export declare type JSXAttributeKind = namedTypes.JSXAttribute;
|
|
89
108
|
export declare type JSXIdentifierKind = namedTypes.JSXIdentifier;
|
|
90
109
|
export declare type JSXNamespacedNameKind = namedTypes.JSXNamespacedName;
|
|
91
110
|
export declare type JSXExpressionContainerKind = namedTypes.JSXExpressionContainer;
|
|
111
|
+
export declare type JSXElementKind = namedTypes.JSXElement;
|
|
112
|
+
export declare type JSXFragmentKind = namedTypes.JSXFragment;
|
|
92
113
|
export declare type JSXMemberExpressionKind = namedTypes.JSXMemberExpression;
|
|
93
114
|
export declare type JSXSpreadAttributeKind = namedTypes.JSXSpreadAttribute;
|
|
94
|
-
export declare type
|
|
115
|
+
export declare type JSXEmptyExpressionKind = namedTypes.JSXEmptyExpression;
|
|
116
|
+
export declare type JSXTextKind = namedTypes.JSXText;
|
|
117
|
+
export declare type JSXSpreadChildKind = namedTypes.JSXSpreadChild;
|
|
95
118
|
export declare type JSXOpeningElementKind = namedTypes.JSXOpeningElement;
|
|
96
119
|
export declare type JSXClosingElementKind = namedTypes.JSXClosingElement;
|
|
97
|
-
export declare type JSXFragmentKind = namedTypes.JSXFragment;
|
|
98
|
-
export declare type JSXTextKind = namedTypes.JSXText;
|
|
99
120
|
export declare type JSXOpeningFragmentKind = namedTypes.JSXOpeningFragment;
|
|
100
121
|
export declare type JSXClosingFragmentKind = namedTypes.JSXClosingFragment;
|
|
101
|
-
export declare type JSXEmptyExpressionKind = namedTypes.JSXEmptyExpression;
|
|
102
|
-
export declare type JSXSpreadChildKind = namedTypes.JSXSpreadChild;
|
|
103
122
|
export declare type TypeParameterDeclarationKind = namedTypes.TypeParameterDeclaration;
|
|
104
123
|
export declare type TSTypeParameterDeclarationKind = namedTypes.TSTypeParameterDeclaration;
|
|
105
124
|
export declare type TypeParameterInstantiationKind = namedTypes.TypeParameterInstantiation;
|
|
106
125
|
export declare type TSTypeParameterInstantiationKind = namedTypes.TSTypeParameterInstantiation;
|
|
107
126
|
export declare type ClassImplementsKind = namedTypes.ClassImplements;
|
|
108
|
-
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;
|
|
109
128
|
export declare type TSHasOptionalTypeParameterInstantiationKind = namedTypes.TSExpressionWithTypeArguments | namedTypes.TSTypeReference | namedTypes.TSImportType;
|
|
110
129
|
export declare type TSExpressionWithTypeArgumentsKind = namedTypes.TSExpressionWithTypeArguments;
|
|
111
|
-
export declare type FlowKind = namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | 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;
|
|
112
|
-
export declare type FlowTypeKind = namedTypes.AnyTypeAnnotation | namedTypes.EmptyTypeAnnotation | namedTypes.MixedTypeAnnotation | namedTypes.VoidTypeAnnotation | namedTypes.NumberTypeAnnotation | namedTypes.NumberLiteralTypeAnnotation | namedTypes.NumericLiteralTypeAnnotation | 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;
|
|
113
132
|
export declare type AnyTypeAnnotationKind = namedTypes.AnyTypeAnnotation;
|
|
114
133
|
export declare type EmptyTypeAnnotationKind = namedTypes.EmptyTypeAnnotation;
|
|
115
134
|
export declare type MixedTypeAnnotationKind = namedTypes.MixedTypeAnnotation;
|
|
116
135
|
export declare type VoidTypeAnnotationKind = namedTypes.VoidTypeAnnotation;
|
|
136
|
+
export declare type SymbolTypeAnnotationKind = namedTypes.SymbolTypeAnnotation;
|
|
117
137
|
export declare type NumberTypeAnnotationKind = namedTypes.NumberTypeAnnotation;
|
|
138
|
+
export declare type BigIntTypeAnnotationKind = namedTypes.BigIntTypeAnnotation;
|
|
118
139
|
export declare type NumberLiteralTypeAnnotationKind = namedTypes.NumberLiteralTypeAnnotation;
|
|
119
140
|
export declare type NumericLiteralTypeAnnotationKind = namedTypes.NumericLiteralTypeAnnotation;
|
|
141
|
+
export declare type BigIntLiteralTypeAnnotationKind = namedTypes.BigIntLiteralTypeAnnotation;
|
|
120
142
|
export declare type StringTypeAnnotationKind = namedTypes.StringTypeAnnotation;
|
|
121
143
|
export declare type StringLiteralTypeAnnotationKind = namedTypes.StringLiteralTypeAnnotation;
|
|
122
144
|
export declare type BooleanTypeAnnotationKind = namedTypes.BooleanTypeAnnotation;
|
|
@@ -140,6 +162,8 @@ export declare type VarianceKind = namedTypes.Variance;
|
|
|
140
162
|
export declare type QualifiedTypeIdentifierKind = namedTypes.QualifiedTypeIdentifier;
|
|
141
163
|
export declare type GenericTypeAnnotationKind = namedTypes.GenericTypeAnnotation;
|
|
142
164
|
export declare type MemberTypeAnnotationKind = namedTypes.MemberTypeAnnotation;
|
|
165
|
+
export declare type IndexedAccessTypeKind = namedTypes.IndexedAccessType;
|
|
166
|
+
export declare type OptionalIndexedAccessTypeKind = namedTypes.OptionalIndexedAccessType;
|
|
143
167
|
export declare type UnionTypeAnnotationKind = namedTypes.UnionTypeAnnotation;
|
|
144
168
|
export declare type IntersectionTypeAnnotationKind = namedTypes.IntersectionTypeAnnotation;
|
|
145
169
|
export declare type TypeofTypeAnnotationKind = namedTypes.TypeofTypeAnnotation;
|
|
@@ -148,39 +172,41 @@ export declare type InterfaceTypeAnnotationKind = namedTypes.InterfaceTypeAnnota
|
|
|
148
172
|
export declare type InterfaceExtendsKind = namedTypes.InterfaceExtends;
|
|
149
173
|
export declare type InterfaceDeclarationKind = namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.DeclareClass;
|
|
150
174
|
export declare type DeclareInterfaceKind = namedTypes.DeclareInterface;
|
|
151
|
-
export declare type TypeAliasKind = namedTypes.TypeAlias | namedTypes.DeclareTypeAlias
|
|
152
|
-
export declare type OpaqueTypeKind = namedTypes.OpaqueType;
|
|
175
|
+
export declare type TypeAliasKind = namedTypes.TypeAlias | namedTypes.DeclareTypeAlias;
|
|
153
176
|
export declare type DeclareTypeAliasKind = namedTypes.DeclareTypeAlias;
|
|
177
|
+
export declare type OpaqueTypeKind = namedTypes.OpaqueType | namedTypes.DeclareOpaqueType;
|
|
154
178
|
export declare type DeclareOpaqueTypeKind = namedTypes.DeclareOpaqueType;
|
|
155
179
|
export declare type TypeCastExpressionKind = namedTypes.TypeCastExpression;
|
|
156
180
|
export declare type TupleTypeAnnotationKind = namedTypes.TupleTypeAnnotation;
|
|
157
181
|
export declare type DeclareVariableKind = namedTypes.DeclareVariable;
|
|
158
182
|
export declare type DeclareFunctionKind = namedTypes.DeclareFunction;
|
|
183
|
+
export declare type FlowPredicateKind = namedTypes.InferredPredicate | namedTypes.DeclaredPredicate;
|
|
159
184
|
export declare type DeclareClassKind = namedTypes.DeclareClass;
|
|
160
185
|
export declare type DeclareModuleKind = namedTypes.DeclareModule;
|
|
161
186
|
export declare type DeclareModuleExportsKind = namedTypes.DeclareModuleExports;
|
|
162
187
|
export declare type DeclareExportDeclarationKind = namedTypes.DeclareExportDeclaration;
|
|
163
|
-
export declare type ExportSpecifierKind = namedTypes.ExportSpecifier;
|
|
164
188
|
export declare type ExportBatchSpecifierKind = namedTypes.ExportBatchSpecifier;
|
|
165
189
|
export declare type DeclareExportAllDeclarationKind = namedTypes.DeclareExportAllDeclaration;
|
|
166
|
-
export declare type FlowPredicateKind = namedTypes.InferredPredicate | namedTypes.DeclaredPredicate;
|
|
167
190
|
export declare type InferredPredicateKind = namedTypes.InferredPredicate;
|
|
168
191
|
export declare type DeclaredPredicateKind = namedTypes.DeclaredPredicate;
|
|
192
|
+
export declare type EnumDeclarationKind = namedTypes.EnumDeclaration;
|
|
193
|
+
export declare type EnumBooleanBodyKind = namedTypes.EnumBooleanBody;
|
|
194
|
+
export declare type EnumNumberBodyKind = namedTypes.EnumNumberBody;
|
|
195
|
+
export declare type EnumStringBodyKind = namedTypes.EnumStringBody;
|
|
196
|
+
export declare type EnumSymbolBodyKind = namedTypes.EnumSymbolBody;
|
|
197
|
+
export declare type EnumBooleanMemberKind = namedTypes.EnumBooleanMember;
|
|
198
|
+
export declare type EnumNumberMemberKind = namedTypes.EnumNumberMember;
|
|
199
|
+
export declare type EnumStringMemberKind = namedTypes.EnumStringMember;
|
|
200
|
+
export declare type EnumDefaultedMemberKind = namedTypes.EnumDefaultedMember;
|
|
169
201
|
export declare type ExportDeclarationKind = namedTypes.ExportDeclaration;
|
|
170
202
|
export declare type BlockKind = namedTypes.Block;
|
|
171
203
|
export declare type LineKind = namedTypes.Line;
|
|
172
204
|
export declare type NoopKind = namedTypes.Noop;
|
|
173
205
|
export declare type DoExpressionKind = namedTypes.DoExpression;
|
|
174
|
-
export declare type SuperKind = namedTypes.Super;
|
|
175
206
|
export declare type BindExpressionKind = namedTypes.BindExpression;
|
|
176
|
-
export declare type DecoratorKind = namedTypes.Decorator;
|
|
177
|
-
export declare type MetaPropertyKind = namedTypes.MetaProperty;
|
|
178
207
|
export declare type ParenthesizedExpressionKind = namedTypes.ParenthesizedExpression;
|
|
179
|
-
export declare type ExportDefaultDeclarationKind = namedTypes.ExportDefaultDeclaration;
|
|
180
|
-
export declare type ExportNamedDeclarationKind = namedTypes.ExportNamedDeclaration;
|
|
181
208
|
export declare type ExportNamespaceSpecifierKind = namedTypes.ExportNamespaceSpecifier;
|
|
182
209
|
export declare type ExportDefaultSpecifierKind = namedTypes.ExportDefaultSpecifier;
|
|
183
|
-
export declare type ExportAllDeclarationKind = namedTypes.ExportAllDeclaration;
|
|
184
210
|
export declare type CommentBlockKind = namedTypes.CommentBlock;
|
|
185
211
|
export declare type CommentLineKind = namedTypes.CommentLine;
|
|
186
212
|
export declare type DirectiveKind = namedTypes.Directive;
|
|
@@ -189,17 +215,17 @@ export declare type InterpreterDirectiveKind = namedTypes.InterpreterDirective;
|
|
|
189
215
|
export declare type StringLiteralKind = namedTypes.StringLiteral;
|
|
190
216
|
export declare type NumericLiteralKind = namedTypes.NumericLiteral;
|
|
191
217
|
export declare type BigIntLiteralKind = namedTypes.BigIntLiteral;
|
|
218
|
+
export declare type DecimalLiteralKind = namedTypes.DecimalLiteral;
|
|
192
219
|
export declare type NullLiteralKind = namedTypes.NullLiteral;
|
|
193
220
|
export declare type BooleanLiteralKind = namedTypes.BooleanLiteral;
|
|
194
221
|
export declare type RegExpLiteralKind = namedTypes.RegExpLiteral;
|
|
195
|
-
export declare type ObjectMethodKind = namedTypes.ObjectMethod;
|
|
196
|
-
export declare type ClassPrivatePropertyKind = namedTypes.ClassPrivateProperty;
|
|
197
222
|
export declare type ClassMethodKind = namedTypes.ClassMethod;
|
|
198
223
|
export declare type ClassPrivateMethodKind = namedTypes.ClassPrivateMethod;
|
|
199
|
-
export declare type PrivateNameKind = namedTypes.PrivateName;
|
|
200
224
|
export declare type RestPropertyKind = namedTypes.RestProperty;
|
|
201
225
|
export declare type ForAwaitStatementKind = namedTypes.ForAwaitStatement;
|
|
202
226
|
export declare type ImportKind = namedTypes.Import;
|
|
227
|
+
export declare type V8IntrinsicIdentifierKind = namedTypes.V8IntrinsicIdentifier;
|
|
228
|
+
export declare type TopicReferenceKind = namedTypes.TopicReference;
|
|
203
229
|
export declare type TSQualifiedNameKind = namedTypes.TSQualifiedName;
|
|
204
230
|
export declare type TSTypeReferenceKind = namedTypes.TSTypeReference;
|
|
205
231
|
export declare type TSHasOptionalTypeParametersKind = namedTypes.TSFunctionType | namedTypes.TSConstructorType | namedTypes.TSDeclareFunction | namedTypes.TSDeclareMethod | namedTypes.TSMethodSignature | namedTypes.TSCallSignatureDeclaration | namedTypes.TSConstructSignatureDeclaration | namedTypes.TSTypeAliasDeclaration | namedTypes.TSInterfaceDeclaration;
|
|
@@ -218,6 +244,7 @@ export declare type TSSymbolKeywordKind = namedTypes.TSSymbolKeyword;
|
|
|
218
244
|
export declare type TSUndefinedKeywordKind = namedTypes.TSUndefinedKeyword;
|
|
219
245
|
export declare type TSUnknownKeywordKind = namedTypes.TSUnknownKeyword;
|
|
220
246
|
export declare type TSVoidKeywordKind = namedTypes.TSVoidKeyword;
|
|
247
|
+
export declare type TSIntrinsicKeywordKind = namedTypes.TSIntrinsicKeyword;
|
|
221
248
|
export declare type TSThisTypeKind = namedTypes.TSThisType;
|
|
222
249
|
export declare type TSArrayTypeKind = namedTypes.TSArrayType;
|
|
223
250
|
export declare type TSLiteralTypeKind = namedTypes.TSLiteralType;
|
|
@@ -260,5 +287,3 @@ export declare type TSNamespaceExportDeclarationKind = namedTypes.TSNamespaceExp
|
|
|
260
287
|
export declare type TSInterfaceBodyKind = namedTypes.TSInterfaceBody;
|
|
261
288
|
export declare type TSInterfaceDeclarationKind = namedTypes.TSInterfaceDeclaration;
|
|
262
289
|
export declare type TSParameterPropertyKind = namedTypes.TSParameterProperty;
|
|
263
|
-
export declare type OptionalMemberExpressionKind = namedTypes.OptionalMemberExpression;
|
|
264
|
-
export declare type OptionalCallExpressionKind = namedTypes.OptionalCallExpression;
|