parameters: (tree, from_='name')
return_statement: return None
docstring: Get the name (token) of the AST node.
      :param tree ast:
      :rtype: str|None
docstring_summary: Get the name (token) of the AST node.
      :param tree ast:
      :rtype: str|None
docstring_tokens: Get the name ( token ) of the AST node . : param tree ast : : rtype : str|None
function: def get_name(tree, from_='name'):
      """
      Get the name (token) of the AST node.
      :param tree ast:
      :rtype: str|None
      """
      # return tree['name']['name']
      if 'name' in tree and isinstance(tree['name'], str):
          return tree['name']
  
      if 'parts' in tree:
          return djoin(tree['parts'])
  
      if from_ in tree:
          return get_name(tree[from_])
  
      return None
function_tokens: def get_name ( tree , from_ = 'name' ) : # return tree['name']['name'] if 'name' in tree and isinstance ( tree [ 'name' ] , str ) : return tree [ 'name' ] if 'parts' in tree : return djoin ( tree [ 'parts' ] ) if from_ in tree : return get_name ( tree [ from_ ] ) return None