source: trip-planner-front/node_modules/fast-glob/out/providers/matchers/matcher.d.ts@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.1 KB
Line 
1import { Pattern, MicromatchOptions, PatternRe } from '../../types';
2import Settings from '../../settings';
3export declare type PatternSegment = StaticPatternSegment | DynamicPatternSegment;
4declare type StaticPatternSegment = {
5 dynamic: false;
6 pattern: Pattern;
7};
8declare type DynamicPatternSegment = {
9 dynamic: true;
10 pattern: Pattern;
11 patternRe: PatternRe;
12};
13export declare type PatternSection = PatternSegment[];
14export declare type PatternInfo = {
15 /**
16 * Indicates that the pattern has a globstar (more than a single section).
17 */
18 complete: boolean;
19 pattern: Pattern;
20 segments: PatternSegment[];
21 sections: PatternSection[];
22};
23export default abstract class Matcher {
24 private readonly _patterns;
25 private readonly _settings;
26 private readonly _micromatchOptions;
27 protected readonly _storage: PatternInfo[];
28 constructor(_patterns: Pattern[], _settings: Settings, _micromatchOptions: MicromatchOptions);
29 private _fillStorage;
30 private _getPatternSegments;
31 private _splitSegmentsIntoSections;
32}
33export {};
Note: See TracBrowser for help on using the repository browser.