1868 lines
29 KiB
Plaintext
1868 lines
29 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`visitor keys estree 1`] = `
|
|
{
|
|
"AccessorProperty": [
|
|
"decorators",
|
|
"key",
|
|
"typeAnnotation",
|
|
"value",
|
|
],
|
|
"AnyTypeAnnotation": [],
|
|
"ArgumentPlaceholder": [],
|
|
"ArrayExpression": [
|
|
"elements",
|
|
],
|
|
"ArrayPattern": [
|
|
"decorators",
|
|
"elements",
|
|
"typeAnnotation",
|
|
],
|
|
"ArrayTypeAnnotation": [
|
|
"elementType",
|
|
],
|
|
"ArrowFunctionExpression": [
|
|
"body",
|
|
"params",
|
|
"predicate",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"AsConstExpression": [
|
|
"expression",
|
|
],
|
|
"AsExpression": [
|
|
"expression",
|
|
"typeAnnotation",
|
|
],
|
|
"AssignmentExpression": [
|
|
"left",
|
|
"right",
|
|
],
|
|
"AssignmentPattern": [
|
|
"decorators",
|
|
"left",
|
|
"right",
|
|
"typeAnnotation",
|
|
],
|
|
"AwaitExpression": [
|
|
"argument",
|
|
],
|
|
"BigIntLiteral": [],
|
|
"BigIntLiteralTypeAnnotation": [],
|
|
"BigIntTypeAnnotation": [],
|
|
"BinaryExpression": [
|
|
"left",
|
|
"right",
|
|
],
|
|
"BindExpression": [
|
|
"callee",
|
|
"object",
|
|
],
|
|
"BlockStatement": [
|
|
"body",
|
|
"directives",
|
|
],
|
|
"BooleanLiteral": [],
|
|
"BooleanLiteralTypeAnnotation": [],
|
|
"BooleanTypeAnnotation": [],
|
|
"BreakStatement": [
|
|
"label",
|
|
],
|
|
"CallExpression": [
|
|
"arguments",
|
|
"callee",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"CatchClause": [
|
|
"body",
|
|
"param",
|
|
],
|
|
"ChainExpression": [
|
|
"expression",
|
|
],
|
|
"ClassAccessorProperty": [
|
|
"decorators",
|
|
"key",
|
|
"typeAnnotation",
|
|
"value",
|
|
],
|
|
"ClassBody": [
|
|
"body",
|
|
],
|
|
"ClassDeclaration": [
|
|
"body",
|
|
"decorators",
|
|
"id",
|
|
"implements",
|
|
"mixins",
|
|
"superClass",
|
|
"superTypeArguments",
|
|
"superTypeParameters",
|
|
"typeParameters",
|
|
],
|
|
"ClassExpression": [
|
|
"body",
|
|
"decorators",
|
|
"id",
|
|
"implements",
|
|
"mixins",
|
|
"superClass",
|
|
"superTypeArguments",
|
|
"superTypeParameters",
|
|
"typeParameters",
|
|
],
|
|
"ClassImplements": [
|
|
"id",
|
|
"typeParameters",
|
|
],
|
|
"ClassMethod": [
|
|
"body",
|
|
"decorators",
|
|
"key",
|
|
"params",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"ClassPrivateMethod": [
|
|
"body",
|
|
"decorators",
|
|
"key",
|
|
"params",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"ClassPrivateProperty": [
|
|
"decorators",
|
|
"key",
|
|
"typeAnnotation",
|
|
"value",
|
|
"variance",
|
|
],
|
|
"ClassProperty": [
|
|
"decorators",
|
|
"key",
|
|
"typeAnnotation",
|
|
"value",
|
|
"variance",
|
|
],
|
|
"ComponentDeclaration": [
|
|
"body",
|
|
"id",
|
|
"params",
|
|
"rendersType",
|
|
"typeParameters",
|
|
],
|
|
"ComponentParameter": [
|
|
"local",
|
|
"name",
|
|
],
|
|
"ComponentTypeAnnotation": [
|
|
"params",
|
|
"rendersType",
|
|
"rest",
|
|
"typeParameters",
|
|
],
|
|
"ComponentTypeParameter": [
|
|
"name",
|
|
"typeAnnotation",
|
|
],
|
|
"ConditionalExpression": [
|
|
"alternate",
|
|
"consequent",
|
|
"test",
|
|
],
|
|
"ConditionalTypeAnnotation": [
|
|
"checkType",
|
|
"extendsType",
|
|
"falseType",
|
|
"trueType",
|
|
],
|
|
"ContinueStatement": [
|
|
"label",
|
|
],
|
|
"DebuggerStatement": [],
|
|
"DeclareClass": [
|
|
"body",
|
|
"extends",
|
|
"id",
|
|
"implements",
|
|
"mixins",
|
|
"typeParameters",
|
|
],
|
|
"DeclareComponent": [
|
|
"id",
|
|
"params",
|
|
"rendersType",
|
|
"rest",
|
|
"typeParameters",
|
|
],
|
|
"DeclareEnum": [
|
|
"body",
|
|
"id",
|
|
],
|
|
"DeclareExportAllDeclaration": [
|
|
"attributes",
|
|
"source",
|
|
],
|
|
"DeclareExportDeclaration": [
|
|
"attributes",
|
|
"declaration",
|
|
"source",
|
|
"specifiers",
|
|
],
|
|
"DeclareFunction": [
|
|
"id",
|
|
"predicate",
|
|
],
|
|
"DeclareHook": [
|
|
"id",
|
|
],
|
|
"DeclareInterface": [
|
|
"body",
|
|
"extends",
|
|
"id",
|
|
"typeParameters",
|
|
],
|
|
"DeclareModule": [
|
|
"body",
|
|
"id",
|
|
],
|
|
"DeclareModuleExports": [
|
|
"typeAnnotation",
|
|
],
|
|
"DeclareNamespace": [
|
|
"body",
|
|
"id",
|
|
],
|
|
"DeclareOpaqueType": [
|
|
"id",
|
|
"supertype",
|
|
"typeParameters",
|
|
],
|
|
"DeclareTypeAlias": [
|
|
"id",
|
|
"right",
|
|
"typeParameters",
|
|
],
|
|
"DeclareVariable": [
|
|
"id",
|
|
],
|
|
"DeclaredPredicate": [
|
|
"value",
|
|
],
|
|
"Decorator": [
|
|
"expression",
|
|
],
|
|
"Directive": [
|
|
"value",
|
|
],
|
|
"DirectiveLiteral": [],
|
|
"DoExpression": [
|
|
"body",
|
|
],
|
|
"DoWhileStatement": [
|
|
"body",
|
|
"test",
|
|
],
|
|
"EmptyStatement": [],
|
|
"EmptyTypeAnnotation": [],
|
|
"EnumBigIntBody": [
|
|
"members",
|
|
],
|
|
"EnumBigIntMember": [
|
|
"id",
|
|
"init",
|
|
],
|
|
"EnumBooleanBody": [
|
|
"members",
|
|
],
|
|
"EnumBooleanMember": [
|
|
"id",
|
|
"init",
|
|
],
|
|
"EnumDeclaration": [
|
|
"body",
|
|
"id",
|
|
],
|
|
"EnumDefaultedMember": [
|
|
"id",
|
|
],
|
|
"EnumNumberBody": [
|
|
"members",
|
|
],
|
|
"EnumNumberMember": [
|
|
"id",
|
|
"init",
|
|
],
|
|
"EnumStringBody": [
|
|
"members",
|
|
],
|
|
"EnumStringMember": [
|
|
"id",
|
|
"init",
|
|
],
|
|
"EnumSymbolBody": [
|
|
"members",
|
|
],
|
|
"ExistsTypeAnnotation": [],
|
|
"ExperimentalRestProperty": [
|
|
"argument",
|
|
],
|
|
"ExperimentalSpreadProperty": [
|
|
"argument",
|
|
],
|
|
"ExportAllDeclaration": [
|
|
"attributes",
|
|
"exported",
|
|
"source",
|
|
],
|
|
"ExportDefaultDeclaration": [
|
|
"declaration",
|
|
],
|
|
"ExportDefaultSpecifier": [
|
|
"exported",
|
|
],
|
|
"ExportNamedDeclaration": [
|
|
"attributes",
|
|
"declaration",
|
|
"source",
|
|
"specifiers",
|
|
],
|
|
"ExportNamespaceSpecifier": [
|
|
"exported",
|
|
],
|
|
"ExportSpecifier": [
|
|
"exported",
|
|
"local",
|
|
],
|
|
"ExpressionStatement": [
|
|
"expression",
|
|
],
|
|
"File": [
|
|
"program",
|
|
],
|
|
"ForInStatement": [
|
|
"body",
|
|
"left",
|
|
"right",
|
|
],
|
|
"ForOfStatement": [
|
|
"body",
|
|
"left",
|
|
"right",
|
|
],
|
|
"ForStatement": [
|
|
"body",
|
|
"init",
|
|
"test",
|
|
"update",
|
|
],
|
|
"FunctionDeclaration": [
|
|
"body",
|
|
"id",
|
|
"params",
|
|
"predicate",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"FunctionExpression": [
|
|
"body",
|
|
"id",
|
|
"params",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"FunctionTypeAnnotation": [
|
|
"params",
|
|
"rest",
|
|
"returnType",
|
|
"this",
|
|
"typeParameters",
|
|
],
|
|
"FunctionTypeParam": [
|
|
"name",
|
|
"typeAnnotation",
|
|
],
|
|
"GenericTypeAnnotation": [
|
|
"id",
|
|
"typeParameters",
|
|
],
|
|
"HookDeclaration": [
|
|
"body",
|
|
"id",
|
|
"params",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"HookTypeAnnotation": [
|
|
"params",
|
|
"rest",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"Identifier": [
|
|
"decorators",
|
|
"typeAnnotation",
|
|
],
|
|
"IfStatement": [
|
|
"alternate",
|
|
"consequent",
|
|
"test",
|
|
],
|
|
"ImportAttribute": [
|
|
"key",
|
|
"value",
|
|
],
|
|
"ImportDeclaration": [
|
|
"attributes",
|
|
"source",
|
|
"specifiers",
|
|
],
|
|
"ImportDefaultSpecifier": [
|
|
"local",
|
|
],
|
|
"ImportExpression": [
|
|
"options",
|
|
"source",
|
|
],
|
|
"ImportNamespaceSpecifier": [
|
|
"local",
|
|
],
|
|
"ImportSpecifier": [
|
|
"imported",
|
|
"local",
|
|
],
|
|
"IndexedAccessType": [
|
|
"indexType",
|
|
"objectType",
|
|
],
|
|
"InferTypeAnnotation": [
|
|
"typeParameter",
|
|
],
|
|
"InferredPredicate": [],
|
|
"InterfaceDeclaration": [
|
|
"body",
|
|
"extends",
|
|
"id",
|
|
"typeParameters",
|
|
],
|
|
"InterfaceExtends": [
|
|
"id",
|
|
"typeParameters",
|
|
],
|
|
"InterfaceTypeAnnotation": [
|
|
"body",
|
|
"extends",
|
|
],
|
|
"InterpreterDirective": [],
|
|
"IntersectionTypeAnnotation": [
|
|
"types",
|
|
],
|
|
"JSXAttribute": [
|
|
"name",
|
|
"value",
|
|
],
|
|
"JSXClosingElement": [
|
|
"name",
|
|
],
|
|
"JSXClosingFragment": [],
|
|
"JSXElement": [
|
|
"children",
|
|
"closingElement",
|
|
"openingElement",
|
|
],
|
|
"JSXEmptyExpression": [],
|
|
"JSXExpressionContainer": [
|
|
"expression",
|
|
],
|
|
"JSXFragment": [
|
|
"children",
|
|
"closingFragment",
|
|
"openingFragment",
|
|
],
|
|
"JSXIdentifier": [],
|
|
"JSXMemberExpression": [
|
|
"object",
|
|
"property",
|
|
],
|
|
"JSXNamespacedName": [
|
|
"name",
|
|
"namespace",
|
|
],
|
|
"JSXOpeningElement": [
|
|
"attributes",
|
|
"name",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"JSXOpeningFragment": [],
|
|
"JSXSpreadAttribute": [
|
|
"argument",
|
|
],
|
|
"JSXSpreadChild": [
|
|
"expression",
|
|
],
|
|
"JSXText": [],
|
|
"JsExpressionRoot": [
|
|
"node",
|
|
],
|
|
"JsonRoot": [
|
|
"node",
|
|
],
|
|
"KeyofTypeAnnotation": [
|
|
"argument",
|
|
],
|
|
"LabeledStatement": [
|
|
"body",
|
|
"label",
|
|
],
|
|
"Literal": [],
|
|
"LogicalExpression": [
|
|
"left",
|
|
"right",
|
|
],
|
|
"MemberExpression": [
|
|
"object",
|
|
"property",
|
|
],
|
|
"MetaProperty": [
|
|
"meta",
|
|
"property",
|
|
],
|
|
"MethodDefinition": [
|
|
"decorators",
|
|
"key",
|
|
"value",
|
|
],
|
|
"MixedTypeAnnotation": [],
|
|
"ModuleExpression": [
|
|
"body",
|
|
],
|
|
"NGChainedExpression": [
|
|
"expressions",
|
|
],
|
|
"NGEmptyExpression": [],
|
|
"NGMicrosyntax": [
|
|
"body",
|
|
],
|
|
"NGMicrosyntaxAs": [
|
|
"alias",
|
|
"key",
|
|
],
|
|
"NGMicrosyntaxExpression": [
|
|
"alias",
|
|
"expression",
|
|
],
|
|
"NGMicrosyntaxKey": [],
|
|
"NGMicrosyntaxKeyedExpression": [
|
|
"expression",
|
|
"key",
|
|
],
|
|
"NGMicrosyntaxLet": [
|
|
"key",
|
|
"value",
|
|
],
|
|
"NGPipeExpression": [
|
|
"arguments",
|
|
"left",
|
|
"right",
|
|
],
|
|
"NGRoot": [
|
|
"node",
|
|
],
|
|
"NeverTypeAnnotation": [],
|
|
"NewExpression": [
|
|
"arguments",
|
|
"callee",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"Noop": [],
|
|
"NullLiteral": [],
|
|
"NullLiteralTypeAnnotation": [],
|
|
"NullableTypeAnnotation": [
|
|
"typeAnnotation",
|
|
],
|
|
"NumberLiteralTypeAnnotation": [],
|
|
"NumberTypeAnnotation": [],
|
|
"NumericLiteral": [],
|
|
"ObjectExpression": [
|
|
"properties",
|
|
],
|
|
"ObjectMethod": [
|
|
"body",
|
|
"decorators",
|
|
"key",
|
|
"params",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"ObjectPattern": [
|
|
"decorators",
|
|
"properties",
|
|
"typeAnnotation",
|
|
],
|
|
"ObjectProperty": [
|
|
"decorators",
|
|
"key",
|
|
"value",
|
|
],
|
|
"ObjectTypeAnnotation": [
|
|
"callProperties",
|
|
"indexers",
|
|
"internalSlots",
|
|
"properties",
|
|
],
|
|
"ObjectTypeCallProperty": [
|
|
"value",
|
|
],
|
|
"ObjectTypeIndexer": [
|
|
"id",
|
|
"key",
|
|
"value",
|
|
"variance",
|
|
],
|
|
"ObjectTypeInternalSlot": [
|
|
"id",
|
|
"value",
|
|
],
|
|
"ObjectTypeMappedTypeProperty": [
|
|
"keyTparam",
|
|
"propType",
|
|
"sourceType",
|
|
"variance",
|
|
],
|
|
"ObjectTypeProperty": [
|
|
"key",
|
|
"value",
|
|
"variance",
|
|
],
|
|
"ObjectTypeSpreadProperty": [
|
|
"argument",
|
|
],
|
|
"OpaqueType": [
|
|
"id",
|
|
"impltype",
|
|
"supertype",
|
|
"typeParameters",
|
|
],
|
|
"OptionalCallExpression": [
|
|
"arguments",
|
|
"callee",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"OptionalIndexedAccessType": [
|
|
"indexType",
|
|
"objectType",
|
|
],
|
|
"OptionalMemberExpression": [
|
|
"object",
|
|
"property",
|
|
],
|
|
"ParenthesizedExpression": [
|
|
"expression",
|
|
],
|
|
"PipelineBareFunction": [
|
|
"callee",
|
|
],
|
|
"PipelinePrimaryTopicReference": [],
|
|
"PipelineTopicExpression": [
|
|
"expression",
|
|
],
|
|
"Placeholder": [],
|
|
"PrivateIdentifier": [],
|
|
"PrivateName": [
|
|
"id",
|
|
],
|
|
"Program": [
|
|
"body",
|
|
"directives",
|
|
],
|
|
"Property": [
|
|
"key",
|
|
"value",
|
|
],
|
|
"PropertyDefinition": [
|
|
"decorators",
|
|
"key",
|
|
"typeAnnotation",
|
|
"value",
|
|
"variance",
|
|
],
|
|
"QualifiedTypeIdentifier": [
|
|
"id",
|
|
"qualification",
|
|
],
|
|
"QualifiedTypeofIdentifier": [
|
|
"id",
|
|
"qualification",
|
|
],
|
|
"RegExpLiteral": [],
|
|
"RestElement": [
|
|
"argument",
|
|
"decorators",
|
|
"typeAnnotation",
|
|
],
|
|
"ReturnStatement": [
|
|
"argument",
|
|
],
|
|
"SatisfiesExpression": [
|
|
"expression",
|
|
"typeAnnotation",
|
|
],
|
|
"SequenceExpression": [
|
|
"expressions",
|
|
],
|
|
"SpreadElement": [
|
|
"argument",
|
|
],
|
|
"StaticBlock": [
|
|
"body",
|
|
],
|
|
"StringLiteral": [],
|
|
"StringLiteralTypeAnnotation": [],
|
|
"StringTypeAnnotation": [],
|
|
"Super": [],
|
|
"SwitchCase": [
|
|
"consequent",
|
|
"test",
|
|
],
|
|
"SwitchStatement": [
|
|
"cases",
|
|
"discriminant",
|
|
],
|
|
"SymbolTypeAnnotation": [],
|
|
"TSAbstractAccessorProperty": [
|
|
"decorators",
|
|
"key",
|
|
"typeAnnotation",
|
|
],
|
|
"TSAbstractKeyword": [],
|
|
"TSAbstractMethodDefinition": [
|
|
"key",
|
|
"value",
|
|
],
|
|
"TSAbstractPropertyDefinition": [
|
|
"decorators",
|
|
"key",
|
|
"typeAnnotation",
|
|
],
|
|
"TSAnyKeyword": [],
|
|
"TSArrayType": [
|
|
"elementType",
|
|
],
|
|
"TSAsExpression": [
|
|
"expression",
|
|
"typeAnnotation",
|
|
],
|
|
"TSAsyncKeyword": [],
|
|
"TSBigIntKeyword": [],
|
|
"TSBooleanKeyword": [],
|
|
"TSCallSignatureDeclaration": [
|
|
"parameters",
|
|
"params",
|
|
"returnType",
|
|
"typeAnnotation",
|
|
"typeParameters",
|
|
],
|
|
"TSClassImplements": [
|
|
"expression",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"TSConditionalType": [
|
|
"checkType",
|
|
"extendsType",
|
|
"falseType",
|
|
"trueType",
|
|
],
|
|
"TSConstructSignatureDeclaration": [
|
|
"parameters",
|
|
"params",
|
|
"returnType",
|
|
"typeAnnotation",
|
|
"typeParameters",
|
|
],
|
|
"TSConstructorType": [
|
|
"parameters",
|
|
"params",
|
|
"returnType",
|
|
"typeAnnotation",
|
|
"typeParameters",
|
|
],
|
|
"TSDeclareFunction": [
|
|
"body",
|
|
"id",
|
|
"params",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"TSDeclareKeyword": [],
|
|
"TSDeclareMethod": [
|
|
"decorators",
|
|
"key",
|
|
"params",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"TSEmptyBodyFunctionExpression": [
|
|
"id",
|
|
"params",
|
|
"returnType",
|
|
"typeParameters",
|
|
],
|
|
"TSEnumBody": [
|
|
"members",
|
|
],
|
|
"TSEnumDeclaration": [
|
|
"id",
|
|
"members",
|
|
],
|
|
"TSEnumMember": [
|
|
"id",
|
|
"initializer",
|
|
],
|
|
"TSExportAssignment": [
|
|
"expression",
|
|
],
|
|
"TSExportKeyword": [],
|
|
"TSExpressionWithTypeArguments": [
|
|
"expression",
|
|
"typeParameters",
|
|
],
|
|
"TSExternalModuleReference": [
|
|
"expression",
|
|
],
|
|
"TSFunctionType": [
|
|
"parameters",
|
|
"params",
|
|
"returnType",
|
|
"typeAnnotation",
|
|
"typeParameters",
|
|
],
|
|
"TSImportEqualsDeclaration": [
|
|
"id",
|
|
"moduleReference",
|
|
],
|
|
"TSImportType": [
|
|
"argument",
|
|
"options",
|
|
"qualifier",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"TSIndexSignature": [
|
|
"parameters",
|
|
"typeAnnotation",
|
|
],
|
|
"TSIndexedAccessType": [
|
|
"indexType",
|
|
"objectType",
|
|
],
|
|
"TSInferType": [
|
|
"typeParameter",
|
|
],
|
|
"TSInstantiationExpression": [
|
|
"expression",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"TSInterfaceBody": [
|
|
"body",
|
|
],
|
|
"TSInterfaceDeclaration": [
|
|
"body",
|
|
"extends",
|
|
"id",
|
|
"typeParameters",
|
|
],
|
|
"TSInterfaceHeritage": [
|
|
"expression",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"TSIntersectionType": [
|
|
"types",
|
|
],
|
|
"TSIntrinsicKeyword": [],
|
|
"TSJSDocAllType": [],
|
|
"TSJSDocNonNullableType": [
|
|
"typeAnnotation",
|
|
],
|
|
"TSJSDocNullableType": [
|
|
"typeAnnotation",
|
|
],
|
|
"TSJSDocUnknownType": [],
|
|
"TSLiteralType": [
|
|
"literal",
|
|
],
|
|
"TSMappedType": [
|
|
"nameType",
|
|
"typeAnnotation",
|
|
"typeParameter",
|
|
],
|
|
"TSMethodSignature": [
|
|
"key",
|
|
"parameters",
|
|
"params",
|
|
"returnType",
|
|
"typeAnnotation",
|
|
"typeParameters",
|
|
],
|
|
"TSModuleBlock": [
|
|
"body",
|
|
],
|
|
"TSModuleDeclaration": [
|
|
"body",
|
|
"id",
|
|
],
|
|
"TSNamedTupleMember": [
|
|
"elementType",
|
|
"label",
|
|
],
|
|
"TSNamespaceExportDeclaration": [
|
|
"id",
|
|
],
|
|
"TSNeverKeyword": [],
|
|
"TSNonNullExpression": [
|
|
"expression",
|
|
],
|
|
"TSNullKeyword": [],
|
|
"TSNumberKeyword": [],
|
|
"TSObjectKeyword": [],
|
|
"TSOptionalType": [
|
|
"typeAnnotation",
|
|
],
|
|
"TSParameterProperty": [
|
|
"decorators",
|
|
"parameter",
|
|
],
|
|
"TSParenthesizedType": [
|
|
"typeAnnotation",
|
|
],
|
|
"TSPrivateKeyword": [],
|
|
"TSPropertySignature": [
|
|
"key",
|
|
"typeAnnotation",
|
|
],
|
|
"TSProtectedKeyword": [],
|
|
"TSPublicKeyword": [],
|
|
"TSQualifiedName": [
|
|
"left",
|
|
"right",
|
|
],
|
|
"TSReadonlyKeyword": [],
|
|
"TSRestType": [
|
|
"typeAnnotation",
|
|
],
|
|
"TSSatisfiesExpression": [
|
|
"expression",
|
|
"typeAnnotation",
|
|
],
|
|
"TSStaticKeyword": [],
|
|
"TSStringKeyword": [],
|
|
"TSSymbolKeyword": [],
|
|
"TSTemplateLiteralType": [
|
|
"quasis",
|
|
"types",
|
|
],
|
|
"TSThisType": [],
|
|
"TSTupleType": [
|
|
"elementTypes",
|
|
],
|
|
"TSTypeAliasDeclaration": [
|
|
"id",
|
|
"typeAnnotation",
|
|
"typeParameters",
|
|
],
|
|
"TSTypeAnnotation": [
|
|
"typeAnnotation",
|
|
],
|
|
"TSTypeAssertion": [
|
|
"expression",
|
|
"typeAnnotation",
|
|
],
|
|
"TSTypeLiteral": [
|
|
"members",
|
|
],
|
|
"TSTypeOperator": [
|
|
"typeAnnotation",
|
|
],
|
|
"TSTypeParameter": [
|
|
"constraint",
|
|
"default",
|
|
"name",
|
|
],
|
|
"TSTypeParameterDeclaration": [
|
|
"params",
|
|
],
|
|
"TSTypeParameterInstantiation": [
|
|
"params",
|
|
],
|
|
"TSTypePredicate": [
|
|
"parameterName",
|
|
"typeAnnotation",
|
|
],
|
|
"TSTypeQuery": [
|
|
"exprName",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"TSTypeReference": [
|
|
"typeArguments",
|
|
"typeName",
|
|
"typeParameters",
|
|
],
|
|
"TSUndefinedKeyword": [],
|
|
"TSUnionType": [
|
|
"types",
|
|
],
|
|
"TSUnknownKeyword": [],
|
|
"TSVoidKeyword": [],
|
|
"TaggedTemplateExpression": [
|
|
"quasi",
|
|
"tag",
|
|
"typeArguments",
|
|
"typeParameters",
|
|
],
|
|
"TemplateElement": [],
|
|
"TemplateLiteral": [
|
|
"expressions",
|
|
"quasis",
|
|
],
|
|
"ThisExpression": [],
|
|
"ThisTypeAnnotation": [],
|
|
"ThrowStatement": [
|
|
"argument",
|
|
],
|
|
"TopicReference": [],
|
|
"TryStatement": [
|
|
"block",
|
|
"finalizer",
|
|
"handler",
|
|
],
|
|
"TupleTypeAnnotation": [
|
|
"elementTypes",
|
|
"types",
|
|
],
|
|
"TupleTypeLabeledElement": [
|
|
"elementType",
|
|
"label",
|
|
"variance",
|
|
],
|
|
"TupleTypeSpreadElement": [
|
|
"label",
|
|
"typeAnnotation",
|
|
],
|
|
"TypeAlias": [
|
|
"id",
|
|
"right",
|
|
"typeParameters",
|
|
],
|
|
"TypeAnnotation": [
|
|
"typeAnnotation",
|
|
],
|
|
"TypeCastExpression": [
|
|
"expression",
|
|
"typeAnnotation",
|
|
],
|
|
"TypeOperator": [
|
|
"typeAnnotation",
|
|
],
|
|
"TypeParameter": [
|
|
"bound",
|
|
"default",
|
|
"variance",
|
|
],
|
|
"TypeParameterDeclaration": [
|
|
"params",
|
|
],
|
|
"TypeParameterInstantiation": [
|
|
"params",
|
|
],
|
|
"TypePredicate": [
|
|
"asserts",
|
|
"parameterName",
|
|
"typeAnnotation",
|
|
],
|
|
"TypeofTypeAnnotation": [
|
|
"argument",
|
|
"typeArguments",
|
|
],
|
|
"UnaryExpression": [
|
|
"argument",
|
|
],
|
|
"UndefinedTypeAnnotation": [],
|
|
"UnionTypeAnnotation": [
|
|
"types",
|
|
],
|
|
"UnknownTypeAnnotation": [],
|
|
"UpdateExpression": [
|
|
"argument",
|
|
],
|
|
"V8IntrinsicIdentifier": [],
|
|
"VariableDeclaration": [
|
|
"declarations",
|
|
],
|
|
"VariableDeclarator": [
|
|
"id",
|
|
"init",
|
|
],
|
|
"Variance": [],
|
|
"VoidTypeAnnotation": [],
|
|
"WhileStatement": [
|
|
"body",
|
|
"test",
|
|
],
|
|
"WithStatement": [
|
|
"body",
|
|
"object",
|
|
],
|
|
"YieldExpression": [
|
|
"argument",
|
|
],
|
|
}
|
|
`;
|
|
|
|
exports[`visitor keys estree-json 1`] = `
|
|
{
|
|
"ArrayExpression": [
|
|
"elements",
|
|
],
|
|
"BooleanLiteral": [],
|
|
"Identifier": [],
|
|
"JsonRoot": [
|
|
"node",
|
|
],
|
|
"NullLiteral": [],
|
|
"NumericLiteral": [],
|
|
"ObjectExpression": [
|
|
"properties",
|
|
],
|
|
"ObjectProperty": [
|
|
"key",
|
|
"value",
|
|
],
|
|
"StringLiteral": [],
|
|
"TemplateElement": [],
|
|
"TemplateLiteral": [
|
|
"quasis",
|
|
],
|
|
"UnaryExpression": [
|
|
"argument",
|
|
],
|
|
}
|
|
`;
|
|
|
|
exports[`visitor keys glimmer 1`] = `
|
|
{
|
|
"AttrNode": [
|
|
"value",
|
|
],
|
|
"Block": [
|
|
"body",
|
|
],
|
|
"BlockStatement": [
|
|
"hash",
|
|
"inverse",
|
|
"params",
|
|
"path",
|
|
"program",
|
|
],
|
|
"BooleanLiteral": [],
|
|
"CommentStatement": [],
|
|
"ConcatStatement": [
|
|
"parts",
|
|
],
|
|
"ElementModifierStatement": [
|
|
"hash",
|
|
"params",
|
|
"path",
|
|
],
|
|
"ElementNode": [
|
|
"attributes",
|
|
"children",
|
|
"comments",
|
|
"modifiers",
|
|
],
|
|
"Hash": [
|
|
"pairs",
|
|
],
|
|
"HashPair": [
|
|
"value",
|
|
],
|
|
"MustacheCommentStatement": [],
|
|
"MustacheStatement": [
|
|
"hash",
|
|
"params",
|
|
"path",
|
|
],
|
|
"NullLiteral": [],
|
|
"NumberLiteral": [],
|
|
"PathExpression": [],
|
|
"StringLiteral": [],
|
|
"SubExpression": [
|
|
"hash",
|
|
"params",
|
|
"path",
|
|
],
|
|
"Template": [
|
|
"body",
|
|
],
|
|
"TextNode": [],
|
|
"UndefinedLiteral": [],
|
|
}
|
|
`;
|
|
|
|
exports[`visitor keys graphql 1`] = `
|
|
{
|
|
"Argument": [
|
|
"name",
|
|
"value",
|
|
],
|
|
"BooleanValue": [],
|
|
"Directive": [
|
|
"arguments",
|
|
"name",
|
|
],
|
|
"DirectiveDefinition": [
|
|
"arguments",
|
|
"description",
|
|
"locations",
|
|
"name",
|
|
],
|
|
"Document": [
|
|
"definitions",
|
|
],
|
|
"EnumTypeDefinition": [
|
|
"description",
|
|
"directives",
|
|
"name",
|
|
"values",
|
|
],
|
|
"EnumTypeExtension": [
|
|
"directives",
|
|
"name",
|
|
"values",
|
|
],
|
|
"EnumValue": [],
|
|
"EnumValueDefinition": [
|
|
"description",
|
|
"directives",
|
|
"name",
|
|
],
|
|
"Field": [
|
|
"alias",
|
|
"arguments",
|
|
"directives",
|
|
"name",
|
|
"selectionSet",
|
|
],
|
|
"FieldDefinition": [
|
|
"arguments",
|
|
"description",
|
|
"directives",
|
|
"name",
|
|
"type",
|
|
],
|
|
"FloatValue": [],
|
|
"FragmentDefinition": [
|
|
"directives",
|
|
"name",
|
|
"selectionSet",
|
|
"typeCondition",
|
|
"variableDefinitions",
|
|
],
|
|
"FragmentSpread": [
|
|
"directives",
|
|
"name",
|
|
],
|
|
"InlineFragment": [
|
|
"directives",
|
|
"selectionSet",
|
|
"typeCondition",
|
|
],
|
|
"InputObjectTypeDefinition": [
|
|
"description",
|
|
"directives",
|
|
"fields",
|
|
"name",
|
|
],
|
|
"InputObjectTypeExtension": [
|
|
"directives",
|
|
"fields",
|
|
"name",
|
|
],
|
|
"InputValueDefinition": [
|
|
"defaultValue",
|
|
"description",
|
|
"directives",
|
|
"name",
|
|
"type",
|
|
],
|
|
"IntValue": [],
|
|
"InterfaceTypeDefinition": [
|
|
"description",
|
|
"directives",
|
|
"fields",
|
|
"interfaces",
|
|
"name",
|
|
],
|
|
"InterfaceTypeExtension": [
|
|
"directives",
|
|
"fields",
|
|
"interfaces",
|
|
"name",
|
|
],
|
|
"ListType": [
|
|
"type",
|
|
],
|
|
"ListValue": [
|
|
"values",
|
|
],
|
|
"Name": [],
|
|
"NamedType": [
|
|
"name",
|
|
],
|
|
"NonNullType": [
|
|
"type",
|
|
],
|
|
"NullValue": [],
|
|
"ObjectField": [
|
|
"name",
|
|
"value",
|
|
],
|
|
"ObjectTypeDefinition": [
|
|
"description",
|
|
"directives",
|
|
"fields",
|
|
"interfaces",
|
|
"name",
|
|
],
|
|
"ObjectTypeExtension": [
|
|
"directives",
|
|
"fields",
|
|
"interfaces",
|
|
"name",
|
|
],
|
|
"ObjectValue": [
|
|
"fields",
|
|
],
|
|
"OperationDefinition": [
|
|
"directives",
|
|
"name",
|
|
"selectionSet",
|
|
"variableDefinitions",
|
|
],
|
|
"OperationTypeDefinition": [
|
|
"type",
|
|
],
|
|
"ScalarTypeDefinition": [
|
|
"description",
|
|
"directives",
|
|
"name",
|
|
],
|
|
"ScalarTypeExtension": [
|
|
"directives",
|
|
"name",
|
|
],
|
|
"SchemaDefinition": [
|
|
"description",
|
|
"directives",
|
|
"operationTypes",
|
|
],
|
|
"SchemaExtension": [
|
|
"directives",
|
|
"operationTypes",
|
|
],
|
|
"SelectionSet": [
|
|
"selections",
|
|
],
|
|
"StringValue": [],
|
|
"UnionTypeDefinition": [
|
|
"description",
|
|
"directives",
|
|
"name",
|
|
"types",
|
|
],
|
|
"UnionTypeExtension": [
|
|
"directives",
|
|
"name",
|
|
"types",
|
|
],
|
|
"Variable": [
|
|
"name",
|
|
],
|
|
"VariableDefinition": [
|
|
"defaultValue",
|
|
"directives",
|
|
"type",
|
|
"variable",
|
|
],
|
|
}
|
|
`;
|
|
|
|
exports[`visitor keys html 1`] = `
|
|
{
|
|
"angularControlFlowBlock": [
|
|
"children",
|
|
"parameters",
|
|
],
|
|
"angularControlFlowBlockParameter": [],
|
|
"angularControlFlowBlockParameters": [
|
|
"children",
|
|
],
|
|
"angularIcuCase": [
|
|
"expression",
|
|
],
|
|
"angularIcuExpression": [
|
|
"cases",
|
|
],
|
|
"angularLetDeclaration": [
|
|
"init",
|
|
],
|
|
"angularLetDeclarationInitializer": [],
|
|
"attribute": [],
|
|
"cdata": [],
|
|
"comment": [],
|
|
"docType": [],
|
|
"element": [
|
|
"attrs",
|
|
"children",
|
|
],
|
|
"front-matter": [],
|
|
"ieConditionalComment": [
|
|
"children",
|
|
],
|
|
"ieConditionalEndComment": [],
|
|
"ieConditionalStartComment": [],
|
|
"interpolation": [
|
|
"children",
|
|
],
|
|
"root": [
|
|
"children",
|
|
],
|
|
"text": [
|
|
"children",
|
|
],
|
|
}
|
|
`;
|
|
|
|
exports[`visitor keys postcss 1`] = `
|
|
{
|
|
"css-atrule": [
|
|
"nodes",
|
|
"params",
|
|
"selector",
|
|
"value",
|
|
],
|
|
"css-comment": [],
|
|
"css-decl": [
|
|
"nodes",
|
|
"selector",
|
|
"value",
|
|
],
|
|
"css-root": [
|
|
"frontMatter",
|
|
"nodes",
|
|
],
|
|
"css-rule": [
|
|
"nodes",
|
|
"selector",
|
|
],
|
|
"front-matter": [],
|
|
"media-colon": [],
|
|
"media-feature": [],
|
|
"media-feature-expression": [
|
|
"nodes",
|
|
],
|
|
"media-keyword": [],
|
|
"media-query": [
|
|
"nodes",
|
|
],
|
|
"media-query-list": [
|
|
"nodes",
|
|
],
|
|
"media-type": [],
|
|
"media-unknown": [],
|
|
"media-url": [],
|
|
"media-value": [],
|
|
"selector-attribute": [],
|
|
"selector-class": [],
|
|
"selector-combinator": [
|
|
"nodes",
|
|
],
|
|
"selector-comment": [],
|
|
"selector-id": [],
|
|
"selector-nesting": [],
|
|
"selector-pseudo": [
|
|
"nodes",
|
|
],
|
|
"selector-root": [
|
|
"nodes",
|
|
],
|
|
"selector-selector": [
|
|
"nodes",
|
|
],
|
|
"selector-string": [],
|
|
"selector-tag": [],
|
|
"selector-universal": [],
|
|
"selector-unknown": [],
|
|
"value-atword": [],
|
|
"value-colon": [],
|
|
"value-comma": [],
|
|
"value-comma_group": [
|
|
"groups",
|
|
],
|
|
"value-comment": [],
|
|
"value-func": [
|
|
"group",
|
|
],
|
|
"value-number": [],
|
|
"value-operator": [],
|
|
"value-paren": [],
|
|
"value-paren_group": [
|
|
"close",
|
|
"groups",
|
|
"open",
|
|
],
|
|
"value-root": [
|
|
"group",
|
|
],
|
|
"value-string": [],
|
|
"value-unicode-range": [],
|
|
"value-unknown": [],
|
|
"value-value": [
|
|
"group",
|
|
],
|
|
"value-word": [],
|
|
}
|
|
`;
|
|
|
|
exports[`visitor keys remark 1`] = `
|
|
{
|
|
"blockquote": [
|
|
"children",
|
|
],
|
|
"break": [],
|
|
"code": [],
|
|
"definition": [],
|
|
"delete": [
|
|
"children",
|
|
],
|
|
"emphasis": [
|
|
"children",
|
|
],
|
|
"esComment": [],
|
|
"export": [],
|
|
"footnote": [
|
|
"children",
|
|
],
|
|
"footnoteDefinition": [
|
|
"children",
|
|
],
|
|
"footnoteReference": [],
|
|
"front-matter": [],
|
|
"heading": [
|
|
"children",
|
|
],
|
|
"html": [],
|
|
"image": [],
|
|
"imageReference": [],
|
|
"import": [],
|
|
"inlineCode": [],
|
|
"inlineMath": [],
|
|
"jsx": [],
|
|
"link": [
|
|
"children",
|
|
],
|
|
"linkReference": [
|
|
"children",
|
|
],
|
|
"liquidNode": [],
|
|
"list": [
|
|
"children",
|
|
],
|
|
"listItem": [
|
|
"children",
|
|
],
|
|
"math": [],
|
|
"paragraph": [
|
|
"children",
|
|
],
|
|
"root": [
|
|
"children",
|
|
],
|
|
"sentence": [
|
|
"children",
|
|
],
|
|
"strong": [
|
|
"children",
|
|
],
|
|
"table": [
|
|
"children",
|
|
],
|
|
"tableCell": [
|
|
"children",
|
|
],
|
|
"tableRow": [
|
|
"children",
|
|
],
|
|
"text": [],
|
|
"thematicBreak": [],
|
|
"whitespace": [],
|
|
"wikiLink": [],
|
|
"word": [],
|
|
}
|
|
`;
|
|
|
|
exports[`visitor keys yaml 1`] = `
|
|
{
|
|
"alias": [
|
|
"anchor",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"anchor": [
|
|
"anchor",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"blockFolded": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"blockLiteral": [
|
|
"anchor",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"comment": [
|
|
"anchor",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"directive": [
|
|
"anchor",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"document": [
|
|
"anchor",
|
|
"body",
|
|
"children",
|
|
"endComments",
|
|
"head",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"documentBody": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"documentHead": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"flowMapping": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"flowMappingItem": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"key",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
"value",
|
|
],
|
|
"flowSequence": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"flowSequenceItem": [
|
|
"anchor",
|
|
"children",
|
|
"content",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"mapping": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"mappingItem": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"key",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
"value",
|
|
],
|
|
"mappingKey": [
|
|
"anchor",
|
|
"children",
|
|
"content",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"mappingValue": [
|
|
"anchor",
|
|
"children",
|
|
"content",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"plain": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"quoteDouble": [
|
|
"anchor",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"quoteSingle": [
|
|
"anchor",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"root": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"sequence": [
|
|
"anchor",
|
|
"children",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"sequenceItem": [
|
|
"anchor",
|
|
"children",
|
|
"content",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
"tag": [
|
|
"anchor",
|
|
"endComments",
|
|
"indicatorComment",
|
|
"leadingComments",
|
|
"middleComments",
|
|
"tag",
|
|
"trailingComment",
|
|
],
|
|
}
|
|
`;
|