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

Function classExpression

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

Source from the content-addressed store, hash-verified

741 return pass(pattern, maybetype, maybeAssign);
742 }
743 function classExpression(type, value) {
744 // Class expressions may have an optional name.
745 if (type == "variable") return className(type, value);
746 return classNameAfter(type, value);
747 }
748 function className(type, value) {
749 if (type == "variable") {register(value); return cont(classNameAfter);}
750 }

Callers

nothing calls this directly

Calls 2

classNameAfterFunction · 0.85
classNameFunction · 0.70

Tested by

no test coverage detected