Check trinary if in CheckASTVisitor.