parameters: (fname, allow_type)
docstring: Process a file.
docstring_summary: Process a file.
docstring_tokens: Process a file .
function: def process(fname, allow_type):
      """Process a file."""
      fname = str(fname)
      arr = fname.rsplit('.', 1)
      if fname.find('#') != -1 or arr[-1] not in allow_type:
          return
      if arr[-1] in CXX_SUFFIX:
          _HELPER.process_cpp(fname, arr[-1])
      if arr[-1] in PYTHON_SUFFIX:
          _HELPER.process_python(fname)
function_tokens: def process ( fname , allow_type ) : fname = str ( fname ) arr = fname . rsplit ( '.' , 1 ) if fname . find ( '#' ) != - 1 or arr [ - 1 ] not in allow_type : return if arr [ - 1 ] in CXX_SUFFIX : _HELPER . process_cpp ( fname , arr [ - 1 ] ) if arr [ - 1 ] in PYTHON_SUFFIX : _HELPER . process_python ( fname )