scopeAwareRuleWalker.d.ts 501 B

1234567891011121314
  1. import * as ts from "typescript";
  2. import { RuleWalker } from "./ruleWalker";
  3. export declare abstract class ScopeAwareRuleWalker<T> extends RuleWalker {
  4. private scopeStack;
  5. constructor(sourceFile: ts.SourceFile, options?: any);
  6. abstract createScope(): T;
  7. getCurrentScope(): T;
  8. getAllScopes(): T[];
  9. getCurrentDepth(): number;
  10. onScopeStart(): void;
  11. onScopeEnd(): void;
  12. protected visitNode(node: ts.Node): void;
  13. protected isScopeBoundary(node: ts.Node): boolean;
  14. }