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;
    }
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
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