parameters: (self, node)
return_statement: return 'headerfile'
docstring: required for writing the source files
docstring_summary: required for writing the source files
docstring_tokens: required for writing the source files
function: def get_key(self, node):
                  """
                  required for writing the source files
                  """
                  name = node.name
                  if name.endswith(('.cpp', '.c')):
                          return 'sourcefile'
                  return 'headerfile'
function_tokens: def get_key ( self , node ) : name = node . name if name . endswith ( ( '.cpp' , '.c' ) ) : return 'sourcefile' return 'headerfile'