MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / block

Function block

static/libs/javascript.js:586–589  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

584 return cont(pushlex(end, info), commasep(what, end), poplex);
585 }
586 function block(type) {
587 if (type == "}") return cont();
588 return pass(statement, block);
589 }
590 function maybetype(type, value) {
591 if (isTS) {
592 if (type == ":") return cont(typeexpr);

Callers 3

F0NtrainMethod · 0.85
forwardMethod · 0.85
forwardMethod · 0.85

Calls 2

contFunction · 0.85
passFunction · 0.70

Tested by

no test coverage detected