drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java
protected void printNode(Node n) {
        printTabs(n.getDepth());
        System.out.println("- \"" + n.getToken() + "\"");
        for (Node c : n.getChildren()) {
            printNode(c);
        }
    }
protected void printNode(Node n) {
        printTabs(n.getDepth());
        System.out.println("- \"" + n.getToken() + "\"");
        for (Node c : n.getChildren()) {
            printNode(c);
        }
    }
protected void printNode ( Node n ) { printTabs ( n . getDepth ( ) ) ; System . out . println ( "- \"" + n . getToken ( ) + "\"" ) ; for ( Node c : n . getChildren ( ) ) { printNode ( c ) ; } }
method will print the node and then iterate over the children
@param n
method will print the node and then iterate over the children