* @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)
| 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; |
no test coverage detected