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