MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / className

Function className

static/libs/javascript.js:767–769  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

765 return classNameAfter(type, value);
766 }
767 function className(type, value) {
768 if (type == "variable") {register(value); return cont(classNameAfter);}
769 }
770 function classNameAfter(type, value) {
771 if (value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, classNameAfter)
772 if (value == "extends" || value == "implements" || (isTS && type == ",")) {

Callers 1

classExpressionFunction · 0.85

Calls 2

registerFunction · 0.85
contFunction · 0.85

Tested by

no test coverage detected