//System.out.println("Parsing " + file.getName());
CeylonLexer lexer = new CeylonLexer(new ANTLRInputStream(file.getInputStream(), getEncoding()));
CommonTokenStream tokenStream = new CommonTokenStream(lexer);
CeylonParser parser = new CeylonParser(tokenStream);
Tree.CompilationUnit cu = parser.compilationUnit();
List<CommonToken> tokens = new ArrayList<CommonToken>(tokenStream.getTokens().size());
tokens.addAll(tokenStream.getTokens());
PhasedUnit phasedUnit = new PhasedUnit(file, srcDir, cu,
moduleManager.getCurrentPackage(), moduleManager,
context, tokens);