lexer.setFileName(grammar.getFileName());
ANTLRParser parser = ANTLRParser.createParser(new CommonTokenStream(lexer));
parser.setFileName(grammar.getFileName());
ANTLRParser.rewrite_template_return parseResult = null;
try {
parseResult = parser.rewrite_template();
}
catch (RecognitionException re) {
ErrorManager.grammarError(ErrorManager.MSG_INVALID_TEMPLATE_ACTION,
grammar,
actionToken,