def node_typedargslist(self, node):
        childs = node.children.__iter__()
        args = []
        star_args = None
        dstar_args = None
        defaults = []
        try:
            while True:
                child = childs.next()
                if isinstance(child, Leaf):
                    if child.value == '*':
                        star_args = childs.next().value
                    elif child.value == '**':
                        dstar_args = childs.next().value
                    elif child.value == '=':
                        defaults.append(childs.next())
                    elif child.value != ',':
                        args.append(child.value)
                elif type_repr(child.type) == 'tfpdef':
                    args.append(self.dispatch(child))
                else:
                    self.not_implemented(node)
        except __HOLE__:
            pass
        return Parameters(args, star_args, dstar_args, defaults)
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/translator_dict.py/Translator.node_typedargslist