Urara-Blog/node_modules/.pnpm-store/v3/files/aa/2e6367df17d2a3814d1e4d8b2966dcf1f32b5a62fbffcc6e7da09c4a12eaa426a34e8b91c6aae03a16c31a2a00c6707c16363a94fc1803205fe98497df0cfe
2022-08-14 01:14:53 +08:00

55 lines
No EOL
2.6 KiB
Text

import { TSESTree } from '../ts-estree';
import { PatternVisitorCallback, PatternVisitorOptions, Visitor } from './Options';
import { Scope } from './Scope';
import { ScopeManager } from './ScopeManager';
interface Referencer<SM extends ScopeManager> extends Visitor {
isInnerMethodDefinition: boolean;
options: any;
scopeManager: SM;
parent?: TSESTree.Node;
currentScope(): Scope;
close(node: TSESTree.Node): void;
pushInnerMethodDefinition(isInnerMethodDefinition: boolean): boolean;
popInnerMethodDefinition(isInnerMethodDefinition: boolean): void;
referencingDefaultValue(pattern: any, assignments: any, maybeImplicitGlobal: any, init: boolean): void;
visitPattern(node: TSESTree.Node, options: PatternVisitorOptions, callback: PatternVisitorCallback): void;
visitFunction(node: TSESTree.Node): void;
visitClass(node: TSESTree.Node): void;
visitProperty(node: TSESTree.Node): void;
visitForIn(node: TSESTree.Node): void;
visitVariableDeclaration(variableTargetScope: any, type: any, node: TSESTree.Node, index: any): void;
AssignmentExpression(node: TSESTree.Node): void;
CatchClause(node: TSESTree.Node): void;
Program(node: TSESTree.Program): void;
Identifier(node: TSESTree.Identifier): void;
UpdateExpression(node: TSESTree.Node): void;
MemberExpression(node: TSESTree.Node): void;
Property(node: TSESTree.Node): void;
MethodDefinition(node: TSESTree.Node): void;
BreakStatement(): void;
ContinueStatement(): void;
LabeledStatement(node: TSESTree.Node): void;
ForStatement(node: TSESTree.Node): void;
ClassExpression(node: TSESTree.Node): void;
ClassDeclaration(node: TSESTree.Node): void;
CallExpression(node: TSESTree.Node): void;
BlockStatement(node: TSESTree.Node): void;
ThisExpression(): void;
WithStatement(node: TSESTree.Node): void;
VariableDeclaration(node: TSESTree.Node): void;
SwitchStatement(node: TSESTree.Node): void;
FunctionDeclaration(node: TSESTree.Node): void;
FunctionExpression(node: TSESTree.Node): void;
ForOfStatement(node: TSESTree.Node): void;
ForInStatement(node: TSESTree.Node): void;
ArrowFunctionExpression(node: TSESTree.Node): void;
ImportDeclaration(node: TSESTree.Node): void;
visitExportDeclaration(node: TSESTree.Node): void;
ExportDeclaration(node: TSESTree.Node): void;
ExportNamedDeclaration(node: TSESTree.Node): void;
ExportSpecifier(node: TSESTree.Node): void;
MetaProperty(): void;
}
declare const Referencer: new <SM extends ScopeManager>(options: any, scopeManager: SM) => Referencer<SM>;
export { Referencer };
//# sourceMappingURL=Referencer.d.ts.map