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

Function AstInlineClass

examples/js/processing.js:11301–11305  ·  view source on GitHub ↗
(baseInterfaceName, body)

Source from the content-addressed store, hash-verified

11299 }
11300
11301 function AstInlineClass(baseInterfaceName, body) {
11302 this.baseInterfaceName = baseInterfaceName;
11303 this.body = body;
11304 body.owner = this;
11305 }
11306 AstInlineClass.prototype.toString = function() {
11307 return "new (function() {\n" + this.body + "})";
11308 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected