Lines Matching refs:scope
37 " * Fixed import handling when flattening scope
284 #print 'push scope: [%s@%s]' % (sub.name,sub.indent)
304 """ Copy a scope's declaration only, at the specified indent level - not local variables """
329 #print 'pop scope: [%s] to [%s]' % (self.indent,indent)
380 self.scope = self.top
437 self.scope=self.scope.pop(indent)
451 self.scope=self.scope.pop(indent)
500 #print 'line found [%s] scope=%s' % (line.replace('\n',''),self.scope.name)
501 self.currentscope = self.scope
548 self.currentscope = self.scope
557 self.scope = self.scope.pop(indent)
563 dbg("new scope: function")
565 self.scope = self.scope.add(func)
572 dbg("new scope: class")
573 self.scope = self.scope.add(cls)
580 self.scope.local(loc)
591 self.scope.local(loc)
594 if freshscope: self.scope.doc(token)
601 self.scope.local("%s = %s" % (name,stmt))