def METHOD_NAME(self) -> None:
    # parse "return 0x0;"
    self._value = self._tokens[-1]
    # is invalid
    if self._nret and self._value_relaxed in self._nret:
        self.warnings.append(
            "{} line {} got {}, which is not valid".format(
                self._fn, self._line_num, self._value
            )
        )