drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java
public void addTokens(String[] tokens, Node rootNode) {
        Node thenode = rootNode;
        for (int i = 0; i < tokens.length; i++) {
            Node newnode = thenode.addToken(tokens[i]);
            thenode = newnode;
        }
    }
public void addTokens(String[] tokens, Node rootNode) {
        Node thenode = rootNode;
        for (int i = 0; i < tokens.length; i++) {
            Node newnode = thenode.addToken(tokens[i]);
            thenode = newnode;
        }
    }
public void addTokens ( String [ ] tokens , Node rootNode ) { Node thenode = rootNode ; for ( int i = 0 ; i < tokens . length ; i ++ ) { Node newnode = thenode . addToken ( tokens [ i ] ) ; thenode = newnode ; } }
method adds the token to root
@param tokens
method adds the token to root