Home
last modified time | relevance | path

Searched refs:MatchSingleton (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Lib/test/
Dtest_ast.py1502 pattern_true = ast.MatchSingleton(True)
1534 ast.MatchSingleton('string'),
1536 ast.MatchSingleton('string')
1542 ast.MatchSingleton('string')
1583 patterns=[ast.MatchSingleton('string')],
1614 [pattern_1, pattern_x, ast.MatchSingleton('xxx')]
/third_party/python/Parser/
DPython.asdl130 | MatchSingleton(constant value)
/third_party/python/Python/
Dast.c519 ret = p->v.MatchSingleton.value == Py_None || PyBool_Check(p->v.MatchSingleton.value); in validate_pattern()
DPython-ast.c3426 p->v.MatchSingleton.value = value; in _PyAST_MatchSingleton()
5165 value = ast2obj_constant(state, o->v.MatchSingleton.value); in ast2obj_pattern()
Dcompile.c6325 ADDOP_LOAD_CONST(c, p->v.MatchSingleton.value); in compiler_pattern_singleton()
/third_party/python/Include/internal/
Dpycore_ast.h575 } MatchSingleton; member
/third_party/python/Doc/library/
Dast.rst1336 .. class:: MatchSingleton(value)
1355 pattern=MatchSingleton(value=None),
/third_party/python/Misc/NEWS.d/
D3.10.0b1.rst237 ``MatchSingleton``, ``MatchSequence``, ``MatchStar``, ``MatchMapping``,