(self, ins)
Parse WINDOW syntax.
Parse WINDOW syntax.
Parse WINDOW syntax .
def _parse_window(self, ins):
        """Parse WINDOW syntax."""
        screen = ins.skip_blank_read_if((tk.SCREEN,))
        yield screen
        if ins.skip_blank() == b'(':
            for c in self._parse_pair(ins):
                yield c
            ins.require_read((tk.O_MINUS,))
            for c in self._parse_pair(ins):
                yield c
        elif screen:
            raise error.BASICError(error.STX)
def _parse_window ( self , ins ) : screen = ins . skip_blank_read_if ( ( tk . SCREEN , ) ) yield screen if ins . skip_blank ( ) == b'(' : for c in self . _parse_pair ( ins ) : yield c ins . require_read ( ( tk . O_MINUS , ) ) for c in self . _parse_pair ( ins ) : yield c elif screen : raise error . BASICError ( error . STX )