def getStatement(self): MemoryS.store(self, self.var.getChar(), self.expr.getExpression()) # self should not be an argument #self.var.MemoryS.store(self.expr.getExpression())
def getValue(self): #return MemoryS.fetch(self.ch,self.ch) return int(MemoryS.fetch(self, self.ch))