use of org.eclipse.ceylon.compiler.typechecker.util.PrintVisitor in project ceylon by eclipse.
the class Node method toString.
@Override
public String toString() {
StringWriter w = new StringWriter();
PrintVisitor pv = new PrintVisitor(w);
pv.visitAny(this);
return w.toString();
// return getClass().getSimpleName() + "(" + text + ")";
}
use of org.eclipse.ceylon.compiler.typechecker.util.PrintVisitor in project ceylon by eclipse.
the class PhasedUnit method display.
public void display() {
System.out.println("Displaying " + fileName);
rootNode.visit(new PrintVisitor());
}
Aggregations