MCPcopy Create free account
hub / github.com/TruthHun/BookStack / parseLineInfo

Function parseLineInfo

static/word2md/mammoth.browser.js:5318–5326  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

5316var shouldIgnore = function() { return false; };
5317var parseLineInfoRegex = /[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;
5318function parseLineInfo(line) {
5319 var matches = line.match(parseLineInfoRegex);
5320 if (matches) {
5321 return {
5322 fileName: matches[1],
5323 line: parseInt(matches[2], 10)
5324 };
5325 }
5326}
5327
5328function setBounds(firstLineError, lastLineError) {
5329 if (!longStackTracesIsSupported()) return;

Callers 1

setBoundsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected