code: def define(self, p):
          
          f = getattr(p, 'run', p)
          if debug:
              setattr(self, '_run', f)
          else:
              setattr(self, 'run', f)
          self.named(getattr(p, 'name', p.__doc__))
docs: Defines a parser wrapped into this object.