def METHOD_NAME(self, tag, keywords):
    try:
        self.current = self.c.p
    except AttributeError:
        # c has been destroyed.
        return
    s = self.current.h
    if s.startswith("@clip"):
        self.clip()