UNPKG

@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

35 lines (34 loc) 1.14 kB
import { Protocol as Cdp } from 'devtools-protocol'; import { UnifiedPath } from '../../system/UnifiedPath'; import { ScriptID_string, SourceNodeIdentifier_string } from '../../types'; export declare const RegExpTestRegex: RegExp; export declare class CPUProfileSourceLocation { private _index; private _callFrame; private _rootDir; private _type; private _isEmpty; private _scriptID; private _rawUrl; private _absoluteUrl?; private _relativeUrl?; private _sourceNodeIdentifier?; constructor(rootDir: UnifiedPath, locationId: number, callFrame: Cdp.Runtime.CallFrame); private get rootDir(); private get callFrame(); get index(): number; get sourceLocation(): { lineNumber: number; columnNumber: number; }; get isLangInternal(): boolean; get isEmpty(): boolean; get isWASM(): boolean; get isWebpack(): boolean; get scriptID(): ScriptID_string; get rawUrl(): string; get rawFunctionName(): string; get absoluteUrl(): UnifiedPath; get relativeUrl(): UnifiedPath; get sourceNodeIdentifier(): SourceNodeIdentifier_string; }