/external/python/cpython2/Lib/compiler/ |
D | symbols.py | 331 for name, asname in node.names: 334 scope.add_def(asname or name) 337 for name, asname in node.names: 341 scope.add_def(asname or name)
|
D | future.py | 33 for name, asname in stmt.names:
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 114 alias = (identifier name, identifier? asname)
|
/external/python/cpython2/Demo/parser/ |
D | unparse.py | 568 if t.asname: 569 self.write(" as "+t.asname)
|
/external/python/cpython3/Parser/ |
D | Python.asdl | 128 alias = (identifier name, identifier? asname)
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 371 identifier asname; member 531 alias_ty _Py_alias(identifier name, identifier asname, PyArena *arena);
|
/external/python/cpython3/Tools/parser/ |
D | unparse.py | 660 if t.asname: 661 self.write(" as "+t.asname)
|
/external/python/cpython3/Include/ |
D | Python-ast.h | 433 identifier asname; member 630 alias_ty _Py_alias(identifier name, identifier asname, PyArena *arena);
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | conversion.py | 271 names=[gast.alias(name=base.__name__, asname=alias)],
|
/external/python/cpython2/Python/ |
D | compile.c | 1881 compiler_import_as(struct compiler *c, identifier name, identifier asname) in compiler_import_as() argument 1906 return compiler_nameop(c, asname, Store); in compiler_import_as() 1938 if (alias->asname) { in compiler_import() 1939 r = compiler_import_as(c, alias->name, alias->asname); in compiler_import() 2026 if (alias->asname) in compiler_from_import() 2027 store_name = alias->asname; in compiler_from_import()
|
D | symtable.c | 1411 PyObject *name = (a->asname == NULL) ? a->name : a->asname; in symtable_visit_alias()
|
D | Python-ast.c | 2116 alias(identifier name, identifier asname, PyArena *arena) in alias() argument 2128 p->asname = asname; in alias() 3306 value = ast2obj_identifier(o->asname); in ast2obj_alias() 6726 identifier asname; in obj2ast_alias() local 6744 res = obj2ast_identifier(tmp, &asname, arena); in obj2ast_alias() 6749 asname = NULL; in obj2ast_alias() 6751 *out = alias(name, asname, arena); in obj2ast_alias()
|
D | ast.c | 2472 assert(!a->asname); in alias_for_import_name() 2475 a->asname = NEW_IDENTIFIER(asname_node); in alias_for_import_name() 2476 if (!a->asname) in alias_for_import_name()
|
/external/python/cpython3/Python/ |
D | compile.c | 2755 compiler_import_as(struct compiler *c, identifier name, identifier asname) in compiler_import_as() argument 2785 if (!compiler_nameop(c, asname, Store)) { in compiler_import_as() 2791 return compiler_nameop(c, asname, Store); in compiler_import_as() 2814 if (alias->asname) { in compiler_import() 2815 r = compiler_import_as(c, alias->name, alias->asname); in compiler_import() 2895 if (alias->asname) in compiler_from_import() 2896 store_name = alias->asname; in compiler_from_import()
|
D | Python-ast.c | 492 _Py_IDENTIFIER(asname); 2534 alias(identifier name, identifier asname, PyArena *arena) in alias() argument 2546 p->asname = asname; in alias() 3901 value = ast2obj_identifier(o->asname); in ast2obj_alias() 8073 identifier asname; in obj2ast_alias() local 8093 asname = NULL; in obj2ast_alias() 8097 res = obj2ast_identifier(tmp, &asname, arena); in obj2ast_alias() 8101 *out = alias(name, asname, arena); in obj2ast_alias()
|
D | symtable.c | 1630 PyObject *name = (a->asname == NULL) ? a->name : a->asname; in symtable_visit_alias()
|
D | ast.c | 3194 assert(!a->asname); in alias_for_import_name() 3195 a->asname = NEW_IDENTIFIER(asname_node); in alias_for_import_name() 3196 if (!a->asname) in alias_for_import_name() 3198 if (forbidden_name(c, a->asname, asname_node, 0)) in alias_for_import_name()
|