code: def _onInstanceAttribute(self, name, line, pos, absPosition, level):
          
          # Instance attributes may appear in member functions only so we already
          # have a function on the stack of objects. To get the class object one
          # more step is required so we -1 here.
          attributes = self.objectsStack[level - 1].instanceAttributes
          for item in attributes:
              if item.name == name:
                  return
          attributes.append(InstanceAttribute(name, line, pos, absPosition))
docs: Memorizes a class instance attribute