expressionList = token.children().firstElement();
}
} else if (token.type() == XAQLToken.COINCIDES_EXPRESSION) {
expressionList = token;
} else {
throw new WikiFatalException("Invalid token type " + token.type() + " in getCoincidesExpression()");
}
if (expressionList.type() != XAQLToken.COINCIDES_EXPRESSION) {
throw new WikiFatalException("Invalid token type " + expressionList.type());
}
CoincidesExpression coincidesExpression = new CoincidesExpression(negated);
for (int iExpression = 0; iExpression < expressionList.children().size(); iExpression++) {
coincidesExpression.add(new WhereClauseGenerator().getWhereCondition(variables, expressionList.children().get(iExpression), versionIndex));