(.js)
laraImport("clava.util.CodeInserter");
(.lara)
import clava.util.CodeInserter;
Classes:
new CodeInserter()Writes the original code of the application, with the possibility of inserting new lines of code.
_addContent(fileLines, line, content)_getFileLines(astId)PRIVATE FUNCTIONS
add($file, line, content)constructor()write(outputFolder)Writes the code of the current tree, plus the lines to insert, to the given folder.