MCPcopy Index your code
hub / github.com/RetiredWizard/PyDOS / __restorestmt

Method __restorestmt

PyBasic/basicparser.py:831–839  ·  view source on GitHub ↗
(self,datastmts)

Source from the content-addressed store, hash-verified

829 pass
830
831 def __restorestmt(self,datastmts):
832
833 self.__advance() # Advance past RESTORE token
834
835 # Acquire the line number
836 self.__expr()
837
838 self.__data_values.clear()
839 datastmts.restore(self.__operand_stack.pop())
840
841 def __datastmt(self):
842 """Parses a DATA statement"""

Callers 1

__simplestmtMethod · 0.95

Calls 4

__advanceMethod · 0.95
__exprMethod · 0.95
clearMethod · 0.80
restoreMethod · 0.80

Tested by

no test coverage detected