source: node_modules/minimatch/dist/esm/ast.d.ts@ 62b2964

finki-main main
Last change on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • Property mode set to 100644
File size: 795 bytes
RevLine 
[81bc7da]1import { MinimatchOptions, MMRegExp } from './index.js';
2export type ExtglobType = '!' | '?' | '+' | '*' | '@';
3export declare class AST {
4 #private;
5 type: ExtglobType | null;
6 constructor(type: ExtglobType | null, parent?: AST, options?: MinimatchOptions);
7 get hasMagic(): boolean | undefined;
8 toString(): string;
9 push(...parts: (string | AST)[]): void;
10 toJSON(): any[];
11 isStart(): boolean;
12 isEnd(): boolean;
13 copyIn(part: AST | string): void;
14 clone(parent: AST): AST;
15 static fromGlob(pattern: string, options?: MinimatchOptions): AST;
16 toMMPattern(): MMRegExp | string;
17 get options(): MinimatchOptions;
18 toRegExpSource(allowDot?: boolean): [re: string, body: string, hasMagic: boolean, uflag: boolean];
19}
20//# sourceMappingURL=ast.d.ts.map
Note: See TracBrowser for help on using the repository browser.