MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / getDebugInfo

Function getDebugInfo

core/cb.addons/require-tools/less/lessc.js:268–278  ·  view source on GitHub ↗
(index, inputStream, env)

Source from the content-addressed store, hash-verified

266 }
267
268 function getDebugInfo(index, inputStream, env) {
269 var filename = env.currentFileInfo.filename;
270 if(less.mode !== 'browser' && less.mode !== 'rhino') {
271 filename = require('path').resolve(filename);
272 }
273
274 return {
275 lineNumber: getLocation(index, inputStream).line + 1,
276 fileName: filename
277 };
278 }
279
280 function LessError(e, env) {
281 var input = getInput(e, env),

Callers 1

lessc.jsFile · 0.85

Calls 2

requireFunction · 0.85
getLocationFunction · 0.85

Tested by

no test coverage detected