(self, ins)
Parse LOCATE syntax.
Parse LOCATE syntax.
Parse LOCATE syntax .
def _parse_locate(self, ins):
        """Parse LOCATE syntax."""
        #row, col, cursor, start, stop
        for i in range(5):
            yield self.parse_expression(ins, allow_empty=True)
            # note that LOCATE can end on a 5th comma but no stuff allowed after it
            if not ins.skip_blank_read_if((b',',)):
                break
        ins.require_end()
def _parse_locate ( self , ins ) : #row, col, cursor, start, stop for i in range ( 5 ) : yield self . parse_expression ( ins , allow_empty = True ) # note that LOCATE can end on a 5th comma but no stuff allowed after it if not ins . skip_blank_read_if ( ( b',' , ) ) : break ins . require_end ( )