1 | import * as ts from 'typescript';
|
2 | import { FindingFilterFactory, FindingFilter, FindingFilterContext, LineSwitchParser, LineSwitchParserContext, RawLineSwitch } from '@fimbul/ymir';
|
3 | export declare const LINE_SWITCH_REGEX: RegExp;
|
4 | export declare class LineSwitchFilterFactory implements FindingFilterFactory {
|
5 | private parser;
|
6 | constructor(parser: LineSwitchParser);
|
7 | create(context: FindingFilterContext): FindingFilter;
|
8 | getDisabledRanges(context: FindingFilterContext): Map<string, ts.TextRange[]>;
|
9 | private parseLineSwitches;
|
10 | }
|
11 | export declare class DefaultLineSwitchParser implements LineSwitchParser {
|
12 | parse(context: LineSwitchParserContext): RawLineSwitch[];
|
13 | }
|