@oaklean/profiler-core
Version:
Part of the @oaklean suite. It provides all basic functions to work with the `.oak` file format. It allows parsing the `.oak` file format as well as tools for analyzing the measurement values. It also provides all necessary capabilities required for prec
20 lines (19 loc) • 1.83 kB
TypeScript
export declare const SourceNodeNameRegexString = "[a-zA-Z0-9_$#]+";
export declare const SourceNodeNameExpressionRegex = "(?:[a-zA-Z0-9_$#]+|\\((?:literal|expression):[a-zA-Z0-9_$#]+\\))";
export declare const RootRegexString = "{root}";
export declare const RootRegex: RegExp;
export declare const ConstructorDeclarationRegex = "{constructor:constructor}";
export declare const ClassDeclarationRegex = "{class:[a-zA-Z0-9_$#]+}";
export declare const MethodDefinitionRegex = "{method:(?:[a-zA-Z0-9_$#]+|\\((?:literal|expression):[a-zA-Z0-9_$#]+\\))}";
export declare const FunctionDeclarationRegex = "{function:(?:[a-zA-Z0-9_$#]+|\\((?:literal|expression):[a-zA-Z0-9_$#]+\\))}";
export declare const FunctionExpressionRegex = "{functionExpression:(?:(?:[a-zA-Z0-9_$#]+|\\((?:literal|expression):[a-zA-Z0-9_$#]+\\))|\\(anonymous:[0-9]+\\))}";
export declare const LangInternalSourceNodeRegExpRegexString = "RegExp: .*";
export declare const LangInternalSourceNodeNameRegexString = "[^{}]+";
export declare const LangInternalSourceNodeIdentifierRegexString: string;
export declare const LangInternalSourceNodeIdentifierRegex: RegExp;
export declare const SourceNodeIdentifierPartRegexString = "(?:{constructor:constructor}|{class:[a-zA-Z0-9_$#]+}|{method:(?:[a-zA-Z0-9_$#]+|\\((?:literal|expression):[a-zA-Z0-9_$#]+\\))}|{function:(?:[a-zA-Z0-9_$#]+|\\((?:literal|expression):[a-zA-Z0-9_$#]+\\))}|{functionExpression:(?:(?:[a-zA-Z0-9_$#]+|\\((?:literal|expression):[a-zA-Z0-9_$#]+\\))|\\(anonymous:[0-9]+\\))})";
export declare const SourceNodeIdentifierPartRegex: RegExp;
export declare const SourceNodeIdentifierRegexString: string;
export declare const SourceNodeIdentifierRegex: RegExp;
export declare const LangInternalPathRegexString = "node:(?:[^\\/{}]*)(?:\\/[^\\/{}]*)*";
export declare const LangInternalPathRegex: RegExp;