int i = 0;
while (iter.hasNext()) {
tableNode = iter.next();
if (!(tableNode instanceof JoinTableNode))
throw new SQLFeatureNotSupportedException("Implicit joins not supported.");
JoinTableNode joinTableNode = (JoinTableNode) tableNode;
JoinTable joinTable = new JoinTable(joinTableNode, tableRefIter.next(), statement, resolver);
for (ParseNode condition : joinTable.conditions) {
ComparisonParseNode comparisonNode = (ComparisonParseNode) condition;
comparisonNode.getLHS().accept(generalRefVisitor);
comparisonNode.getRHS().accept(joinLocalRefVisitor);