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

Function classNameAfter

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

Source from the content-addressed store, hash-verified

634 if (type == "variable") {register(value); return cont(classNameAfter);}
635 }
636 function classNameAfter(type, value) {
637 if (value == "extends" || value == "implements" || (isTS && type == ","))
638 return cont(isTS ? typeexpr : expression, classNameAfter);
639 if (type == "{") return cont(pushlex("}"), classBody, poplex);
640 }
641 function classBody(type, value) {
642 if (type == "variable" || cx.style == "keyword") {
643 if ((value == "async" || value == "static" || value == "get" || value == "set" ||

Callers 1

classExpressionFunction · 0.85

Calls 2

contFunction · 0.85
pushlexFunction · 0.85

Tested by

no test coverage detected