parameters: (expr)
return_statement: return _describe_token_type(type)
docstring: Like `describe_token` but for token expressions.
docstring_summary: Like `describe_token` but for token expressions.
docstring_tokens: Like describe_token but for token expressions .
function: def describe_token_expr(expr):
      """Like `describe_token` but for token expressions."""
      if ':' in expr:
          type, value = expr.split(':', 1)
          if type == 'name':
              return value
      else:
          type = expr
      return _describe_token_type(type)
function_tokens: def describe_token_expr ( expr ) : if ':' in expr : type , value = expr . split ( ':' , 1 ) if type == 'name' : return value else : type = expr return _describe_token_type ( type )