MCPcopy Index your code
hub / github.com/corbanbrook/dsp.js / addAtom

Function addAtom

examples/js/processing.js:11121–11125  ·  view source on GitHub ↗
(text, type)

Source from the content-addressed store, hash-verified

11119 var declaredClasses = {}, currentClassId, classIdSeed = 0;
11120
11121 function addAtom(text, type) {
11122 var lastIndex = atoms.length;
11123 atoms.push(text);
11124 return '"' + type + lastIndex + '"';
11125 }
11126
11127 function generateClassId() {
11128 return "class" + (++classIdSeed);

Callers 4

extractClassesAndMethodsFunction · 0.85
extractConstructorsFunction · 0.85
preExpressionTransformFunction · 0.85
expandExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected