original_docstring: 
      check whether the given file is main cpp file
      
docstring: check whether the given file is main cpp file
docstring_tokens: check whether the given file is main cpp file
code: def isMainCPPFile(fname):
      """
      check whether the given file is main cpp file
      """
      flist = os.path.splitext(fname)
      name = flist[0]
      nameComponents = name.split("_")
  
      # we only match the cpp file
      extension = flist[1]
      if extension != ".cpp":
          return False
  
      # whether this is the derivatives case
      if nameComponents[-1] == "d1" or nameComponents[-1] == "d2":
          return True
  
      # if not the derivatives, the last one should
      # be the angular momentum
      ang = nameComponents[-1]
      lcode = getL(ang)
      if lcode >= 0:
          return True
  
      # finally return false
      return False
code_tokens: def isMainCPPFile ( fname ) : flist = os . path . splitext ( fname ) name = flist [ 0 ] nameComponents = name . split ( "_" ) extension = flist [ 1 ] if extension != ".cpp" : return False if nameComponents [ - 1 ] == "d1" or nameComponents [ - 1 ] == "d2" : return True ang = nameComponents [ - 1 ] lcode = getL ( ang ) if lcode >= 0 : return True return False
short_docstring: check whether the given file is main cpp file
short_docstring_tokens: check whether the given file is main cpp file
comment: """
      check whether the given file is main cpp file
      """$SEP$# we only match the cpp file$SEP$# whether this is the derivatives case$SEP$# if not the derivatives, the last one should$SEP$# be the angular momentum$SEP$# finally return false