parameters: (self, is_root=True, path=[])
docstring: Compute path entry from parent links.
  
          :param is_root: whether or not this is the root node
          :type is_root: bool
          :param path: path to this node, excluding root
          :type path: list of strings
docstring_summary: Compute path entry from parent links.
docstring_tokens: Compute path entry from parent links .
function: def computePath(self, is_root=True, path=[]):
          """Compute path entry from parent links.
  
          :param is_root: whether or not this is the root node
          :type is_root: bool
          :param path: path to this node, excluding root
          :type path: list of strings
          """
          self.path = list(path)
          if not is_root:
              self.path.append(self.name)
          if not self.children:
              return  # nothing to do: early exit.
          for name, child in self.children.items():
              child.computePath(False, self.path)
function_tokens: def computePath ( self , is_root = True , path = [ ] ) : self . path = list ( path ) if not is_root : self . path . append ( self . name ) if not self . children : return # nothing to do: early exit. for name , child in self . children . items ( ) : child . computePath ( False , self . path )