toUnFormattedString method
Recursive call to get the unformatted code from all nodes
Implementation
@override
String toUnFormattedString(Context context) {
StringBuffer buffer = StringBuffer();
for (CodeNode codeNode in codeNodes(context)) {
String unformattedCode = codeNode.toUnFormattedString(context);
if (codeNode is! CodeModel) {
context.lastCode = unformattedCode;
}
buffer.write(unformattedCode);
}
return buffer.toString();
}