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

Method astFunctionDeclaration

src/backend/function-node.js:1009–1014  ·  view source on GitHub ↗

* @desc Parses the abstract syntax tree for to its *named function declaration* * @param {Object} ast - the AST object to parse * @param {Array} retArr - return array string * @returns {Array} the append retArr

(ast, retArr)

Source from the content-addressed store, hash-verified

1007 * @returns {Array} the append retArr
1008 */
1009 astFunctionDeclaration(ast, retArr) {
1010 if (this.isChildFunction(ast)) {
1011 return retArr;
1012 }
1013 return this.astFunction(ast, retArr);
1014 }
1015 astFunctionExpression(ast, retArr) {
1016 if (this.isChildFunction(ast)) {
1017 return retArr;

Callers 1

astGenericMethod · 0.95

Calls 2

isChildFunctionMethod · 0.95
astFunctionMethod · 0.95

Tested by

no test coverage detected