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

Function transformClassMethod

examples/js/processing.js:11604–11609  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

11602 };
11603
11604 function transformClassMethod(method) {
11605 var m = methodsRegex.exec(method);
11606 methodsRegex.lastIndex = 0;
11607 return new AstClassMethod(m[3], transformParams(atoms[getAtomIndex(m[4])]),
11608 transformStatementsBlock(atoms[getAtomIndex(m[6])]) );
11609 }
11610
11611 function AstClassField(definitions, fieldType, isStatic) {
11612 this.definitions = definitions;

Callers 1

parseProcessingFunction · 0.85

Calls 2

transformParamsFunction · 0.85
getAtomIndexFunction · 0.85

Tested by

no test coverage detected