use of org.eclipse.ceylon.compiler.typechecker.treegen.VisitorAdaptorgenParser in project ceylon by eclipse.
the class Generate method visitorAdaptor.
private static void visitorAdaptor(File file) throws Exception {
InputStream is = new FileInputStream(file);
ANTLRInputStream input = new ANTLRInputStream(is);
VisitorAdaptorgenLexer lexer = new VisitorAdaptorgenLexer(input);
CommonTokenStream tokens = new CommonTokenStream(lexer);
VisitorAdaptorgenParser parser = new VisitorAdaptorgenParser(tokens);
File out = new File(GENERATED_PACKAGE_DIR + "VisitorAdaptor.java");
out.createNewFile();
Util.out = new PrintStream(out);
parser.nodeList();
}
Aggregations