def node_arith_expr(self, node):
        jsvars = self.jsvars.copy()
        childs = node.children.__iter__()
        left = self.dispatch(childs.next())
        try:
            while True:
                op = childs.next()
                op = self.op_names2.get(op.value, None)
                if op is None:
                    self.not_implemented(node)
                right = self.dispatch(childs.next())
                jsvars.update(locals())
                left = "%(builtin)s['%(op)s'](%(left)s, %(right)s)" % jsvars
        except StopIteration:
            pass
        return left
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/translator_dict.py/Translator.node_arith_expr/original