MCPcopy Create free account
hub / github.com/Paxa/postbird / classExpression

Function classExpression

public/codemirror/javascript/javascript.js:628–632  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

626 return pass(pattern, maybetype, maybeAssign);
627 }
628 function classExpression(type, value) {
629 // Class expressions may have an optional name.
630 if (type == "variable") return className(type, value);
631 return classNameAfter(type, value);
632 }
633 function className(type, value) {
634 if (type == "variable") {register(value); return cont(classNameAfter);}
635 }

Callers

nothing calls this directly

Calls 2

classNameFunction · 0.85
classNameAfterFunction · 0.85

Tested by

no test coverage detected