if (text != null) {
try {
Parser childParser = root.parser.getMultiParser().createParser(name);
ASTDocument doc = childParser.Document();
if (childParser.syntaxErrors.size() > 0) {
ReparseException ex = new ReparseException("errors in file " + name, null, jjtGetFirstToken(), this);
ex.syntaxErrors = childParser.syntaxErrors;
throw ex;
}
children = doc.children;
if(children==null)
children=children;
for (Node ch : children) {
ch.jjtSetParent(this);
}
super.reparse(env);
} catch (ReparseException ex1) {
throw ex1;
} catch (Exception ex) {
ReparseException pe = new ReparseException("errors in file " + name, ex, jjtGetFirstToken(), this);
// pe.initCause(ex);
ex.printStackTrace();
throw pe;
}