presto-parser/src/main/java/io/prestosql/sql/parser/AstBuilder.java/AstBuilder/visitPredicated
class AstBuilder:    @Override
    public Node visitPredicated(SqlBaseParser.PredicatedContext context)
    {
        if (context.predicate() != null) {
            return visit(context.predicate());
        }

        return visit(context.valueExpression);
    }