joinTables.add(joinTable);
for (ParseNode prefilter : joinTable.preFilters) {
prefilter.accept(prefilterRefVisitor);
}
for (ParseNode condition : joinTable.conditions) {
ComparisonParseNode comparisonNode = (ComparisonParseNode) condition;
comparisonNode.getLHS().accept(generalRefVisitor);
comparisonNode.getRHS().accept(joinLocalRefVisitor);
}
if (joinTable.getType() == JoinType.Right) {
hasRightJoin = true;
}
}