Home
last modified time | relevance | path

Searched refs:MatchStar (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Parser/
DPython.asdl135 | MatchStar(identifier? name)
/third_party/python/Lib/test/
Dtest_ast.py1589 patterns=[ast.MatchStar()],
1597 kwd_patterns=[ast.MatchStar()]
1601 ast.MatchStar("True")
1617 ast.MatchStar(name="x"),
1618 ast.MatchSequence([ast.MatchStar("_")]),
/third_party/python/Python/
Dast.c612 ret = p->v.MatchStar.name == NULL || validate_capture(p->v.MatchStar.name); in validate_pattern()
Dsymtable.c1761 if (p->v.MatchStar.name) { in symtable_visit_pattern()
1762 symtable_add_def(st, p->v.MatchStar.name, DEF_LOCAL, LOCATION(p)); in symtable_visit_pattern()
Dcompile.c5661 ((N)->kind == MatchStar_kind && !(N)->v.MatchStar.name)
5882 RETURN_IF_FALSE(pattern_helper_store_name(c, p->v.MatchStar.name, pc)); in compiler_pattern_star()
DPython-ast.c3507 p->v.MatchStar.name = name; in _PyAST_MatchStar()
5236 value = ast2obj_identifier(state, o->v.MatchStar.name); in ast2obj_pattern()
/third_party/python/Include/internal/
Dpycore_ast.h596 } MatchStar; member
/third_party/python/Doc/library/
Dast.rst1365 length sequence if one of the subpatterns is a ``MatchStar`` node, otherwise
1392 .. class:: MatchStar(name)
1419 MatchStar(name='rest')]),
1426 MatchStar()]),
/third_party/python/Misc/NEWS.d/
D3.10.0b1.rst237 ``MatchSingleton``, ``MatchSequence``, ``MatchStar``, ``MatchMapping``,