MCPcopy Index your code
hub / github.com/gpujs/gpu.js / addFunctionNode

Method addFunctionNode

src/backend/function-builder.js:249–255  ·  view source on GitHub ↗

* @desc Add the function node directly * * @param {FunctionNode} functionNode - functionNode to add *

(functionNode)

Source from the content-addressed store, hash-verified

247 *
248 */
249 addFunctionNode(functionNode) {
250 if (!functionNode.name) throw new Error('functionNode.name needs set');
251 this.functionMap[functionNode.name] = functionNode;
252 if (functionNode.isRootKernel) {
253 this.rootNode = functionNode;
254 }
255 }
256
257 /**
258 * @desc Trace all the depending functions being called, from a single function

Callers 1

onNestedFunctionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected