Searched refs:MatchOr (Results 1 – 11 of 11) sorted by relevance
139 | MatchOr(pattern* patterns)
632 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()
832 CALL_SEQ(astfold_pattern, pattern, node_->v.MatchOr.patterns); in astfold_pattern()
1786 VISIT_SEQ(st, pattern, p->v.MatchOr.patterns); in symtable_visit_pattern()
6105 Py_ssize_t size = asdl_seq_LEN(p->v.MatchOr.patterns); in compiler_pattern_or()6116 pattern_ty alt = asdl_seq_GET(p->v.MatchOr.patterns, i); in compiler_pattern_or()
3542 p->v.MatchOr.patterns = patterns; in _PyAST_MatchOr()5261 value = ast2obj_list(state, (asdl_seq*)o->v.MatchOr.patterns, in ast2obj_pattern()
1598 ast.MatchOr(1601 ast.MatchOr(1604 ast.MatchOr(
605 } MatchOr; member
1583 .. class:: MatchOr(patterns)1604 pattern=MatchOr(
239 ``MatchOr`` are now defined as pattern nodes rather than as expression
14186 …<var-decl name='MatchOr' type-id='type-id-652' visibility='default' filepath='./Include/internal/p…