Home | History | Annotate | Download | only in lib2to3

Lines Matching refs:fixers

79     """ Accepts a list of fixers and returns a dictionary
105 Return the fully qualified names for fixers in the package pkg_name.
186 fixer_names: a list of fixers to import
188 explicit: a list of fixers to run even if they are explicit.
190 self.fixers = fixer_names
216 self.bmi_pre_order = [] # Bottom Matcher incompatible fixers
222 # remove fixers that will be handled by the bottom-up
238 (pre_order, post_order), where pre_order is the list of fixers that
244 for fix_mod_path in self.fixers:
424 #use traditional matching for the incompatible fixers
432 for fixer in self.BM.fixers:
434 #sort by depth; apply fixers from bottom(of the AST) to top
438 #some fixers(eg fix_imports) must be applied
484 def traverse_by(self, fixers, traversal):
485 """Traverse an AST, applying a set of fixers to each node.
490 fixers: a list of fixer instances.
496 if not fixers:
499 for fixer in fixers[node.type]: