ConservativeFollowAliasMap
Offers utility method to be used for type maps that follow aliases
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
If mapped
is a type alias, apply the map to the alias, while keeping annotations. If the result is different, return it, otherwise return mapped
. Furthermore, if original
is a LazyRef or TypeVar and the mapped result is the same as the underlying type, keep original
. This avoids spurious differences which would lead to spurious dealiasing in the result
If mapped
is a type alias, apply the map to the alias, while keeping annotations. If the result is different, return it, otherwise return mapped
. Furthermore, if original
is a LazyRef or TypeVar and the mapped result is the same as the underlying type, keep original
. This avoids spurious differences which would lead to spurious dealiasing in the result
Attributes
Inherited methods
Attributes
- Inherited from:
- VariantTraversal
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Can the prefix of this static reference be omitted if the reference itself can be omitted? Overridden in TypeOps#avoid.
Can the prefix of this static reference be omitted if the reference itself can be omitted? Overridden in TypeOps#avoid.
Attributes
- Inherited from:
- VariantTraversal
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Can be overridden. By default, only the prefix is mapped.
Utility method. Maps the supertype of a type proxy. Returns the type proxy itself if the mapping leaves the supertype unchanged. This avoids needless changes in mapped types.
Utility method. Maps the supertype of a type proxy. Returns the type proxy itself if the mapping leaves the supertype unchanged. This avoids needless changes in mapped types.
Attributes
- Inherited from:
- TypeMap
Map this function over given type
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- TypeMap
Attributes
- Inherited from:
- VariantTraversal
Attributes
- Inherited from:
- VariantTraversal
The type parameters of the constructor of this applied type. Overridden in OrderingConstraint's ConstraintAwareTraversal to take account of instantiations in the constraint that are not yet propagated to the instance types of type variables.
The type parameters of the constructor of this applied type. Overridden in OrderingConstraint's ConstraintAwareTraversal to take account of instantiations in the constraint that are not yet propagated to the instance types of type variables.
Attributes
- Inherited from:
- VariantTraversal