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

Function result

static/editor.md/lib/codemirror/mode/javascript/javascript.js:301–307  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299 }
300 function pushlex(type, info) {
301 var result = function() {
302 var state = cx.state, indent = state.indented;
303 if (state.lexical.type == "stat") indent = state.lexical.indented;
304 else for (var outer = state.lexical; outer && outer.type == ")" && outer.align; outer = outer.prev)
305 indent = outer.indented;
306 state.lexical = new JSLexical(indent, cx.stream.column(), type, null, state.lexical, info);
307 };
308 result.lex = true;
309 return result;
310 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected