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

Function transformConstructor

examples/js/processing.js:11673–11678  ·  view source on GitHub ↗
(cstr)

Source from the content-addressed store, hash-verified

11671 };
11672
11673 function transformConstructor(cstr) {
11674 var m = new RegExp(/"B(\d+)"\s*"A(\d+)"/).exec(cstr);
11675 var params = transformParams(atoms[m[1]]);
11676
11677 return new AstConstructor(params, transformStatementsBlock(atoms[m[2]]));
11678 }
11679
11680 function AstClassBody(name, baseClassName, functions, methods, fields, cstrs, innerClasses, misc) {
11681 var i,l;

Callers 1

parseProcessingFunction · 0.85

Calls 1

transformParamsFunction · 0.85

Tested by

no test coverage detected