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

Function inScope

src/cm/javascript.js:162–165  ·  view source on GitHub ↗
(state, varname)

Source from the content-addressed store, hash-verified

160 }
161
162 function inScope(state, varname) {
163 for (var v = state.localVars; v; v = v.next)
164 if (v.name == varname) return true;
165 }
166
167 function parseJS(state, style, type, content, stream) {
168 var cc = state.cc;

Callers 1

parseJSFunction · 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…