def __getattr__(self, attr):
        "delegate any other methods to the underlying parser"
        if attr in dir(self):
            return object.__getattribute__(self, attr)
        else:
            return getattr(self.parser, attr)
delegate any other methods to the underlying parser
surreal/utils/common.py