source: node_modules/minimatch/dist/commonjs/ast.d.ts

main
Last change on this file was 33517cc, checked in by Klimentina Efremova <klimentina08642@…>, 10 days ago

Turned database from SQLite to PostgressSQL, updated database changes from Phase 1 and 2

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