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

Function classExpression

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

Source from the content-addressed store, hash-verified

760 return pass(pattern, maybetype, maybeAssign);
761 }
762 function classExpression(type, value) {
763 // Class expressions may have an optional name.
764 if (type == "variable") return className(type, value);
765 return classNameAfter(type, value);
766 }
767 function className(type, value) {
768 if (type == "variable") {register(value); return cont(classNameAfter);}
769 }

Callers

nothing calls this directly

Calls 2

classNameFunction · 0.85
classNameAfterFunction · 0.85

Tested by

no test coverage detected