Home
last modified time | relevance | path

Searched refs:MatchOr (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Parser/
DPython.asdl139 | MatchOr(pattern* patterns)
/third_party/python/Python/
Dast.c632 if (asdl_seq_LEN(p->v.MatchOr.patterns) < 2) { in validate_pattern()
638 ret = validate_patterns(state, p->v.MatchOr.patterns, /*star_ok=*/0); in validate_pattern()
Dast_opt.c832 CALL_SEQ(astfold_pattern, pattern, node_->v.MatchOr.patterns); in astfold_pattern()
Dsymtable.c1786 VISIT_SEQ(st, pattern, p->v.MatchOr.patterns); in symtable_visit_pattern()
Dcompile.c6104 Py_ssize_t size = asdl_seq_LEN(p->v.MatchOr.patterns); in compiler_pattern_or()
6115 pattern_ty alt = asdl_seq_GET(p->v.MatchOr.patterns, i); in compiler_pattern_or()
DPython-ast.c3542 p->v.MatchOr.patterns = patterns; in _PyAST_MatchOr()
5261 value = ast2obj_list(state, (asdl_seq*)o->v.MatchOr.patterns, in ast2obj_pattern()
/third_party/python/Lib/test/
Dtest_ast.py1607 ast.MatchOr(
1610 ast.MatchOr(
1613 ast.MatchOr(
/third_party/python/Include/internal/
Dpycore_ast.h605 } MatchOr; member
/third_party/python/Doc/library/
Dast.rst1583 .. class:: MatchOr(patterns)
1604 pattern=MatchOr(
/third_party/python/Misc/NEWS.d/
D3.10.0b1.rst239 ``MatchOr`` are now defined as pattern nodes rather than as expression