for (int childIndex = 0; childIndex < valueTree.getChildCount(); childIndex++) {
CommonTree indentChildTree = (CommonTree) valueTree.getChild(childIndex);
value = PrintUtils.collapseStringChildren(indentChildTree);
int type = tree.getToken().getType();
RHQLComparisonOperator operator = getComparisonOperatorFromTokenType(type, value);
RHQLTerm nextTerm = new RHQLAdvancedTerm(lineage, path, param, operator, value);
terms.add(nextTerm);
}
}