Searched refs:MatchValue (Results 1 - 7 of 7) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_ast.py | 1690 pattern_1 = ast.MatchValue(constant_1) 1693 pattern_x = ast.MatchValue(constant_x) 1701 ast.MatchValue( 1710 ast.MatchValue( 1719 ast.MatchValue( 1722 ast.MatchValue( 1725 ast.MatchValue(
|
/third_party/python/Include/internal/ |
H A D | pycore_ast.h | 578 } MatchValue; member
|
/third_party/python/Python/ |
H A D | ast_opt.c | 1020 // constants in MatchValue and MatchMapping nodes in astfold_pattern() 1029 CALL(astfold_expr, expr_ty, node_->v.MatchValue.value); in astfold_pattern()
|
H A D | ast.c | 547 ret = validate_pattern_match_value(state, p->v.MatchValue.value); in validate_pattern()
|
H A D | symtable.c | 1744 VISIT(st, expr, p->v.MatchValue.value); in symtable_visit_pattern()
|
H A D | Python-ast.c | 1787 "pattern = MatchValue(expr value)\n" in init_types() 1798 state->MatchValue_type = make_type(state, "MatchValue", in init_types() 1801 "MatchValue(expr value)"); in init_types() 3434 "field 'value' is required for MatchValue"); in _PyAST_MatchValue() 3441 p->v.MatchValue.value = value; in _PyAST_MatchValue() 5291 value = ast2obj_expr(state, o->v.MatchValue.value); in ast2obj_pattern() 11352 PyErr_SetString(PyExc_TypeError, "required field \"value\" missing from MatchValue"); in obj2ast_pattern() 11357 if (_Py_EnterRecursiveCall(" while traversing 'MatchValue' node")) { in obj2ast_pattern() 12255 if (PyModule_AddObjectRef(m, "MatchValue", state->MatchValue_type) < 0) { in astmodule_exec()
|
H A D | compile.c | 6971 expr_ty value = p->v.MatchValue.value; in compiler_pattern_value()
|
Completed in 36 milliseconds