(self, node)
return switch_case
:param SwitchCaseNode node:
        :return:
def _handle_SwitchCase(self, node):
        """

        :param SwitchCaseNode node:
        :return:
        """

        switch_expr = self._handle(node.switch_expr)
        cases = [ (idx, self._handle(case, is_expr=False)) for idx, case in node.cases.items() ]
        default = self._handle(node.default_node, is_expr=False) if node.default_node is not None else None
        tags = {'ins_addr': node.addr}
        switch_case = CSwitchCase(switch_expr, cases, default=default, tags=tags, codegen=self)
        return switch_case
def _handle_SwitchCase ( self , node ) : switch_expr = self . _handle ( node . switch_expr ) cases = [ ( idx , self . _handle ( case , is_expr = False ) ) for idx , case in node . cases . items ( ) ] default = self . _handle ( node . default_node , is_expr = False ) if node . default_node is not None else None tags = { 'ins_addr' : node . addr } switch_case = CSwitchCase ( switch_expr , cases , default = default , tags = tags , codegen = self ) return switch_case