if (!(((InternalExpression) value).isLiteral() || ((InternalExpression) value).isParameter())) {
RelationExpression baseIn = (RelationExpression) this.currentNode;
this.currentNode = baseIn.getFirstChild().in(((SubQueryImpl) value).subQuery);
if (this.parentNode != null) {
if (this.parentNode.isCompoundExpression()) {
CompoundExpression logExp = (LogicalExpression) this.parentNode;
if (logExp.getFirstChild() == baseIn) {
logExp.create(this.currentNode, logExp.getSecondChild(), logExp.getOperator());
} else {
logExp.create(logExp.getFirstChild(), this.currentNode, logExp.getOperator());
}
} else {
FunctionExpression funcExp = (FunctionExpression) this.parentNode;
funcExp.getChildren().set(funcExp.getChildren().indexOf(baseIn), this.currentNode);
}