diff --git a/lib/parser/function_body.js b/lib/parser/function_body.js index 0f984a5..0e79639 100644 --- a/lib/parser/function_body.js +++ b/lib/parser/function_body.js @@ -102,7 +102,7 @@ FunctionBody.setMethod(function getSourceCode() { let result = '', entry; - + for (entry of this.content) { if (entry.source) { @@ -115,6 +115,11 @@ FunctionBody.setMethod(function getSourceCode() { if (entry.function_body) { result += entry.function_body.getSourceCode(); + + if (entry.function_body.type == 'element') { + result += ''; + } + continue; }