ast-types 0.13.2 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/dependabot.yml +9 -0
- package/.github/workflows/main.yml +29 -0
- package/README.md +2 -1
- package/def/babel-core.js +5 -61
- package/def/babel.js +3 -5
- package/def/core-operators.d.ts +3 -0
- package/def/core-operators.js +20 -0
- package/def/core.js +8 -11
- package/def/es-proposals.js +28 -23
- package/def/es2016.d.ts +2 -0
- package/def/es2016.js +20 -0
- package/def/es2017.d.ts +2 -0
- package/def/es2017.js +20 -0
- package/def/es2018.d.ts +2 -0
- package/def/es2018.js +34 -0
- package/def/es2019.d.ts +2 -0
- package/def/es2019.js +17 -0
- package/def/es2020.d.ts +2 -0
- package/def/es2020.js +38 -0
- package/def/es6.js +49 -25
- package/def/es7.js +4 -6
- package/def/esprima.js +5 -7
- package/def/flow.js +75 -20
- package/def/jsx.js +28 -25
- package/def/type-annotations.js +3 -5
- package/def/typescript.js +16 -11
- package/fork.d.ts +1 -1
- package/fork.js +6 -8
- package/gen/builders.d.ts +353 -222
- package/gen/kinds.d.ts +47 -33
- package/gen/namedTypes.d.ts +249 -149
- package/gen/namedTypes.js +1 -0
- package/gen/visitor.d.ts +35 -21
- package/lib/equiv.js +2 -4
- package/lib/node-path.js +4 -6
- package/lib/path-visitor.js +3 -5
- package/lib/path.js +2 -4
- package/lib/scope.js +6 -5
- package/lib/shared.d.ts +7 -7
- package/lib/shared.js +2 -4
- package/lib/types.d.ts +1 -1
- package/lib/types.js +31 -32
- package/main.js +22 -15
- package/package.json +14 -12
- package/tsconfig.json +1 -0
- package/.travis.yml +0 -11
- package/gen/nodes.d.ts +0 -1265
- package/gen/nodes.js +0 -2
package/gen/kinds.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.OptionalMemberExpression | namedTypes.OptionalCallExpression | 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.Decorator | namedTypes.PrivateName | namedTypes.ClassPrivateProperty | 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.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.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral | namedTypes.ObjectMethod | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.RestProperty | namedTypes.ForAwaitStatement | namedTypes.Import | 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.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.OptionalMemberExpression | namedTypes.OptionalCallExpression | 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.Decorator | namedTypes.PrivateName | namedTypes.ClassPrivateProperty | 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.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.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral | namedTypes.ObjectMethod | namedTypes.ClassMethod | namedTypes.ClassPrivateMethod | namedTypes.RestProperty | namedTypes.ForAwaitStatement | namedTypes.Import | 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.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.
|
|
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.OptionalMemberExpression | namedTypes.OptionalCallExpression | namedTypes.JSXIdentifier | namedTypes.JSXExpressionContainer | namedTypes.JSXElement | namedTypes.JSXFragment | namedTypes.JSXMemberExpression | namedTypes.JSXText | namedTypes.PrivateName | namedTypes.TypeCastExpression | namedTypes.DoExpression | namedTypes.BindExpression | namedTypes.ParenthesizedExpression | namedTypes.DirectiveLiteral | namedTypes.StringLiteral | namedTypes.NumericLiteral | namedTypes.BigIntLiteral | namedTypes.NullLiteral | namedTypes.BooleanLiteral | namedTypes.RegExpLiteral | namedTypes.Import | namedTypes.TSAsExpression | namedTypes.TSNonNullExpression | namedTypes.TSTypeParameter | namedTypes.TSTypeAssertion;
|
|
12
12
|
export declare type PatternKind = namedTypes.Identifier | namedTypes.RestElement | namedTypes.SpreadElementPattern | namedTypes.PropertyPattern | namedTypes.ObjectPattern | namedTypes.ArrayPattern | namedTypes.AssignmentPattern | namedTypes.SpreadPropertyPattern | namedTypes.JSXIdentifier | namedTypes.PrivateName | 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;
|
|
@@ -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;
|
|
@@ -44,7 +44,7 @@ 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 MemberExpressionKind = namedTypes.MemberExpression | namedTypes.
|
|
47
|
+
export declare type MemberExpressionKind = namedTypes.MemberExpression | namedTypes.OptionalMemberExpression | namedTypes.JSXMemberExpression;
|
|
48
48
|
export declare type UpdateExpressionKind = namedTypes.UpdateExpression;
|
|
49
49
|
export declare type LogicalExpressionKind = namedTypes.LogicalExpression;
|
|
50
50
|
export declare type ConditionalExpressionKind = namedTypes.ConditionalExpression;
|
|
@@ -64,58 +64,73 @@ export declare type ObjectPropertyKind = namedTypes.ObjectProperty;
|
|
|
64
64
|
export declare type PropertyPatternKind = namedTypes.PropertyPattern;
|
|
65
65
|
export declare type ObjectPatternKind = namedTypes.ObjectPattern;
|
|
66
66
|
export declare type ArrayPatternKind = namedTypes.ArrayPattern;
|
|
67
|
-
export declare type MethodDefinitionKind = namedTypes.MethodDefinition;
|
|
68
67
|
export declare type SpreadElementKind = namedTypes.SpreadElement;
|
|
69
68
|
export declare type AssignmentPatternKind = namedTypes.AssignmentPattern;
|
|
69
|
+
export declare type MethodDefinitionKind = namedTypes.MethodDefinition;
|
|
70
70
|
export declare type ClassPropertyDefinitionKind = namedTypes.ClassPropertyDefinition;
|
|
71
71
|
export declare type ClassPropertyKind = namedTypes.ClassProperty | namedTypes.ClassPrivateProperty;
|
|
72
72
|
export declare type ClassBodyKind = namedTypes.ClassBody;
|
|
73
73
|
export declare type ClassDeclarationKind = namedTypes.ClassDeclaration;
|
|
74
74
|
export declare type ClassExpressionKind = namedTypes.ClassExpression;
|
|
75
|
-
export declare type
|
|
76
|
-
export declare type
|
|
75
|
+
export declare type SuperKind = namedTypes.Super;
|
|
76
|
+
export declare type SpecifierKind = namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ExportSpecifier | namedTypes.ExportBatchSpecifier | namedTypes.ExportNamespaceSpecifier | namedTypes.ExportDefaultSpecifier;
|
|
77
|
+
export declare type ModuleSpecifierKind = namedTypes.ImportSpecifier | namedTypes.ImportDefaultSpecifier | namedTypes.ImportNamespaceSpecifier | namedTypes.ExportSpecifier;
|
|
77
78
|
export declare type ImportSpecifierKind = namedTypes.ImportSpecifier;
|
|
78
|
-
export declare type ImportNamespaceSpecifierKind = namedTypes.ImportNamespaceSpecifier;
|
|
79
79
|
export declare type ImportDefaultSpecifierKind = namedTypes.ImportDefaultSpecifier;
|
|
80
|
+
export declare type ImportNamespaceSpecifierKind = namedTypes.ImportNamespaceSpecifier;
|
|
80
81
|
export declare type ImportDeclarationKind = namedTypes.ImportDeclaration;
|
|
82
|
+
export declare type ExportNamedDeclarationKind = namedTypes.ExportNamedDeclaration;
|
|
83
|
+
export declare type ExportSpecifierKind = namedTypes.ExportSpecifier;
|
|
84
|
+
export declare type ExportDefaultDeclarationKind = namedTypes.ExportDefaultDeclaration;
|
|
85
|
+
export declare type ExportAllDeclarationKind = namedTypes.ExportAllDeclaration;
|
|
81
86
|
export declare type TaggedTemplateExpressionKind = namedTypes.TaggedTemplateExpression;
|
|
82
87
|
export declare type TemplateLiteralKind = namedTypes.TemplateLiteral;
|
|
83
88
|
export declare type TemplateElementKind = namedTypes.TemplateElement;
|
|
89
|
+
export declare type MetaPropertyKind = namedTypes.MetaProperty;
|
|
90
|
+
export declare type AwaitExpressionKind = namedTypes.AwaitExpression;
|
|
84
91
|
export declare type SpreadPropertyKind = namedTypes.SpreadProperty;
|
|
85
92
|
export declare type SpreadPropertyPatternKind = namedTypes.SpreadPropertyPattern;
|
|
86
|
-
export declare type
|
|
93
|
+
export declare type ImportExpressionKind = namedTypes.ImportExpression;
|
|
94
|
+
export declare type OptionalMemberExpressionKind = namedTypes.OptionalMemberExpression;
|
|
95
|
+
export declare type OptionalCallExpressionKind = namedTypes.OptionalCallExpression;
|
|
87
96
|
export declare type JSXAttributeKind = namedTypes.JSXAttribute;
|
|
88
97
|
export declare type JSXIdentifierKind = namedTypes.JSXIdentifier;
|
|
89
98
|
export declare type JSXNamespacedNameKind = namedTypes.JSXNamespacedName;
|
|
90
99
|
export declare type JSXExpressionContainerKind = namedTypes.JSXExpressionContainer;
|
|
100
|
+
export declare type JSXElementKind = namedTypes.JSXElement;
|
|
101
|
+
export declare type JSXFragmentKind = namedTypes.JSXFragment;
|
|
91
102
|
export declare type JSXMemberExpressionKind = namedTypes.JSXMemberExpression;
|
|
92
103
|
export declare type JSXSpreadAttributeKind = namedTypes.JSXSpreadAttribute;
|
|
93
|
-
export declare type
|
|
104
|
+
export declare type JSXEmptyExpressionKind = namedTypes.JSXEmptyExpression;
|
|
105
|
+
export declare type JSXTextKind = namedTypes.JSXText;
|
|
106
|
+
export declare type JSXSpreadChildKind = namedTypes.JSXSpreadChild;
|
|
94
107
|
export declare type JSXOpeningElementKind = namedTypes.JSXOpeningElement;
|
|
95
108
|
export declare type JSXClosingElementKind = namedTypes.JSXClosingElement;
|
|
96
|
-
export declare type JSXFragmentKind = namedTypes.JSXFragment;
|
|
97
|
-
export declare type JSXTextKind = namedTypes.JSXText;
|
|
98
109
|
export declare type JSXOpeningFragmentKind = namedTypes.JSXOpeningFragment;
|
|
99
110
|
export declare type JSXClosingFragmentKind = namedTypes.JSXClosingFragment;
|
|
100
|
-
export declare type
|
|
101
|
-
export declare type
|
|
111
|
+
export declare type DecoratorKind = namedTypes.Decorator;
|
|
112
|
+
export declare type PrivateNameKind = namedTypes.PrivateName;
|
|
113
|
+
export declare type ClassPrivatePropertyKind = namedTypes.ClassPrivateProperty;
|
|
102
114
|
export declare type TypeParameterDeclarationKind = namedTypes.TypeParameterDeclaration;
|
|
103
115
|
export declare type TSTypeParameterDeclarationKind = namedTypes.TSTypeParameterDeclaration;
|
|
104
116
|
export declare type TypeParameterInstantiationKind = namedTypes.TypeParameterInstantiation;
|
|
105
117
|
export declare type TSTypeParameterInstantiationKind = namedTypes.TSTypeParameterInstantiation;
|
|
106
118
|
export declare type ClassImplementsKind = namedTypes.ClassImplements;
|
|
107
|
-
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.TSRestType | namedTypes.TSOptionalType | namedTypes.TSIndexedAccessType | namedTypes.TSTypeOperator | namedTypes.TSTypeQuery | namedTypes.TSImportType | namedTypes.TSTypeLiteral;
|
|
119
|
+
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;
|
|
108
120
|
export declare type TSHasOptionalTypeParameterInstantiationKind = namedTypes.TSExpressionWithTypeArguments | namedTypes.TSTypeReference | namedTypes.TSImportType;
|
|
109
121
|
export declare type TSExpressionWithTypeArgumentsKind = namedTypes.TSExpressionWithTypeArguments;
|
|
110
|
-
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;
|
|
111
|
-
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;
|
|
122
|
+
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;
|
|
123
|
+
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;
|
|
112
124
|
export declare type AnyTypeAnnotationKind = namedTypes.AnyTypeAnnotation;
|
|
113
125
|
export declare type EmptyTypeAnnotationKind = namedTypes.EmptyTypeAnnotation;
|
|
114
126
|
export declare type MixedTypeAnnotationKind = namedTypes.MixedTypeAnnotation;
|
|
115
127
|
export declare type VoidTypeAnnotationKind = namedTypes.VoidTypeAnnotation;
|
|
128
|
+
export declare type SymbolTypeAnnotationKind = namedTypes.SymbolTypeAnnotation;
|
|
116
129
|
export declare type NumberTypeAnnotationKind = namedTypes.NumberTypeAnnotation;
|
|
130
|
+
export declare type BigIntTypeAnnotationKind = namedTypes.BigIntTypeAnnotation;
|
|
117
131
|
export declare type NumberLiteralTypeAnnotationKind = namedTypes.NumberLiteralTypeAnnotation;
|
|
118
132
|
export declare type NumericLiteralTypeAnnotationKind = namedTypes.NumericLiteralTypeAnnotation;
|
|
133
|
+
export declare type BigIntLiteralTypeAnnotationKind = namedTypes.BigIntLiteralTypeAnnotation;
|
|
119
134
|
export declare type StringTypeAnnotationKind = namedTypes.StringTypeAnnotation;
|
|
120
135
|
export declare type StringLiteralTypeAnnotationKind = namedTypes.StringLiteralTypeAnnotation;
|
|
121
136
|
export declare type BooleanTypeAnnotationKind = namedTypes.BooleanTypeAnnotation;
|
|
@@ -147,39 +162,41 @@ export declare type InterfaceTypeAnnotationKind = namedTypes.InterfaceTypeAnnota
|
|
|
147
162
|
export declare type InterfaceExtendsKind = namedTypes.InterfaceExtends;
|
|
148
163
|
export declare type InterfaceDeclarationKind = namedTypes.InterfaceDeclaration | namedTypes.DeclareInterface | namedTypes.DeclareClass;
|
|
149
164
|
export declare type DeclareInterfaceKind = namedTypes.DeclareInterface;
|
|
150
|
-
export declare type TypeAliasKind = namedTypes.TypeAlias | namedTypes.DeclareTypeAlias
|
|
151
|
-
export declare type OpaqueTypeKind = namedTypes.OpaqueType;
|
|
165
|
+
export declare type TypeAliasKind = namedTypes.TypeAlias | namedTypes.DeclareTypeAlias;
|
|
152
166
|
export declare type DeclareTypeAliasKind = namedTypes.DeclareTypeAlias;
|
|
167
|
+
export declare type OpaqueTypeKind = namedTypes.OpaqueType | namedTypes.DeclareOpaqueType;
|
|
153
168
|
export declare type DeclareOpaqueTypeKind = namedTypes.DeclareOpaqueType;
|
|
154
169
|
export declare type TypeCastExpressionKind = namedTypes.TypeCastExpression;
|
|
155
170
|
export declare type TupleTypeAnnotationKind = namedTypes.TupleTypeAnnotation;
|
|
156
171
|
export declare type DeclareVariableKind = namedTypes.DeclareVariable;
|
|
157
172
|
export declare type DeclareFunctionKind = namedTypes.DeclareFunction;
|
|
173
|
+
export declare type FlowPredicateKind = namedTypes.InferredPredicate | namedTypes.DeclaredPredicate;
|
|
158
174
|
export declare type DeclareClassKind = namedTypes.DeclareClass;
|
|
159
175
|
export declare type DeclareModuleKind = namedTypes.DeclareModule;
|
|
160
176
|
export declare type DeclareModuleExportsKind = namedTypes.DeclareModuleExports;
|
|
161
177
|
export declare type DeclareExportDeclarationKind = namedTypes.DeclareExportDeclaration;
|
|
162
|
-
export declare type ExportSpecifierKind = namedTypes.ExportSpecifier;
|
|
163
178
|
export declare type ExportBatchSpecifierKind = namedTypes.ExportBatchSpecifier;
|
|
164
179
|
export declare type DeclareExportAllDeclarationKind = namedTypes.DeclareExportAllDeclaration;
|
|
165
|
-
export declare type FlowPredicateKind = namedTypes.InferredPredicate | namedTypes.DeclaredPredicate;
|
|
166
180
|
export declare type InferredPredicateKind = namedTypes.InferredPredicate;
|
|
167
181
|
export declare type DeclaredPredicateKind = namedTypes.DeclaredPredicate;
|
|
182
|
+
export declare type EnumDeclarationKind = namedTypes.EnumDeclaration;
|
|
183
|
+
export declare type EnumBooleanBodyKind = namedTypes.EnumBooleanBody;
|
|
184
|
+
export declare type EnumNumberBodyKind = namedTypes.EnumNumberBody;
|
|
185
|
+
export declare type EnumStringBodyKind = namedTypes.EnumStringBody;
|
|
186
|
+
export declare type EnumSymbolBodyKind = namedTypes.EnumSymbolBody;
|
|
187
|
+
export declare type EnumBooleanMemberKind = namedTypes.EnumBooleanMember;
|
|
188
|
+
export declare type EnumNumberMemberKind = namedTypes.EnumNumberMember;
|
|
189
|
+
export declare type EnumStringMemberKind = namedTypes.EnumStringMember;
|
|
190
|
+
export declare type EnumDefaultedMemberKind = namedTypes.EnumDefaultedMember;
|
|
168
191
|
export declare type ExportDeclarationKind = namedTypes.ExportDeclaration;
|
|
169
192
|
export declare type BlockKind = namedTypes.Block;
|
|
170
193
|
export declare type LineKind = namedTypes.Line;
|
|
171
194
|
export declare type NoopKind = namedTypes.Noop;
|
|
172
195
|
export declare type DoExpressionKind = namedTypes.DoExpression;
|
|
173
|
-
export declare type SuperKind = namedTypes.Super;
|
|
174
196
|
export declare type BindExpressionKind = namedTypes.BindExpression;
|
|
175
|
-
export declare type DecoratorKind = namedTypes.Decorator;
|
|
176
|
-
export declare type MetaPropertyKind = namedTypes.MetaProperty;
|
|
177
197
|
export declare type ParenthesizedExpressionKind = namedTypes.ParenthesizedExpression;
|
|
178
|
-
export declare type ExportDefaultDeclarationKind = namedTypes.ExportDefaultDeclaration;
|
|
179
|
-
export declare type ExportNamedDeclarationKind = namedTypes.ExportNamedDeclaration;
|
|
180
198
|
export declare type ExportNamespaceSpecifierKind = namedTypes.ExportNamespaceSpecifier;
|
|
181
199
|
export declare type ExportDefaultSpecifierKind = namedTypes.ExportDefaultSpecifier;
|
|
182
|
-
export declare type ExportAllDeclarationKind = namedTypes.ExportAllDeclaration;
|
|
183
200
|
export declare type CommentBlockKind = namedTypes.CommentBlock;
|
|
184
201
|
export declare type CommentLineKind = namedTypes.CommentLine;
|
|
185
202
|
export declare type DirectiveKind = namedTypes.Directive;
|
|
@@ -192,10 +209,8 @@ export declare type NullLiteralKind = namedTypes.NullLiteral;
|
|
|
192
209
|
export declare type BooleanLiteralKind = namedTypes.BooleanLiteral;
|
|
193
210
|
export declare type RegExpLiteralKind = namedTypes.RegExpLiteral;
|
|
194
211
|
export declare type ObjectMethodKind = namedTypes.ObjectMethod;
|
|
195
|
-
export declare type ClassPrivatePropertyKind = namedTypes.ClassPrivateProperty;
|
|
196
212
|
export declare type ClassMethodKind = namedTypes.ClassMethod;
|
|
197
213
|
export declare type ClassPrivateMethodKind = namedTypes.ClassPrivateMethod;
|
|
198
|
-
export declare type PrivateNameKind = namedTypes.PrivateName;
|
|
199
214
|
export declare type RestPropertyKind = namedTypes.RestProperty;
|
|
200
215
|
export declare type ForAwaitStatementKind = namedTypes.ForAwaitStatement;
|
|
201
216
|
export declare type ImportKind = namedTypes.Import;
|
|
@@ -232,6 +247,7 @@ export declare type TSDeclareFunctionKind = namedTypes.TSDeclareFunction;
|
|
|
232
247
|
export declare type TSDeclareMethodKind = namedTypes.TSDeclareMethod;
|
|
233
248
|
export declare type TSMappedTypeKind = namedTypes.TSMappedType;
|
|
234
249
|
export declare type TSTupleTypeKind = namedTypes.TSTupleType;
|
|
250
|
+
export declare type TSNamedTupleMemberKind = namedTypes.TSNamedTupleMember;
|
|
235
251
|
export declare type TSRestTypeKind = namedTypes.TSRestType;
|
|
236
252
|
export declare type TSOptionalTypeKind = namedTypes.TSOptionalType;
|
|
237
253
|
export declare type TSIndexedAccessTypeKind = namedTypes.TSIndexedAccessType;
|
|
@@ -258,5 +274,3 @@ export declare type TSNamespaceExportDeclarationKind = namedTypes.TSNamespaceExp
|
|
|
258
274
|
export declare type TSInterfaceBodyKind = namedTypes.TSInterfaceBody;
|
|
259
275
|
export declare type TSInterfaceDeclarationKind = namedTypes.TSInterfaceDeclaration;
|
|
260
276
|
export declare type TSParameterPropertyKind = namedTypes.TSParameterProperty;
|
|
261
|
-
export declare type OptionalMemberExpressionKind = namedTypes.OptionalMemberExpression;
|
|
262
|
-
export declare type OptionalCallExpressionKind = namedTypes.OptionalCallExpression;
|