class documentation

class CloningExternalTraversal(ExternalTraversal):

Known subclasses: sqlalchemy.sql.visitors.ReplacingExternalTraversal

View In Hierarchy

Base class for visitor objects which can traverse using the .visitors.cloned_traverse function.

Direct usage of the .visitors.cloned_traverse function is usually preferred.

Method copy​_and​_process Apply cloned traversal to the given list of elements, and return the new list.
Method traverse Traverse and visit the given expression structure.

Inherited from ExternalTraversal:

Method chain 'Chain' an additional ClauseVisitor onto this ClauseVisitor.
Method iterate Traverse the given expression structure, returning an iterator of all elements.
Method traverse​_single Undocumented
Class Variable __traverse​_options__ Undocumented
Property ​_visitor​_dict Undocumented
Property visitor​_iterator Iterate through this visitor and each 'chained' visitor.
def copy_and_process(self, list_):
Apply cloned traversal to the given list of elements, and return the new list.
def traverse(self, obj):
Traverse and visit the given expression structure.