MySQLLexer lexer = new MySQLLexer(input);
lexer.setErrorReporter(reporter);
CommonTokenStream tokens = new CommonTokenStream(lexer);
MySQLParser parser = new MySQLParser(tokens);
parser.ignoreDBName(ignoreDBCommands);
parser.setErrorReporter(reporter);
parser.setTemplateLib(stg);
parser.setOutWriter(pw);
parser.setDataFactory(printWriterFactory);
parser.setTableAlterations(tableAlterations);