class documentation
class Type(mypy.nodes.Context): (source)
Known subclasses: mypy.types.ProperType
, mypy.types.RequiredType
, mypy.types.TypeAliasType
, mypy.types.TypeGuardedType
Abstract base class for all types.
Class Method | deserialize |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | accept |
Undocumented |
Method | can |
Undocumented |
Method | can |
Undocumented |
Method | can |
Undocumented |
Method | can |
Undocumented |
Method | is |
Undocumented |
Method | serialize |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Property | can |
Undocumented |
Property | can |
Undocumented |
Instance Variable | _can |
Undocumented |
Instance Variable | _can |
Undocumented |
Inherited from Context
:
Method | set |
If target is a node, pull line (and column) information into this node. If column is specified, this will override any column information coming from a node. |
Instance Variable | column |
Undocumented |
Instance Variable | end |
Undocumented |
Instance Variable | end |
Undocumented |
Instance Variable | line |
Undocumented |
overridden in
mypy.types.AnyType
, mypy.types.CallableType
, mypy.types.DeletedType
, mypy.types.Instance
, mypy.types.LiteralType
, mypy.types.NoneType
, mypy.types.Overloaded
, mypy.types.Parameters
, mypy.types.TupleType
, mypy.types.TypeAliasType
, mypy.types.TypedDictType
, mypy.types.TypeType
, mypy.types.TypeVarLikeType
, mypy.types.UnboundType
, mypy.types.UninhabitedType
, mypy.types.UnionType
, mypy.types.UnpackType
Undocumented
overrides
mypy.nodes.Context.__init__
overridden in
mypy.types.AnyType
, mypy.types.CallableArgument
, mypy.types.DeletedType
, mypy.types.FunctionLike
, mypy.types.Instance
, mypy.types.LiteralType
, mypy.types.NoneType
, mypy.types.Parameters
, mypy.types.PartialType
, mypy.types.PlaceholderType
, mypy.types.RawExpressionType
, mypy.types.RequiredType
, mypy.types.TupleType
, mypy.types.TypeAliasType
, mypy.types.TypedDictType
, mypy.types.TypeGuardedType
, mypy.types.TypeList
, mypy.types.TypeType
, mypy.types.TypeVarLikeType
, mypy.types.UnboundType
, mypy.types.UninhabitedType
, mypy.types.UnionType
, mypy.types.UnpackType
Undocumented
overridden in
mypy.types.AnyType
, mypy.types.CallableArgument
, mypy.types.CallableType
, mypy.types.DeletedType
, mypy.types.EllipsisType
, mypy.types.ErasedType
, mypy.types.Instance
, mypy.types.LiteralType
, mypy.types.NoneType
, mypy.types.Overloaded
, mypy.types.Parameters
, mypy.types.ParamSpecType
, mypy.types.PartialType
, mypy.types.PlaceholderType
, mypy.types.RawExpressionType
, mypy.types.RequiredType
, mypy.types.TupleType
, mypy.types.TypeAliasType
, mypy.types.TypedDictType
, mypy.types.TypeList
, mypy.types.TypeType
, mypy.types.TypeVarTupleType
, mypy.types.TypeVarType
, mypy.types.UnboundType
, mypy.types.UninhabitedType
, mypy.types.UnionType
, mypy.types.UnpackType
Undocumented
overridden in
mypy.types.LiteralType
, mypy.types.TupleType
, mypy.types.TypeAliasType
, mypy.types.UninhabitedType
, mypy.types.UnionType
Undocumented
overridden in
mypy.types.LiteralType
, mypy.types.NoneType
, mypy.types.TupleType
, mypy.types.TypeAliasType
, mypy.types.UninhabitedType
, mypy.types.UnionType
Undocumented
overridden in
mypy.types.AnyType
, mypy.types.CallableArgument
, mypy.types.CallableType
, mypy.types.DeletedType
, mypy.types.EllipsisType
, mypy.types.Instance
, mypy.types.LiteralType
, mypy.types.NoneType
, mypy.types.Overloaded
, mypy.types.Parameters
, mypy.types.PlaceholderType
, mypy.types.RawExpressionType
, mypy.types.TupleType
, mypy.types.TypeAliasType
, mypy.types.TypedDictType
, mypy.types.TypeList
, mypy.types.TypeType
, mypy.types.TypeVarLikeType
, mypy.types.UnboundType
, mypy.types.UninhabitedType
, mypy.types.UnionType
, mypy.types.UnpackType
Undocumented