parameters: (node)
return_statement: return node_list
docstring: Returns a list of all the node and sub nodes.
docstring_summary: Returns a list of all the node and sub nodes.
docstring_tokens: Returns a list of all the node and sub nodes .
function: def FlattenFilter(node):
    """Returns a list of all the node and sub nodes."""
    node_list = []
  
    if (node.attributes and
        node.getAttribute('Name') == '_excluded_files'):
        # We don't add the "_excluded_files" filter.
      return []
  
    for current in node.childNodes:
      if current.nodeName == 'Filter':
        node_list.extend(FlattenFilter(current))
      else:
        node_list.append(current)
  
    return node_list
function_tokens: def FlattenFilter ( node ) : node_list = [ ] if ( node . attributes and node . getAttribute ( 'Name' ) == '_excluded_files' ) : # We don't add the "_excluded_files" filter. return [ ] for current in node . childNodes : if current . nodeName == 'Filter' : node_list . extend ( FlattenFilter ( current ) ) else : node_list . append ( current ) return node_list