@classmethod
def wrap(cls, parse_exception):
    return cls(parse_exception.tokens, parse_exception.loc, parse_exception.msg, parse_exception.element)
@classmethod
def wrap(cls, parse_exception):
    return cls(parse_exception.tokens, parse_exception.loc, parse_exception.msg, parse_exception.element)