(self)
return None
Parse a laststat.

        laststat ::= return [explist] | break

        Returns:
          StatBreak()
          StatReturn(explist)
Parse a laststat.
Parse a laststat .
def _laststat(self):
        """Parse a laststat.

        laststat ::= return [explist] | break

        Returns:
          StatBreak()
          StatReturn(explist)
        """
        pos = self._pos
        if self._accept(lexer.TokKeyword(b'break')) is not None:
            return StatBreak(start=pos, end=self._pos)
        if self._accept(lexer.TokKeyword(b'return')) is not None:
            explist = self._explist()
            return StatReturn(explist, start=pos, end=self._pos)
        self._pos = pos
        return None
def _laststat ( self ) : pos = self . _pos if self . _accept ( lexer . TokKeyword ( b'break' ) ) is not None : return StatBreak ( start = pos , end = self . _pos ) if self . _accept ( lexer . TokKeyword ( b'return' ) ) is not None : explist = self . _explist ( ) return StatReturn ( explist , start = pos , end = self . _pos ) self . _pos = pos return None