MCPcopy Index your code
hub / github.com/nwutils/nw-sample-apps / pushlex

Function pushlex

mini-code-edit/cm/mode/javascript/javascript.js:185–192  ·  view source on GitHub ↗
(type, info)

Source from the content-addressed store, hash-verified

183 cx.state.context = cx.state.context.prev;
184 }
185 function pushlex(type, info) {
186 var result = function() {
187 var state = cx.state;
188 state.lexical = new JSLexical(state.indented, cx.stream.column(), type, null, state.lexical, info)
189 };
190 result.lex = true;
191 return result;
192 }
193 function poplex() {
194 var state = cx.state;
195 if (state.lexical.prev) {

Callers 4

statementFunction · 0.70
expressionFunction · 0.70
maybeoperatorFunction · 0.70
functiondefFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected