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

Function maybeTypeArgs

lib/web/CodeMirror/mode/javascript/javascript.js:658–660  ·  view source on GitHub ↗
(_, value)

Source from the content-addressed store, hash-verified

656 if (value == "?") return cont(typeexpr, expect(":"), typeexpr)
657 }
658 function maybeTypeArgs(_, value) {
659 if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType)
660 }
661 function typeparam() {
662 return pass(typeexpr, maybeTypeDefault)
663 }

Callers

nothing calls this directly

Calls 3

contFunction · 0.70
pushlexFunction · 0.70
commasepFunction · 0.70

Tested by

no test coverage detected