/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/tensorflow/tensorflow/tools/compatibility/ |
D | ast_edits.py | 643 new_asname = import_alias.asname 647 new_alias = ast.alias(name=new_name, asname=new_asname) 653 full_import = (import_alias.name, import_alias.asname) 843 full_import = (import_alias.name, import_alias.asname) 869 full_import = (full_module_name, import_alias.asname)
|
D | tf_upgrade_v2.py | 80 import_alias.asname == "tf"):
|
/external/python/cpython3/Include/internal/ |
D | pycore_ast_state.h | 160 PyObject *asname; member
|
D | pycore_ast.h | 544 identifier asname; member 804 alias_ty _PyAST_alias(identifier name, identifier asname, int lineno, int
|
/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/Lib/ |
D | pyclbr.py | 261 self.tree[name.asname or name.name] = module[name.name]
|
D | ast.py | 1574 if node.asname: 1575 self.write(" as " + node.asname)
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | transpiler.py | 113 names=[gast.alias(name=name, asname=None) for name in future_features],
|
/external/python/cpython3/Parser/ |
D | Python.asdl | 122 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/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | activity.py | 421 if node.asname is None: 425 qn = qual_names.QN(node.asname)
|
/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 | Python-ast.c | 174 Py_CLEAR(state->asname); in _PyAST_Fini() 283 if ((state->asname = PyUnicode_InternFromString("asname")) == NULL) return 0; in init_identifiers() 1751 if (PyObject_SetAttr(state->alias_type, state->asname, Py_None) == -1) in init_types() 3333 _PyAST_alias(identifier name, identifier asname, int lineno, int col_offset, in _PyAST_alias() argument 3346 p->asname = asname; in _PyAST_alias() 5046 value = ast2obj_identifier(state, o->asname); in ast2obj_alias() 5048 if (PyObject_SetAttr(result, state->asname, value) == -1) in ast2obj_alias() 10696 identifier asname; in obj2ast_alias() local 10719 if (_PyObject_LookupAttr(obj, state->asname, &tmp) < 0) { in obj2ast_alias() 10724 asname = NULL; in obj2ast_alias() [all …]
|
D | compile.c | 3294 compiler_import_as(struct compiler *c, identifier name, identifier asname) in compiler_import_as() argument 3324 if (!compiler_nameop(c, asname, Store)) { in compiler_import_as() 3330 return compiler_nameop(c, asname, Store); in compiler_import_as() 3354 if (alias->asname) { in compiler_import() 3355 r = compiler_import_as(c, alias->name, alias->asname); in compiler_import() 3431 if (alias->asname) in compiler_from_import() 3432 store_name = alias->asname; in compiler_from_import()
|
D | symtable.c | 1954 PyObject *name = (a->asname == NULL) ? a->name : a->asname; in symtable_visit_alias()
|
/external/python/cpython3/Doc/library/ |
D | ast.rst | 965 .. class:: alias(name, asname) 967 Both parameters are raw strings of the names. ``asname`` can be ``None`` if 978 alias(name='a', asname='b'),
|
/external/python/cpython3/Lib/test/ |
D | test_ast.py | 343 self.assertIsNone(alias.asname) 352 self.assertIsNone(alias.asname)
|
/external/python/cpython3/Doc/data/ |
D | python3.10.abi | 6650 …<var-decl name='asname' type-id='type-id-16' visibility='default' filepath='./Include/internal/pyc… 14390 …<var-decl name='asname' type-id='type-id-566' visibility='default' filepath='./Include/internal/py…
|