MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / inScope

Function inScope

mini-code-edit/cm/mode/javascript/javascript.js:128–131  ·  view source on GitHub ↗
(state, varname)

Source from the content-addressed store, hash-verified

126 }
127
128 function inScope(state, varname) {
129 for (var v = state.localVars; v; v = v.next)
130 if (v.name == varname) return true;
131 }
132
133 function parseJS(state, style, type, content, stream) {
134 var cc = state.cc;

Callers 1

parseJSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected