MCPcopy Create free account
hub / github.com/corbanbrook/dsp.js / transformFunction

Function transformFunction

examples/js/processing.js:11347–11351  ·  view source on GitHub ↗
(class_)

Source from the content-addressed store, hash-verified

11345 };
11346
11347 function transformFunction(class_) {
11348 var m = new RegExp(/\b([A-Za-z_$][\w$]*)\s*"B(\d+)"\s*"A(\d+)"/).exec(class_);
11349 return new AstFunction( m[1] !== "function" ? m[1] : null,
11350 transformParams(atoms[m[2]]), transformStatementsBlock(atoms[m[3]]));
11351 }
11352
11353 function AstInlineObject(members) {
11354 this.members = members;

Callers 1

parseProcessingFunction · 0.85

Calls 1

transformParamsFunction · 0.85

Tested by

no test coverage detected