Esempio 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)
Esempio 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)
Esempio 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)
Esempio 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)
Esempio 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)