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

Method castLiteralToFloat

src/backend/web-gl/function-node.js:558–563  ·  view source on GitHub ↗

* * @param {Object} ast * @param {Array} retArr * @return {String[]}

(ast, retArr)

Source from the content-addressed store, hash-verified

556 * @return {String[]}
557 */
558 castLiteralToFloat(ast, retArr) {
559 this.pushState('casting-to-float');
560 this.astGeneric(ast, retArr);
561 this.popState('casting-to-float');
562 return retArr;
563 }
564
565 /**
566 *

Callers 5

astReturnStatementMethod · 0.95
astBinaryExpressionMethod · 0.95
astSwitchStatementMethod · 0.95
astCallExpressionMethod · 0.95

Calls 3

astGenericMethod · 0.80
pushStateMethod · 0.45
popStateMethod · 0.45

Tested by

no test coverage detected