Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / parser / dist / visitor-keys.js
1 "use strict";
2 var __importDefault = (this && this.__importDefault) || function (mod) {
3     return (mod && mod.__esModule) ? mod : { "default": mod };
4 };
5 Object.defineProperty(exports, "__esModule", { value: true });
6 const eslint_visitor_keys_1 = __importDefault(require("eslint-visitor-keys"));
7 exports.visitorKeys = eslint_visitor_keys_1.default.unionWith({
8     // Additional estree nodes.
9     Import: [],
10     // Additional Properties.
11     ArrayPattern: ['decorators', 'elements', 'typeAnnotation'],
12     ArrowFunctionExpression: ['typeParameters', 'params', 'returnType', 'body'],
13     ClassDeclaration: [
14         'decorators',
15         'id',
16         'typeParameters',
17         'superClass',
18         'superTypeParameters',
19         'implements',
20         'body',
21     ],
22     ClassExpression: [
23         'decorators',
24         'id',
25         'typeParameters',
26         'superClass',
27         'superTypeParameters',
28         'implements',
29         'body',
30     ],
31     TaggedTemplateExpression: ['tag', 'typeParameters', 'quasi'],
32     FunctionDeclaration: ['id', 'typeParameters', 'params', 'returnType', 'body'],
33     FunctionExpression: ['id', 'typeParameters', 'params', 'returnType', 'body'],
34     Identifier: ['decorators', 'typeAnnotation'],
35     MethodDefinition: ['decorators', 'key', 'value'],
36     ObjectPattern: ['decorators', 'properties', 'typeAnnotation'],
37     RestElement: ['decorators', 'argument', 'typeAnnotation'],
38     NewExpression: ['callee', 'typeParameters', 'arguments'],
39     CallExpression: ['callee', 'typeParameters', 'arguments'],
40     // JSX
41     JSXOpeningElement: ['name', 'typeParameters', 'attributes'],
42     JSXClosingFragment: [],
43     JSXOpeningFragment: [],
44     JSXSpreadChild: ['expression'],
45     // Additional Nodes.
46     BigIntLiteral: [],
47     ClassProperty: ['decorators', 'key', 'typeAnnotation', 'value'],
48     Decorator: ['expression'],
49     TSAbstractClassProperty: ['decorators', 'key', 'typeAnnotation', 'value'],
50     TSAbstractKeyword: [],
51     TSAbstractMethodDefinition: ['key', 'value'],
52     TSAnyKeyword: [],
53     TSArrayType: ['elementType'],
54     TSAsExpression: ['expression', 'typeAnnotation'],
55     TSAsyncKeyword: [],
56     TSBigIntKeyword: [],
57     TSBooleanKeyword: [],
58     TSCallSignatureDeclaration: ['typeParameters', 'params', 'returnType'],
59     TSClassImplements: ['expression', 'typeParameters'],
60     TSConditionalType: ['checkType', 'extendsType', 'trueType', 'falseType'],
61     TSConstructSignatureDeclaration: ['typeParameters', 'params', 'returnType'],
62     TSConstructorType: ['typeParameters', 'params', 'returnType'],
63     TSDeclareFunction: ['id', 'typeParameters', 'params', 'returnType', 'body'],
64     TSDeclareKeyword: [],
65     TSEmptyBodyFunctionExpression: [
66         'id',
67         'typeParameters',
68         'params',
69         'returnType',
70     ],
71     TSEnumDeclaration: ['id', 'members'],
72     TSEnumMember: ['id', 'initializer'],
73     TSExportAssignment: ['expression'],
74     TSExportKeyword: [],
75     TSExternalModuleReference: ['expression'],
76     TSImportType: ['parameter', 'qualifier', 'typeParameters'],
77     TSInferType: ['typeParameter'],
78     TSLiteralType: ['literal'],
79     TSIntersectionType: ['types'],
80     TSIndexedAccessType: ['indexType', 'objectType'],
81     TSIndexSignature: ['parameters', 'typeAnnotation'],
82     TSInterfaceBody: ['body'],
83     TSInterfaceDeclaration: ['id', 'typeParameters', 'extends', 'body'],
84     TSInterfaceHeritage: ['expression', 'typeParameters'],
85     TSImportEqualsDeclaration: ['id', 'moduleReference'],
86     TSFunctionType: ['typeParameters', 'params', 'returnType'],
87     TSMappedType: ['typeParameter', 'typeAnnotation'],
88     TSMethodSignature: ['typeParameters', 'key', 'params', 'returnType'],
89     TSModuleBlock: ['body'],
90     TSModuleDeclaration: ['id', 'body'],
91     TSNamespaceExportDeclaration: ['id'],
92     TSNonNullExpression: ['expression'],
93     TSNeverKeyword: [],
94     TSNullKeyword: [],
95     TSNumberKeyword: [],
96     TSObjectKeyword: [],
97     TSOptionalType: ['typeAnnotation'],
98     TSParameterProperty: ['decorators', 'parameter'],
99     TSParenthesizedType: ['typeAnnotation'],
100     TSPrivateKeyword: [],
101     TSPropertySignature: ['typeAnnotation', 'key', 'initializer'],
102     TSProtectedKeyword: [],
103     TSPublicKeyword: [],
104     TSQualifiedName: ['left', 'right'],
105     TSReadonlyKeyword: [],
106     TSRestType: ['typeAnnotation'],
107     TSStaticKeyword: [],
108     TSStringKeyword: [],
109     TSSymbolKeyword: [],
110     TSThisType: [],
111     TSTupleType: ['elementTypes'],
112     TSTypeAliasDeclaration: ['id', 'typeParameters', 'typeAnnotation'],
113     TSTypeAnnotation: ['typeAnnotation'],
114     TSTypeAssertion: ['typeAnnotation', 'expression'],
115     TSTypeLiteral: ['members'],
116     TSTypeOperator: ['typeAnnotation'],
117     TSTypeParameter: ['name', 'constraint', 'default'],
118     TSTypeParameterDeclaration: ['params'],
119     TSTypeParameterInstantiation: ['params'],
120     TSTypePredicate: ['typeAnnotation', 'parameterName'],
121     TSTypeReference: ['typeName', 'typeParameters'],
122     TSTypeQuery: ['exprName'],
123     TSUnionType: ['types'],
124     TSUndefinedKeyword: [],
125     TSUnknownKeyword: [],
126     TSVoidKeyword: [],
127 });
128 //# sourceMappingURL=visitor-keys.js.map