Searched refs:type_ignores (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Doc/library/ |
D | ast.rst | 303 type_ignores=[]) 312 type_ignores=[]) 320 type_ignores=[]) 344 type_ignores=[]) 366 type_ignores=[]) 763 type_ignores=[]) 776 type_ignores=[]) 797 type_ignores=[]) 807 type_ignores=[]) 819 type_ignores=[]) [all …]
|
/third_party/python/Lib/test/ |
D | test_type_comments.py | 313 [(ti.lineno, ti.tag) for ti in tree.type_ignores], 323 self.assertEqual(tree.type_ignores, [])
|
/third_party/python/Include/internal/ |
D | pycore_ast_state.h | 242 PyObject *type_ignores; member
|
D | pycore_ast.h | 158 asdl_type_ignore_seq *type_ignores; member 628 mod_ty _PyAST_Module(asdl_stmt_seq * body, asdl_type_ignore_seq * type_ignores,
|
/third_party/python/Parser/ |
D | Python.asdl | 6 mod = Module(stmt* body, type_ignore* type_ignores)
|
D | pegen.c | 2461 asdl_type_ignore_seq *type_ignores = NULL; in _PyPegen_make_module() local 2465 type_ignores = _Py_asdl_type_ignore_seq_new(num, p->arena); in _PyPegen_make_module() 2466 if (type_ignores == NULL) { in _PyPegen_make_module() 2479 asdl_seq_SET(type_ignores, i, ti); in _PyPegen_make_module() 2482 return _PyAST_Module(a, type_ignores, p->arena); in _PyPegen_make_module()
|
/third_party/python/Python/ |
D | Python-ast.c | 256 Py_CLEAR(state->type_ignores); in _PyAST_Fini() 352 if ((state->type_ignores = PyUnicode_InternFromString("type_ignores")) == NULL) return 0; in init_identifiers() 1883 _PyAST_Module(asdl_stmt_seq * body, asdl_type_ignore_seq * type_ignores, in _PyAST_Module() argument 1892 p->v.Module.type_ignores = type_ignores; in _PyAST_Module() 3588 value = ast2obj_list(state, (asdl_seq*)o->v.Module.type_ignores, in ast2obj_mod() 3591 if (PyObject_SetAttr(result, state->type_ignores, value) == -1) in ast2obj_mod() 5349 asdl_type_ignore_seq* type_ignores; in obj2ast_mod() local 5388 if (_PyObject_LookupAttr(obj, state->type_ignores, &tmp) < 0) { in obj2ast_mod() 5404 type_ignores = _Py_asdl_type_ignore_seq_new(len, arena); in obj2ast_mod() 5405 if (type_ignores == NULL) goto failed; in obj2ast_mod() [all …]
|
/third_party/python/Lib/ |
D | ast.py | 820 for ignore in node.type_ignores
|