Exemplo n.º 1
0
 def clone(self):
     '''
     @see: Path.clone
     '''
     return PathExtended(self.parent.clone(),
                         [match.clone() for match in self.matchesOwned],
                         self.node, self.index)
Exemplo n.º 2
0
 def clone(self):
     '''
     Clones the path and all match content, any action on the cloned path will node affect the original path.
     
     @return: Path
         The cloned path.
     '''
     return Path([match.clone() for match in self.matches], self.node)
Exemplo n.º 3
0
 def clone(self):
     '''
     Clones the path and all match content, any action on the cloned path will node affect the original path.
     
     @return: Path
         The cloned path.
     '''
     return Path([match.clone() for match in self.matches], self.node)
Exemplo n.º 4
0
 def clone(self):
     """
     Clones the path and all match content, any action on the cloned path will node affect the original path.
     
     @return: Path
         The cloned path.
     """
     return Path(self.resourcesLocator, [match.clone() for match in self.matches], self.node)
Exemplo n.º 5
0
 def clone(self):
     '''
     @see: Path.clone
     '''
     return PathExtended(self.parent.clone(), [match.clone() for match in self.matchesOwned], self.node, self.index)