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