コード例 #1
0
 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())
     
     
コード例 #2
0
ファイル: Id.py プロジェクト: lauraashj/PythonInterpreter
 def getValue(self):
     #return MemoryS.fetch(self.ch,self.ch)
     return int(MemoryS.fetch(self, self.ch))