MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / result

Function result

lib/web/CodeMirror/mode/javascript/javascript.js:335–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333 popcontext.lex = true
334 function pushlex(type, info) {
335 var result = function() {
336 var state = cx.state, indent = state.indented;
337 if (state.lexical.type == "stat") indent = state.lexical.indented;
338 else for (var outer = state.lexical; outer && outer.type == ")" && outer.align; outer = outer.prev)
339 indent = outer.indented;
340 state.lexical = new JSLexical(indent, cx.stream.column(), type, null, state.lexical, info);
341 };
342 result.lex = true;
343 return result;
344 }

Callers

nothing calls this directly

Calls 1

columnMethod · 0.80

Tested by

no test coverage detected