1 import { TSESTree } from '../ts-estree';
2 import { PatternVisitorCallback, PatternVisitorOptions, Visitor } from './Options';
3 import { Scope } from './Scope';
4 import { ScopeManager } from './ScopeManager';
5 interface Referencer<SM extends ScopeManager> extends Visitor {
6 isInnerMethodDefinition: boolean;
9 parent?: TSESTree.Node;
10 currentScope(): Scope;
11 close(node: TSESTree.Node): void;
12 pushInnerMethodDefinition(isInnerMethodDefinition: boolean): boolean;
13 popInnerMethodDefinition(isInnerMethodDefinition: boolean): void;
14 referencingDefaultValue(pattern: any, assignments: any, maybeImplicitGlobal: any, init: boolean): void;
15 visitPattern(node: TSESTree.Node, options: PatternVisitorOptions, callback: PatternVisitorCallback): void;
16 visitFunction(node: TSESTree.Node): void;
17 visitClass(node: TSESTree.Node): void;
18 visitProperty(node: TSESTree.Node): void;
19 visitForIn(node: TSESTree.Node): void;
20 visitVariableDeclaration(variableTargetScope: any, type: any, node: TSESTree.Node, index: any): void;
21 AssignmentExpression(node: TSESTree.Node): void;
22 CatchClause(node: TSESTree.Node): void;
23 Program(node: TSESTree.Program): void;
24 Identifier(node: TSESTree.Identifier): void;
25 UpdateExpression(node: TSESTree.Node): void;
26 MemberExpression(node: TSESTree.Node): void;
27 Property(node: TSESTree.Node): void;
28 MethodDefinition(node: TSESTree.Node): void;
29 BreakStatement(): void;
30 ContinueStatement(): void;
31 LabeledStatement(node: TSESTree.Node): void;
32 ForStatement(node: TSESTree.Node): void;
33 ClassExpression(node: TSESTree.Node): void;
34 ClassDeclaration(node: TSESTree.Node): void;
35 CallExpression(node: TSESTree.Node): void;
36 BlockStatement(node: TSESTree.Node): void;
37 ThisExpression(): void;
38 WithStatement(node: TSESTree.Node): void;
39 VariableDeclaration(node: TSESTree.Node): void;
40 SwitchStatement(node: TSESTree.Node): void;
41 FunctionDeclaration(node: TSESTree.Node): void;
42 FunctionExpression(node: TSESTree.Node): void;
43 ForOfStatement(node: TSESTree.Node): void;
44 ForInStatement(node: TSESTree.Node): void;
45 ArrowFunctionExpression(node: TSESTree.Node): void;
46 ImportDeclaration(node: TSESTree.Node): void;
47 visitExportDeclaration(node: TSESTree.Node): void;
48 ExportDeclaration(node: TSESTree.Node): void;
49 ExportNamedDeclaration(node: TSESTree.Node): void;
50 ExportSpecifier(node: TSESTree.Node): void;
53 declare const Referencer: new <SM extends ScopeManager>(options: any, scopeManager: SM) => Referencer<SM>;
54 export { Referencer };
55 //# sourceMappingURL=Referencer.d.ts.map