HomeSort by relevance Sort by last modified time
    Searched refs:refactor (Results 1 - 25 of 54) sorted by null

1 2 3

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
test_all_fixers.py 12 from lib2to3 import refactor
19 self.refactor = support.get_refactorer()
23 self.refactor.refactor_file(filepath)
support.py 13 from lib2to3 import pytree, refactor
44 fixers = refactor.get_fixers_from_package(fixer_pkg + ".fixes")
46 return refactor.RefactoringTool(fixers, options, explicit=True)
test_refactor.py 2 Unit tests for refactor.py.
17 from lib2to3 import refactor, pygram, fixer_base
28 _DEFAULT_FIXERS = refactor.get_fixers_from_package("myfixes")
32 _2TO3_FIXERS = refactor.get_fixers_from_package("lib2to3.fixes")
48 return refactor.RefactoringTool(fixers, options, explicit)
58 non_prefixed = refactor.get_all_fix_names("myfixes")
59 prefixed = refactor.get_all_fix_names("myfixes", False)
60 full_names = refactor.get_fixers_from_package("myfixes")
67 run = refactor._detect_future_features
124 d = refactor._get_headnode_dict([no_head, with_head, simple])
    [all...]
  /external/python/cpython2/Lib/lib2to3/tests/
test_all_fixers.py 12 from lib2to3 import refactor
19 self.refactor = support.get_refactorer()
23 self.refactor.refactor_file(filepath)
support.py 13 from lib2to3 import pytree, refactor
44 fixers = refactor.get_fixers_from_package(fixer_pkg + ".fixes")
46 return refactor.RefactoringTool(fixers, options, explicit=True)
test_refactor.py 2 Unit tests for refactor.py.
18 from lib2to3 import refactor, pygram, fixer_base
29 _DEFAULT_FIXERS = refactor.get_fixers_from_package("myfixes")
33 _2TO3_FIXERS = refactor.get_fixers_from_package("lib2to3.fixes")
49 return refactor.RefactoringTool(fixers, options, explicit)
65 non_prefixed = refactor.get_all_fix_names("myfixes")
66 prefixed = refactor.get_all_fix_names("myfixes", False)
67 full_names = refactor.get_fixers_from_package("myfixes")
74 run = refactor._detect_future_features
131 d = refactor._get_headnode_dict([no_head, with_head, simple]
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_all_fixers.py 12 from lib2to3 import refactor
19 self.refactor = support.get_refactorer()
23 self.refactor.refactor_file(filepath)
support.py 13 from lib2to3 import pytree, refactor
44 fixers = refactor.get_fixers_from_package(fixer_pkg + ".fixes")
46 return refactor.RefactoringTool(fixers, options, explicit=True)
test_refactor.py 2 Unit tests for refactor.py.
17 from lib2to3 import refactor, pygram, fixer_base
28 _DEFAULT_FIXERS = refactor.get_fixers_from_package("myfixes")
32 _2TO3_FIXERS = refactor.get_fixers_from_package("lib2to3.fixes")
48 return refactor.RefactoringTool(fixers, options, explicit)
64 non_prefixed = refactor.get_all_fix_names("myfixes")
65 prefixed = refactor.get_all_fix_names("myfixes", False)
66 full_names = refactor.get_fixers_from_package("myfixes")
73 run = refactor._detect_future_features
130 d = refactor._get_headnode_dict([no_head, with_head, simple]
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_all_fixers.py 12 from lib2to3 import refactor
19 self.refactor = support.get_refactorer()
23 self.refactor.refactor_file(filepath)
support.py 13 from lib2to3 import pytree, refactor
44 fixers = refactor.get_fixers_from_package(fixer_pkg + ".fixes")
46 return refactor.RefactoringTool(fixers, options, explicit=True)
test_refactor.py 2 Unit tests for refactor.py.
17 from lib2to3 import refactor, pygram, fixer_base
28 _DEFAULT_FIXERS = refactor.get_fixers_from_package("myfixes")
32 _2TO3_FIXERS = refactor.get_fixers_from_package("lib2to3.fixes")
48 return refactor.RefactoringTool(fixers, options, explicit)
64 non_prefixed = refactor.get_all_fix_names("myfixes")
65 prefixed = refactor.get_all_fix_names("myfixes", False)
66 full_names = refactor.get_fixers_from_package("myfixes")
73 run = refactor._detect_future_features
130 d = refactor._get_headnode_dict([no_head, with_head, simple]
    [all...]
  /external/python/cpython3/Lib/lib2to3/tests/
test_all_fixers.py 20 self.refactor = support.get_refactorer()
24 self.refactor.refactor_file(filepath)
support.py 11 from lib2to3 import pytree, refactor
42 fixers = refactor.get_fixers_from_package(fixer_pkg + ".fixes")
44 return refactor.RefactoringTool(fixers, options, explicit=True)
test_refactor.py 2 Unit tests for refactor.py.
14 from lib2to3 import refactor, pygram, fixer_base
23 _DEFAULT_FIXERS = refactor.get_fixers_from_package("myfixes")
27 _2TO3_FIXERS = refactor.get_fixers_from_package("lib2to3.fixes")
43 return refactor.RefactoringTool(fixers, options, explicit)
59 non_prefixed = refactor.get_all_fix_names("myfixes")
60 prefixed = refactor.get_all_fix_names("myfixes", False)
61 full_names = refactor.get_fixers_from_package("myfixes")
68 run = refactor._detect_future_features
125 d = refactor._get_headnode_dict([no_head, with_head, simple]
    [all...]
  /external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
__init__.py 6 from py_utils.refactor.annotated_symbol.class_definition import *
7 from py_utils.refactor.annotated_symbol.function_definition import *
8 from py_utils.refactor.annotated_symbol.import_statement import *
9 from py_utils.refactor.annotated_symbol.reference import *
10 from py_utils.refactor import snippet
reference.py 9 from py_utils.refactor.annotated_symbol import base_symbol
10 from py_utils.refactor import snippet
  /external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
__init__.py 15 from py_utils.refactor.annotated_symbol import *
16 from py_utils.refactor.module import Module
module.py 5 from py_utils.refactor import annotated_symbol
  /external/chromium-trace/catapult/common/py_utils/py_utils/refactor_util/
move.py 9 from py_utils import refactor
24 refactor.Transform(functools.partial(_Update, moves), files_to_update)
32 for import_statement in module.FindAll(refactor.Import):
71 module: The refactor.Module to update.
72 import_statement: The refactor.Import to update.
91 for reference in module.FindAll(refactor.Reference):
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
main.py 14 from . import refactor
26 class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):
128 for fixname in refactor.get_all_fix_names(fixer_pkg):
149 avail_fixes = set(refactor.get_fixers_from_package(fixer_pkg))
166 # Refactor all files and directories passed as arguments
172 rt.refactor(args, options.write, options.doctests_only,
174 except refactor.MultiprocessingUnsupported:
  /external/python/cpython2/Lib/lib2to3/
main.py 14 from . import refactor
26 class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):
49 All files processed by refactor() must start with this path.
199 for fixname in refactor.get_all_fix_names(fixer_pkg):
221 avail_fixes = set(refactor.get_fixers_from_package(fixer_pkg))
253 # Refactor all files and directories passed as arguments
259 rt.refactor(args, options.write, options.doctests_only,
261 except refactor.MultiprocessingUnsupported:
  /external/python/cpython3/Lib/lib2to3/
main.py 14 from . import refactor
26 class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):
49 All files processed by refactor() must start with this path.
198 for fixname in refactor.get_all_fix_names(fixer_pkg):
220 avail_fixes = set(refactor.get_fixers_from_package(fixer_pkg))
252 # Refactor all files and directories passed as arguments
258 rt.refactor(args, options.write, options.doctests_only,
260 except refactor.MultiprocessingUnsupported:
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/
main.py 14 from . import refactor
26 class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):
49 All files processed by refactor() must start with this path.
199 for fixname in refactor.get_all_fix_names(fixer_pkg):
221 avail_fixes = set(refactor.get_fixers_from_package(fixer_pkg))
253 # Refactor all files and directories passed as arguments
259 rt.refactor(args, options.write, options.doctests_only,
261 except refactor.MultiprocessingUnsupported:
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/
main.py 14 from . import refactor
26 class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):
49 All files processed by refactor() must start with this path.
199 for fixname in refactor.get_all_fix_names(fixer_pkg):
221 avail_fixes = set(refactor.get_fixers_from_package(fixer_pkg))
253 # Refactor all files and directories passed as arguments
259 rt.refactor(args, options.write, options.doctests_only,
261 except refactor.MultiprocessingUnsupported:

Completed in 722 milliseconds

1 2 3