MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / pushlex

Function pushlex

src/cm/javascript.js:219–226  ·  view source on GitHub ↗
(type, info)

Source from the content-addressed store, hash-verified

217 cx.state.context = cx.state.context.prev;
218 }
219 function pushlex(type, info) {
220 var result = function() {
221 var state = cx.state;
222 state.lexical = new JSLexical(state.indented, cx.stream.column(), type, null, state.lexical, info);
223 };
224 result.lex = true;
225 return result;
226 }
227 function poplex() {
228 var state = cx.state;
229 if (state.lexical.prev) {

Callers 4

statementFunction · 0.85
expressionFunction · 0.85
maybeoperatorFunction · 0.85
functiondefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…