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

Function classNameAfter

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

Source from the content-addressed store, hash-verified

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 == ",")) {
773 if (value == "implements") cx.marked = "keyword";
774 return cont(isTS ? typeexpr : expression, classNameAfter);
775 }
776 if (type == "{") return cont(pushlex("}"), classBody, poplex);
777 }
778 function classBody(type, value) {
779 if (type == "async" ||
780 (type == "variable" &&

Callers 1

classExpressionFunction · 0.85

Calls 3

contFunction · 0.85
pushlexFunction · 0.85
commasepFunction · 0.85

Tested by

no test coverage detected