presto-main/src/main/java/io/prestosql/sql/analyzer/ExpressionTreeUtils.java/ExpressionTreeUtils/extractLocation
class ExpressionTreeUtils:    public static Optional<Location> extractLocation(Node node)
    {
        return node.getLocation()
                .map(location -> new Location(location.getLineNumber(), location.getColumnNumber()));
    }