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

Method getString

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

* @desc Get string for a particular function name * @param {String} functionName - Function name to trace from. If null, it returns the WHOLE builder stack * @returns {String} settings - The string, of all the various functions. Trace optimized if functionName given

(functionName)

Source from the content-addressed store, hash-verified

402 * @returns {String} settings - The string, of all the various functions. Trace optimized if functionName given
403 */
404 getString(functionName) {
405 if (functionName) {
406 return this.getStringFromFunctionNames(this.traceFunctionCalls(functionName).reverse());
407 }
408 return this.getStringFromFunctionNames(Object.keys(this.functionMap));
409 }
410
411 lookupReturnType(functionName, ast, requestingNode) {
412 if (ast.type !== 'CallExpression') {

Callers 1

Calls 2

traceFunctionCallsMethod · 0.95

Tested by

no test coverage detected