enableDisableRules.d.ts 562 Bytes
import * as ts from "typescript";
import { SkippableTokenAwareRuleWalker } from "./language/walker/skippableTokenAwareRuleWalker";
import { IEnableDisablePosition } from "./ruleLoader";
export declare class EnableDisableRulesWalker extends SkippableTokenAwareRuleWalker {
    enableDisableRuleMap: {
        [rulename: string]: IEnableDisablePosition[];
    };
    visitSourceFile(node: ts.SourceFile): void;
    private getStartOfLinePosition(node, position, lineOffset?);
    private handlePossibleTslintSwitch(commentText, startingPosition, node, scanner);
}