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

Function typestring

static/editor.md/lib/codemirror/mode/haxe/haxe.js:382–386  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

380 if(type == ":") return cont(typestring);
381 }
382 function typestring(type) {
383 if(type == "type") return cont();
384 if(type == "variable") return cont();
385 if(type == "{") return cont(pushlex("}"), commasep(typeprop, "}"), poplex);
386 }
387 function typeprop(type) {
388 if(type == "variable") return cont(typeuse);
389 }

Callers

nothing calls this directly

Calls 3

contFunction · 0.70
pushlexFunction · 0.70
commasepFunction · 0.70

Tested by

no test coverage detected