Part of pida.utils.pyflakes View In Hierarchy
Line # | Kind | Name | Docs |
---|---|---|---|
53 | Method | __init__ | Undocumented |
68 | Method | defer | Schedule something to be called after just before completion. |
78 | Method | scope | Undocumented |
82 | Method | popScope | Undocumented |
85 | Method | check_dead_scopes | Undocumented |
91 | Method | pushFunctionScope | Undocumented |
94 | Method | pushClassScope | Undocumented |
97 | Method | report | Undocumented |
100 | Method | handleChildren | Undocumented |
104 | Method | handleNode | Undocumented |
116 | Method | ignore | Undocumented |
129 | Method | addBinding | Called when a binding is altered. |
152 | Method | LISTCOMP | Undocumented |
159 | Method | NAME | Undocumented |
194 | Method | FUNCTION | Undocumented |
200 | Method | LAMBDA | Undocumented |
225 | Method | CLASS | Undocumented |
233 | Method | ASSNAME | Undocumented |
239 | Method | ASSIGN | Undocumented |
244 | Method | IMPORT | Undocumented |
250 | Method | FROM | Undocumented |
This is used for handling function bodies, which must be deferred
because code later in the file might modify the global scope. When
callable
is called, the scope at the time this is called will be
restored, however it will contain any new bindings added to it.
Called when a binding is altered.
lineno
is the line of the statement responsible for the changevalue
is the optional new value, a Binding instance, associated
with the binding; if None, the binding is deleted if it exists.reportRedef
is True (default), rebinding while unused will be
reported.