MCPcopy Index your code
hub / github.com/node-inspector/node-inspector / pushlex

Function pushlex

front-end/cm/javascript.js:297–305  ·  view source on GitHub ↗
(type, info)

Source from the content-addressed store, hash-verified

295 cx.state.context = cx.state.context.prev;
296 }
297 function pushlex(type, info) {
298 var result = function() {
299 var state = cx.state, indent = state.indented;
300 if (state.lexical.type == "stat") indent = state.lexical.indented;
301 state.lexical = new JSLexical(indent, cx.stream.column(), type, null, state.lexical, info);
302 };
303 result.lex = true;
304 return result;
305 }
306 function poplex() {
307 var state = cx.state;
308 if (state.lexical.prev) {

Callers 8

statementFunction · 0.85
expressionInnerFunction · 0.85
maybeoperatorNoCommaFunction · 0.85
contCommasepFunction · 0.85
maybeelseFunction · 0.85
forspecFunction · 0.85
functiondefFunction · 0.85
classNameAfterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected