Searched refs:MatchOr (Results 1 – 10 of 10) 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()
6104 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()
3542 p->v.MatchOr.patterns = patterns; in _PyAST_MatchOr()5261 value = ast2obj_list(state, (asdl_seq*)o->v.MatchOr.patterns, in ast2obj_pattern()
1607 ast.MatchOr(1610 ast.MatchOr(1613 ast.MatchOr(
605 } MatchOr; member
1583 .. class:: MatchOr(patterns)1604 pattern=MatchOr(
239 ``MatchOr`` are now defined as pattern nodes rather than as expression