Home
last modified time | relevance | path

Searched refs:import_as_name (Results 1 – 20 of 20) sorted by relevance

/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dimport_statement.py62 symbol_type != symbol.import_as_name):
242 return tuple((import_as_name.name, import_as_name.alias)
243 for import_as_name in import_as_names.children[::2])
277 import_as_name = self._import_as_name
278 if import_as_name:
279 return import_as_name.name
288 import_as_name = self._import_as_name
293 if import_as_name:
294 import_as_name.name = value
309 import_as_name = self._import_as_name
[all …]
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_itertools_imports.py16 if imports.type == syms.import_as_name or not imports.children:
28 assert child.type == syms.import_as_name
Dfix_urllib.py124 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/Lib/lib2to3/fixes/
Dfix_itertools_imports.py16 if imports.type == syms.import_as_name or not imports.children:
28 assert child.type == syms.import_as_name
Dfix_urllib.py125 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/cpython2/Grammar/
DGrammar56 import_as_name: NAME ['as' NAME]
58 import_as_names: import_as_name (',' import_as_name)* [',']
/external/python/cpython3/Lib/lib2to3/
DGrammar.txt59 import_as_name: NAME ['as' NAME]
61 import_as_names: import_as_name (',' import_as_name)* [',']
Dfixer_util.py445 elif n.type == syms.import_as_name:
/external/python/cpython3/Grammar/
DGrammar61 import_as_name: NAME ['as' NAME]
63 import_as_names: import_as_name (',' import_as_name)* [',']
/external/python/cpython2/Lib/lib2to3/
DGrammar.txt76 import_as_name: NAME ['as' NAME]
78 import_as_names: import_as_name (',' import_as_name)* [',']
Dfixer_util.py424 elif n.type == syms.import_as_name:
/external/python/cpython3/Include/
Dgraminit.h34 #define import_as_name 287 macro
/external/python/cpython2/Include/
Dgraminit.h31 #define import_as_name 284 macro
/external/python/cpython2/Lib/
Dsymbol.py41 import_as_name = 284 variable
/external/python/cpython3/Lib/
Dsymbol.py44 import_as_name = 287 variable
/external/antlr/runtime/JavaScript/tests/functional/
DPython.g203 (STAR | import_as_name (COMMA import_as_name)*)
206 import_as_name
/external/python/cpython2/Lib/compiler/
Dtransformer.py905 assert node[0] == symbol.import_as_name
/external/python/cpython2/Modules/
Dparsermodule.c1848 int ok = validate_ntype(tree, import_as_name); in validate_import_as_name()
/external/python/cpython2/Python/
Dast.c2442 case import_as_name: { in alias_for_import_name()
/external/python/cpython3/Python/
Dast.c3164 case import_as_name: { in alias_for_import_name()