(self, ins)
Parse VIEW PRINT syntax.
Parse VIEW PRINT syntax.
Parse VIEW PRINT syntax .
def _parse_view_print(self, ins):
        """Parse VIEW PRINT syntax."""
        ins.require_read((tk.PRINT,))
        start = self.parse_expression(ins, allow_empty=True)
        yield start
        if start is not None:
            ins.require_read((tk.TO,))
            yield self.parse_expression(ins)
        else:
            yield None
        ins.require_end()
def _parse_view_print ( self , ins ) : ins . require_read ( ( tk . PRINT , ) ) start = self . parse_expression ( ins , allow_empty = True ) yield start if start is not None : ins . require_read ( ( tk . TO , ) ) yield self . parse_expression ( ins ) else : yield None ins . require_end ( )