def METHOD_NAME(self, expected: Sequence[TokenType]) -> NoReturn:
    raise ParseError(
        self.current.pos + 1,
        "expected {}; got {}".format(
            " OR ".join(type.value for type in expected),
            self.current.type.value,
        ),
    )