presto-main/src/main/java/io/prestosql/sql/planner/TypeAnalyzer.java/TypeAnalyzer/getTypes
class TypeAnalyzer:    public Map<NodeRef<Expression>, Type> getTypes(Session session, TypeProvider inputTypes, Iterable<Expression> expressions)
    {
        return ExpressionAnalyzer.analyzeExpressions(session, metadata, parser, inputTypes, expressions, ImmutableMap.of(), WarningCollector.NOOP, false).getExpressionTypes();
    }