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

Function classNameAfter

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

Source from the content-addressed store, hash-verified

749 if (type == "variable") {register(value); return cont(classNameAfter);}
750 }
751 function classNameAfter(type, value) {
752 if (value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, classNameAfter)
753 if (value == "extends" || value == "implements" || (isTS && type == ",")) {
754 if (value == "implements") cx.marked = "keyword";
755 return cont(isTS ? typeexpr : expression, classNameAfter);
756 }
757 if (type == "{") return cont(pushlex("}"), classBody, poplex);
758 }
759 function classBody(type, value) {
760 if (type == "async" ||
761 (type == "variable" &&

Callers 1

classExpressionFunction · 0.85

Calls 3

contFunction · 0.70
pushlexFunction · 0.70
commasepFunction · 0.70

Tested by

no test coverage detected