parameters: (tokenNames)
return_statement: return dict((name, type) for type, name in enumerate(tokenNames))
docstring: Compute a dict that is an inverted index of
      tokenNames (which maps int token types to names).
docstring_summary: Compute a dict that is an inverted index of
      tokenNames (which maps int token types to names).
docstring_tokens: Compute a dict that is an inverted index of tokenNames ( which maps int token types to names ) .
function: def computeTokenTypes(tokenNames):
      """
      Compute a dict that is an inverted index of
      tokenNames (which maps int token types to names).
      """
  
      if tokenNames is None:
          return {}
  
      return dict((name, type) for type, name in enumerate(tokenNames))
function_tokens: def computeTokenTypes ( tokenNames ) : if tokenNames is None : return { } return dict ( ( name , type ) for type , name in enumerate ( tokenNames ) )