printer-notifications/node_modules/svelte-eslint-parser/lib/parser/analyze-scope.d.ts
2023-11-13 16:10:04 -05:00

16 lines
618 B
TypeScript

import type ESTree from "estree";
import type { ScopeManager } from "eslint-scope";
import type { SvelteScriptElement } from "../ast";
/**
* Analyze scope
*/
export declare function analyzeScope(node: ESTree.Node, parserOptions?: any): ScopeManager;
/** Analyze reactive scope */
export declare function analyzeReactiveScope(scopeManager: ScopeManager): void;
/**
* Analyze store scope. e.g. $count
*/
export declare function analyzeStoreScope(scopeManager: ScopeManager): void;
/** Transform props exports */
export declare function analyzePropsScope(body: SvelteScriptElement, scopeManager: ScopeManager): void;