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

Function className

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

Source from the content-addressed store, hash-verified

631 return classNameAfter(type, value);
632 }
633 function className(type, value) {
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);

Callers 1

classExpressionFunction · 0.85

Calls 2

registerFunction · 0.85
contFunction · 0.85

Tested by

no test coverage detected