presto-main/src/main/java/io/prestosql/sql/planner/DesugarRowSubscriptRewriter.java/DesugarRowSubscriptRewriter/rewrite
class DesugarRowSubscriptRewriter:    public static Expression rewrite(Expression expression, Session session, TypeAnalyzer typeAnalyzer, SymbolAllocator symbolAllocator)
    {
        requireNonNull(typeAnalyzer, "typeAnalyzer is null");
        Map<NodeRef<Expression>, Type> expressionTypes = typeAnalyzer.getTypes(session, symbolAllocator.getTypes(), expression);
        return rewrite(expression, expressionTypes);
    }