class documentation
Model a definition, either named or unnamed, and its users.
| Method | __init__ |
Undocumented |
| Method | __repr__ |
Undocumented |
| Method | __str__ |
Undocumented |
| Method | add |
Undocumented |
| Method | isdel |
Undocumented |
| Method | name |
If the node associated to this Def has a name, returns this name. Otherwise returns its type |
| Method | users |
The list of ast entity that holds a reference to this node |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | islive |
Whether this definition might reach the final block of it's scope. Meaning if islive is False, the definition will always be overriden at the time we finished executing the module/class/function body. ... |
| Instance Variable | node |
Undocumented |
| Method | _repr |
Undocumented |
| Method | _str |
Undocumented |
| Instance Variable | _users |
Undocumented |
Whether this definition might reach the final block of it's scope.
Meaning if islive is False, the definition will always be overriden
at the time we finished executing the module/class/function body.
So the definition could be ignored in the context of an attribute access for instance.