MCPcopy Create free account
hub / github.com/TruthHun/BookStack / register

Function register

static/editor.md/lib/codemirror/mode/haxe/haxe.js:211–219  ·  view source on GitHub ↗
(varname)

Source from the content-addressed store, hash-verified

209 return true;
210 }
211 function register(varname) {
212 var state = cx.state;
213 if (state.context) {
214 cx.marked = "def";
215 for (var v = state.localVars; v; v = v.next)
216 if (v.name == varname) return;
217 state.localVars = {name: varname, next: state.localVars};
218 }
219 }
220
221 // Combinators
222

Callers 4

vardef1Function · 0.70
forspec1Function · 0.70
functiondefFunction · 0.70
funargFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected