parameters: (command)
return_statement: return None
docstring: A predicate to decide the command is a compiler call or not.
  
      Returns 'c' or 'c++' when it match. None otherwise.
docstring_summary: A predicate to decide the command is a compiler call or not.
docstring_tokens: A predicate to decide the command is a compiler call or not .
function: def compiler_language(command):
      """ A predicate to decide the command is a compiler call or not.
  
      Returns 'c' or 'c++' when it match. None otherwise. """
  
      cplusplus = re.compile(r'^(.+)(\+\+)(-.+|)$')
  
      if command:
          executable = os.path.basename(command[0])
          if any(pattern.match(executable) for pattern in COMPILER_PATTERNS):
              return 'c++' if cplusplus.match(executable) else 'c'
      return None
function_tokens: def compiler_language ( command ) : cplusplus = re . compile ( r'^(.+)(\+\+)(-.+|)$' ) if command : executable = os . path . basename ( command [ 0 ] ) if any ( pattern . match ( executable ) for pattern in COMPILER_PATTERNS ) : return 'c++' if cplusplus . match ( executable ) else 'c' return None