class documentation
class _TypeParams: (source)
Collection of TypeParameter objects encountered during matching.
Method | __init__ |
Undocumented |
Method | add |
Adds groups of mutually exclusive type parameters. |
Method | has |
Whether 'subst' has a param that is mutually exclusive with 'name'. |
Instance Variable | seen |
Undocumented |
Instance Variable | _mutually |
Undocumented |
Adds groups of mutually exclusive type parameters. For example, [{"T1", "T2"}, {"T3", "T4"}] would mean that the following pairs are mutually exclusive: (T1, T3), (T1, T4), (T2, T3), (T2, T4). Args: groups: The mutually exclusive groups.