MCPcopy
hub / github.com/DHTMLX/gantt / typename

Function typename

samples/common/codehighlight/javascript.js:733–740  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

731 if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondecl)
732 }
733 function typename(type, value) {
734 if (type == "keyword" || type == "variable") {
735 cx.marked = "type"
736 return cont(typename)
737 } else if (value == "<") {
738 return cont(pushlex(">"), commasep(typeparam, ">"), poplex)
739 }
740 }
741 function funarg(type, value) {
742 if (value == "@") cont(expression, funarg)
743 if (type == "spread") return cont(funarg);

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
pushlexFunction · 0.85
commasepFunction · 0.85

Tested by

no test coverage detected