Searched refs:MatchStar (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Parser/ |
D | Python.asdl | 135 | MatchStar(identifier? name)
|
/third_party/python/Lib/test/ |
D | test_ast.py | 1589 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/ |
D | ast.c | 612 ret = p->v.MatchStar.name == NULL || validate_capture(p->v.MatchStar.name); in validate_pattern()
|
D | symtable.c | 1761 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()
|
D | compile.c | 5661 ((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()
|
D | Python-ast.c | 3507 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/ |
D | pycore_ast.h | 596 } MatchStar; member
|
/third_party/python/Doc/library/ |
D | ast.rst | 1365 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/ |
D | 3.10.0b1.rst | 237 ``MatchSingleton``, ``MatchSequence``, ``MatchStar``, ``MatchMapping``,
|