Home
last modified time | relevance | path

Searched refs:fixer (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Lib/lib2to3/
H A Drefactor.py77 of head node type --> fixer list. """
80 for fixer in fixer_list:
81 if fixer.pattern:
83 heads = _get_head_types(fixer.pattern)
85 every.append(fixer)
88 head_nodes[node_type].append(fixer)
90 if fixer._accept_type is not None:
91 head_nodes[fixer._accept_type].append(fixer)
93 every.append(fixer)
[all...]
H A Dbtm_matcher.py37 def add_fixer(self, fixer):
38 """Reduces a fixer's pattern tree to a linear path and adds it
39 to the matcher(a common Aho-Corasick automaton). The fixer is
42 self.fixers.append(fixer)
43 tree = reduce_tree(fixer.pattern_tree)
47 match_node.fixers.append(fixer)
119 for fixer in current_ac_node.fixers:
120 results[fixer].append(current_ast_node)
133 for fixer in current_ac_node.fixers:
134 results[fixer]
[all...]
/third_party/node/deps/npm/node_modules/normalize-package-data/lib/
H A Dnormalize.js3 var fixer = require('./fixer')
4 normalize.fixer = fixer
37 fixer.warn = function () {
41 fixer['fix' + ucFirst(thingName)](data, strict)
/third_party/python/Lib/lib2to3/tests/
H A Dtest_fixers.py1 """ Test suite for the fixer modules """
19 fix_list = [self.fixer]
24 for fixer in chain(self.refactor.pre_order,
26 fixer.log = self.fixer_log
56 fixes = [self.fixer]
60 n = "fix_" + self.fixer
62 # We're the last fixer to run
71 fixer = "ne" variable in Test_ne
98 fixer = "has_key" variable in Test_has_key
156 fixer variable in Test_apply
289 fixer = "reload" global() variable in Test_reload
348 fixer = "intern" global() variable in Test_intern
397 fixer = "reduce" global() variable in Test_reduce
432 fixer = "print" global() variable in Test_print
538 fixer = "exec" global() variable in Test_exec
589 fixer = "repr" global() variable in Test_repr
627 fixer = "except" global() variable in Test_except
902 fixer = "raise" global() variable in Test_raise
1029 fixer = "throw" global() variable in Test_throw
1154 fixer = "long" global() variable in Test_long
1200 fixer = "execfile" global() variable in Test_execfile
1238 fixer = "isinstance" global() variable in Test_isinstance
1266 fixer = "dict" global() variable in Test_dict
1496 fixer = "xrange" global() variable in Test_xrange
1579 fixer = "raw_input" global() variable in Test_raw_input
1626 fixer = "funcattrs" global() variable in Test_funcattrs
1652 fixer = "xreadlines" global() variable in Test_xreadlines
1793 fixer = "imports" global() variable in Test_imports
1814 fixer = "imports2" global() variable in Test_imports2
1835 fixer = "urllib" global() variable in Test_urllib
1949 fixer = "input" global() variable in Test_input
1996 fixer = "tuple_params" global() variable in Test_tuple_params
2183 fixer = "methodattrs" global() variable in Test_methodattrs
2215 fixer = "next" global() variable in Test_next
2689 fixer = "nonzero" global() variable in Test_nonzero
2741 fixer = "numliterals" global() variable in Test_numliterals
2807 fixer = "renames" global() variable in Test_renames
2853 fixer = "unicode" global() variable in Test_unicode
2932 fixer = "filter" global() variable in Test_filter
3036 fixer = "map" global() variable in Test_map
3160 fixer = "zip" global() variable in Test_zip
3240 fixer = "standarderror" global() variable in Test_standarderror
3256 fixer = "types" global() variable in Test_types
3288 fixer = "idioms" global() variable in Test_idioms
3632 fixer = "basestring" global() variable in Test_basestring
3640 fixer = "buffer" global() variable in Test_buffer
3653 fixer = "future" global() variable in Test_future
3672 fixer = "itertools" global() variable in Test_itertools
3733 fixer = 'itertools_imports' global() variable in Test_itertools_imports
3807 fixer = "import" global() variable in Test_import
3972 fixer = "set_literal" global() variable in Test_set_literal
4098 fixer = "sys_exc" global() variable in Test_sys_exc
4132 fixer = "paren" global() variable in Test_paren
4191 fixer = 'metaclass' global() variable in Test_metaclass
4356 fixer = 'getcwdu' global() variable in Test_getcwdu
4417 fixer = "operator" global() variable in Test_operator
4516 fixer = "exitfunc" global() variable in Test_exitfunc
4604 fixer = "asserts" global() variable in Test_asserts
[all...]

Completed in 4 milliseconds