drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java
public void printTree() {
        System.out.println("ROOT");
        for (Node n : rootCond.getChildren()) {
            printNode(n);
        }
    }
public void printTree() {
        System.out.println("ROOT");
        for (Node n : rootCond.getChildren()) {
            printNode(n);
        }
    }
The method will print the DSLTree to System.out in text format.