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

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_all_fixers.py 12 from lib2to3 import refactor namespace
19 self.refactor = support.get_refactorer()
23 self.refactor.refactor_file(filepath)
support.py 13 from lib2to3 import pytree, refactor namespace
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 namespace
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...]
test_fixers.py 10 from lib2to3 import pygram, pytree, refactor, fixer_util namespace
21 self.refactor = support.get_refactorer(fixer_pkg, fix_list, options)
25 for fixer in chain(self.refactor.pre_order,
26 self.refactor.post_order):
32 tree = self.refactor.refactor_string(before, self.filename)
385 self.refactor.driver.grammar = pygram.python_grammar_no_print_statement
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_all_fixers.py 12 from lib2to3 import refactor namespace
19 self.refactor = support.get_refactorer()
23 self.refactor.refactor_file(filepath)
support.py 13 from lib2to3 import pytree, refactor namespace
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 namespace
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...]
test_fixers.py 10 from lib2to3 import pygram, pytree, refactor, fixer_util namespace
21 self.refactor = support.get_refactorer(fixer_pkg, fix_list, options)
25 for fixer in chain(self.refactor.pre_order,
26 self.refactor.post_order):
32 tree = self.refactor.refactor_string(before, self.filename)
385 self.refactor.driver.grammar = pygram.python_grammar_no_print_statement
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
main.py 14 from . import refactor namespace
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:
refactor.py 6 Used as a main program, this can refactor any number of files and/or
199 # When this is True, the refactor*() methods will call write_file() for
201 # and only if the refactor method's write parameter was True.
294 def refactor(self, items, write=False, doctests_only=False): member in class:RefactoringTool
295 """Refactor a list of files and directories."""
304 """Descends down a directory and refactor every Python file found.
363 """Refactor a given input string.
702 def refactor(self, items, write=False, doctests_only=False, member in class:MultiprocessRefactoringTool
705 return super(MultiprocessRefactoringTool, self).refactor(
720 super(MultiprocessRefactoringTool, self).refactor(items, write
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
main.py 14 from . import refactor namespace
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:
refactor.py 6 Used as a main program, this can refactor any number of files and/or
199 # When this is True, the refactor*() methods will call write_file() for
201 # and only if the refactor method's write parameter was True.
294 def refactor(self, items, write=False, doctests_only=False): member in class:RefactoringTool
295 """Refactor a list of files and directories."""
304 """Descends down a directory and refactor every Python file found.
363 """Refactor a given input string.
702 def refactor(self, items, write=False, doctests_only=False, member in class:MultiprocessRefactoringTool
705 return super(MultiprocessRefactoringTool, self).refactor(
720 super(MultiprocessRefactoringTool, self).refactor(items, write
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
RewriteRuleSubtreeStream.js 18 * a proper way to refactor. This needs to always call dup node
  /external/chromium_org/chrome/browser/resources/chromeos/
choose_mobile_network.js 107 // TODO(dpolukhin): refactor spinner code&css to be reusable.
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
profile.rb 190 any given input. This information can be used to help refactor a slow grammar.
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/
image_encoder.js 87 // TODO(kaznacheev): refactor |stringToArrayBuffer| and |encode| to return
  /external/chromium_org/ui/file_manager/gallery/js/image_editor/
image_encoder.js 87 // TODO(kaznacheev): refactor |stringToArrayBuffer| and |encode| to return
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
key_util.js 372 // TODO (clchen): Refactor this function away since it is no longer used.
404 // method to KeySequence after we refactor isModifierActive (when the modifie
  /external/clang/lib/Sema/
SemaExprObjC.cpp     [all...]

Completed in 304 milliseconds