parameters: (self, dependencies=None)
return_statement: return dependencies
docstring: Returns an OrderedSet of all of a target's dependencies, recursively.
docstring_summary: Returns an OrderedSet of all of a target's dependencies, recursively.
docstring_tokens: Returns an OrderedSet of all of a target s dependencies recursively .
function: def DeepDependencies(self, dependencies=None):
      """Returns an OrderedSet of all of a target's dependencies, recursively."""
      if dependencies is None:
        # Using a list to get ordered output and a set to do fast "is it
        # already added" checks.
        dependencies = OrderedSet()
  
      for dependency in self.dependencies:
        # Check for None, corresponding to the root node.
        if dependency.ref is None:
          continue
        if dependency.ref not in dependencies:
          dependency.DeepDependencies(dependencies)
          dependencies.add(dependency.ref)
  
      return dependencies
function_tokens: def DeepDependencies ( self , dependencies = None ) : if dependencies is None : # Using a list to get ordered output and a set to do fast "is it # already added" checks. dependencies = OrderedSet ( ) for dependency in self . dependencies : # Check for None, corresponding to the root node. if dependency . ref is None : continue if dependency . ref not in dependencies : dependency . DeepDependencies ( dependencies ) dependencies . add ( dependency . ref ) return dependencies