Searched refs:import_as_name (Results 1 - 16 of 16) sorted by relevance

/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
H A Dimport_statement.py61 symbol_type != symbol.import_as_name):
237 return tuple((import_as_name.name, import_as_name.alias)
238 for import_as_name in import_as_names.children[::2])
272 import_as_name = self._import_as_name
273 if import_as_name:
274 return import_as_name.name
283 import_as_name = self._import_as_name
288 if import_as_name:
289 import_as_name
[all...]
/external/python/cpython2/Lib/lib2to3/fixes/
H A Dfix_itertools_imports.py16 if imports.type == syms.import_as_name or not imports.children:
28 assert child.type == syms.import_as_name
H A Dfix_urllib.py59 ( member=%s | import_as_name< member=%s 'as' any > |
125 if member.type == syms.import_as_name:
142 if name.type == syms.import_as_name:
146 return [Node(syms.import_as_name, kids)]
/external/python/cpython3/Lib/lib2to3/fixes/
H A Dfix_itertools_imports.py16 if imports.type == syms.import_as_name or not imports.children:
28 assert child.type == syms.import_as_name
H A Dfix_urllib.py58 ( member=%s | import_as_name< member=%s 'as' any > |
124 if member.type == syms.import_as_name:
141 if name.type == syms.import_as_name:
145 return [Node(syms.import_as_name, kids)]
/external/python/cpython2/Include/
H A Dgraminit.h31 #define import_as_name 284 macro
/external/python/cpython2/Lib/
H A Dsymbol.py41 import_as_name = 284 variable
/external/python/cpython3/Include/
H A Dgraminit.h34 #define import_as_name 287 macro
/external/python/cpython3/Lib/
H A Dsymbol.py44 import_as_name = 287 variable
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
H A DPython.g203 (STAR | import_as_name (COMMA import_as_name)*)
206 import_as_name
/external/python/cpython2/Lib/lib2to3/
H A Dfixer_util.py424 elif n.type == syms.import_as_name:
/external/python/cpython3/Lib/lib2to3/
H A Dfixer_util.py445 elif n.type == syms.import_as_name:
/external/python/cpython2/Lib/compiler/
H A Dtransformer.py905 assert node[0] == symbol.import_as_name
/external/python/cpython2/Modules/
H A Dparsermodule.c1806 int ok = validate_ntype(tree, import_as_name);
1816 ok = validate_numnodes(tree, 3, "import_as_name");
1880 /* import_as_name (',' import_as_name)* [','] */
/external/python/cpython2/Python/
H A Dast.c2434 import_as_name: NAME ['as' NAME]
2442 case import_as_name: {
/external/python/cpython3/Python/
H A Dast.c3162 import_as_name: NAME ['as' NAME]
3170 case import_as_name: {

Completed in 829 milliseconds