Example #1
0
 def assign(self, ast):
     return pi.Assign(ast.idn, ast.e)
Example #2
0
 def assign(self, ast):
     if ast.idx != None:
         return pi.ArrAssign(ast.idn, ast.idx, ast.e)
     return pi.Assign(ast.idn, ast.e)