JobSafeStructuredDocument newdocument = new JobSafeStructuredDocument(
new TwigSourceParser());
String start = "<?php";
newdocument.set(start + tempsb.toString());
TwigFormatter formatter = new TwigFormatter(0, newdocument.getLength());
formatter.format(newdocument.getFirstStructuredDocumentRegion());
List<String> list = new ArrayList<String>();
try {
int lineNumber = newdocument.getNumberOfLines();
for (int i = 0; i < lineNumber; i++) {