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

Function AstInnerClass

examples/js/processing.js:11560–11564  ·  view source on GitHub ↗
(name, body)

Source from the content-addressed store, hash-verified

11558 "throw 'This is an interface'; };";
11559 };
11560 function AstInnerClass(name, body) {
11561 this.name = name;
11562 this.body = body;
11563 body.owner = this;
11564 }
11565 AstInnerClass.prototype.toString = function() {
11566 return "this." + this.name + " = function " + this.name + "() {\n" +
11567 this.body + "};";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected