class documentation
class DependencyList: (source)
A class represents list of linearizations (dependencies) The last element of DependencyList is a list of parents. It's needed to the merge process preserves the local precedence order of direct parent classes.
Method | __contains__ |
Return True if any linearization's tail contains an item |
Method | __init__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | remove |
Remove an item from the lists Once an item removed from heads, the leftmost elements of the tails get promoted to become the new heads. |
Property | exhausted |
Return True if all elements of the lists are exhausted |
Property | heads |
Undocumented |
Property | tails |
Return self so that __contains__ could be called Used for readability reasons only |
Instance Variable | _lists |
Undocumented |