def node_simple_stmt(self, node):
        for child in node.children:
            if isinstance(child, Leaf):
                if child.value in ['break', 'continue']:
                    self.add_lines('%s;' % child.value, self.get_lineno(child))
                    continue
            code = self.dispatch(child)
            if isinstance(code, Code):
                code = code.code
                code = str(code)
            if code is not None:
                if code[-1] not in [';', '}']:
                    code += ';'
                self.add_lines(code, self.get_lineno(child))
                #self.add_lines(code)
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/translator_dict.py/Translator.node_simple_stmt/original