drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java
public ArrayList<String> getConsequenceChildrenList(String text, boolean addChildren) {
        Node[] c = getConsequenceChildren(text);
        this.suggestions.clear();
        for (int idx=0; idx < c.length; idx++) {
            if (addChildren) {
                this.addChildToList(c[idx], c[idx].getToken(), this.suggestions);
            } else {
                this.suggestions.add(c[idx].getToken());
            }
        }
        return this.suggestions;
    }
public ArrayList<String> getConsequenceChildrenList(String text, boolean addChildren) {
        Node[] c = getConsequenceChildren(text);
        this.suggestions.clear();
        for (int idx=0; idx < c.length; idx++) {
            if (addChildren) {
                this.addChildToList(c[idx], c[idx].getToken(), this.suggestions);
            } else {
                this.suggestions.add(c[idx].getToken());
            }
        }
        return this.suggestions;
    }
for convienance, the method will return a list of strings
that are children of the last node found. If the editor
wants to generate the children strings, call the method
with true
@param text
@return