1.1.40 • Published 9 months ago
regexp-parser-literal v1.1.40
regexp-parser-literal
API
import * as regexpp from 'regexpp2';
import { AST } from 'regexpp2';
export declare const EMOJI_REGEX: RegExp;
export declare const defaultRegExpParser: regexpp.RegExpParser;
export declare function createRegExpParser(options?: regexpp.RegExpParser.Options): regexpp.RegExpParser;
export declare function parseRegExp(input: string, objRegExpParser?: regexpp.RegExpParser): regexpp.AST.RegExpLiteral;
export declare function parseFlags(input: string, objRegExpParser?: regexpp.RegExpParser): regexpp.AST.Flags;
export declare function parsePattern(input: string, uFlag?: boolean | string, objRegExpParser?: regexpp.RegExpParser): regexpp.AST.Pattern;
export declare function fakePatternToRegExpLiteral(pattern: AST.Pattern | string, flags?: string | AST.Flags, objRegExpParser?: regexpp.RegExpParser): AST.RegExpLiteral;
export declare type IAstToStringOptions = {
debugChanged?: boolean | number;
noUniqueClass?: boolean;
doUniqueClassEmoji?: boolean;
sortClass?: boolean;
};
export declare function astToString(ast: AST.Element & INodePlus | AST.Node & INodePlus, options?: IAstToStringOptions): string;
export declare type INodePlus = {
changed?: boolean;
old_raw?: string;
};
export declare function array_unique<T>(arr: T[]): Partial<T>[];
import * as self from './index';
export default self;
1.1.40
9 months ago
1.1.39
10 months ago
1.1.38
1 year ago
1.1.37
1 year ago
1.1.36
2 years ago
1.1.34
3 years ago
1.1.35
3 years ago
1.1.33
3 years ago
1.1.31
4 years ago
1.1.29
4 years ago
1.1.24
4 years ago
1.1.23
4 years ago
1.1.22
4 years ago
1.1.19
4 years ago
1.1.17
4 years ago
1.1.16
5 years ago
1.1.15
5 years ago
1.1.14
5 years ago
1.1.12
5 years ago
1.1.11
5 years ago
1.1.10
5 years ago
1.1.9
5 years ago
1.1.8
5 years ago
1.1.7
5 years ago
1.1.6
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
6 years ago
1.0.2
6 years ago
1.0.1
7 years ago
1.0.0
7 years ago