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

Method getDeclaration

src/backend/function-node.js:260–268  ·  view source on GitHub ↗
(ast)

Source from the content-addressed store, hash-verified

258 }
259
260 getDeclaration(ast) {
261 for (let i = 0; i < this.identifiers.length; i++) {
262 const identifier = this.identifiers[i];
263 if (ast === identifier.ast) {
264 return identifier.declaration;
265 }
266 }
267 return null;
268 }
269
270 /**
271 * @desc Return the type of parameter sent to subKernel/Kernel.

Callers 6

getVariableTypeMethod · 0.95
getTypeMethod · 0.95
getDependenciesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected