Package lepl :: Package support :: Module graph :: Class Clone
[hide private]
[frames] | no frames]

Class Clone

source code


Clone the graph, applying a particular clone function.
Instance Methods [hide private]
 
__init__(self, clone_=clone)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
loop(self, node)
Wrap loop nodes in proxies.
source code
 
node(self, node)
Store the current node.
source code
 
constructor(self, *args, **kargs)
Clone the node, back-patching proxies as necessary.
source code
 
leaf(self, value)
Don't clone leaf nodes.
source code

Inherited from Visitor: postprocess

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, clone_=clone)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

loop(self, node)

source code 
Wrap loop nodes in proxies.
Overrides: Visitor.loop

node(self, node)

source code 
Store the current node.
Overrides: Visitor.node

constructor(self, *args, **kargs)

source code 
Clone the node, back-patching proxies as necessary.
Overrides: Visitor.constructor

leaf(self, value)

source code 
Don't clone leaf nodes.
Overrides: Visitor.leaf