parameters: (self, node)
return_statement: return '`' + function_definition + '`  '
docstring: Returns the function signature string for memberdef nodes.
docstring_summary: Returns the function signature string for memberdef nodes.
docstring_tokens: Returns the function signature string for memberdef nodes .
function: def get_function_signature(self, node):
          """Returns the function signature string for memberdef nodes."""
          name = self.extract_text(self.get_specific_subnodes(node, 'name'))
          if self.with_type_info:
              argsstring = self.extract_text(self.get_specific_subnodes(node, 'argsstring'))
          else:
              argsstring = []
              param_id = 1
              for n_param in self.get_specific_subnodes(node, 'param'):
                  declname = self.extract_text(self.get_specific_subnodes(n_param, 'declname'))
                  if not declname:
                      declname = 'arg' + str(param_id)
                  defval = self.extract_text(self.get_specific_subnodes(n_param, 'defval'))
                  if defval:
                      defval = '=' + defval
                  argsstring.append(declname + defval)
                  param_id = param_id + 1
              argsstring = '(' + ', '.join(argsstring) + ')'
          type = self.extract_text(self.get_specific_subnodes(node, 'type'))
          function_definition = name + argsstring
          if type != '' and type != 'void':
              function_definition = function_definition + ' -> ' + type
          return '`' + function_definition + '`  '
function_tokens: def get_function_signature ( self , node ) : name = self . extract_text ( self . get_specific_subnodes ( node , 'name' ) ) if self . with_type_info : argsstring = self . extract_text ( self . get_specific_subnodes ( node , 'argsstring' ) ) else : argsstring = [ ] param_id = 1 for n_param in self . get_specific_subnodes ( node , 'param' ) : declname = self . extract_text ( self . get_specific_subnodes ( n_param , 'declname' ) ) if not declname : declname = 'arg' + str ( param_id ) defval = self . extract_text ( self . get_specific_subnodes ( n_param , 'defval' ) ) if defval : defval = '=' + defval argsstring . append ( declname + defval ) param_id = param_id + 1 argsstring = '(' + ', ' . join ( argsstring ) + ')' type = self . extract_text ( self . get_specific_subnodes ( node , 'type' ) ) function_definition = name + argsstring if type != '' and type != 'void' : function_definition = function_definition + ' -> ' + type return '`' + function_definition + '`  '