MCPcopy Create free account
hub / github.com/aidenybai/bippy / parseOpera

Function parseOpera

packages/bippy/src/source/parse-stack.ts:162–173  ·  view source on GitHub ↗
(error: Error, options?: ParseOptions)

Source from the content-addressed store, hash-verified

160 let frame = cache?.get(line);
161 if (!frame) {
162 if (isV8 ? !CHROME_IE_STACK_REGEXP.test(line) : SAFARI_NATIVE_CODE_REGEXP.test(line))
163 continue;
164 frame = isV8 ? parseV8Line(line) : parseSafariLine(line);
165 cache?.set(line, frame);
166 }
167 frames.push(frame);
168 }
169 return frames;
170};
171
172export const parseV8OrIeString = (stack: string): StackFrame[] => parseLines(stack, true);
173
174export const parseFFOrSafariString = (stack: string): StackFrame[] => parseLines(stack, false);
175
176export const createStackParser = () => {

Callers

nothing calls this directly

Calls 4

getNonStandardStacktraceFunction · 0.85
parseOpera9Function · 0.85
parseOpera10Function · 0.85
parseOpera11Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…