MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / className

Function className

lib/web/CodeMirror/mode/javascript/javascript.js:748–750  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

746 return classNameAfter(type, value);
747 }
748 function className(type, value) {
749 if (type == "variable") {register(value); return cont(classNameAfter);}
750 }
751 function classNameAfter(type, value) {
752 if (value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, classNameAfter)
753 if (value == "extends" || value == "implements" || (isTS && type == ",")) {

Callers 1

classExpressionFunction · 0.70

Calls 2

registerFunction · 0.70
contFunction · 0.70

Tested by

no test coverage detected