300 |
300 |
301 # additional node types |
301 # additional node types |
302 COMPREHENSION = KEYWORD = handleChildren |
302 COMPREHENSION = KEYWORD = handleChildren |
303 |
303 |
304 def addBinding(self, lineno, value, reportRedef = True): |
304 def addBinding(self, lineno, value, reportRedef = True): |
305 '''Called when a binding is altered. |
305 ''' |
|
306 Called when a binding is altered. |
306 |
307 |
307 @param lineno line of the statement responsible for the change (integer) |
308 @param lineno line of the statement responsible for the change (integer) |
308 @param value the optional new value, a Binding instance, associated |
309 @param value the optional new value, a Binding instance, associated |
309 with the binding; if None, the binding is deleted if it exists |
310 with the binding; if None, the binding is deleted if it exists |
310 @param reportRedef flag indicating if rebinding while unused will be |
311 @param reportRedef flag indicating if rebinding while unused will be |