Searched refs:MatchSingleton (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Lib/test/ |
D | test_ast.py | 1502 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/ |
D | Python.asdl | 130 | MatchSingleton(constant value)
|
/third_party/python/Python/ |
D | ast.c | 519 ret = p->v.MatchSingleton.value == Py_None || PyBool_Check(p->v.MatchSingleton.value); in validate_pattern()
|
D | Python-ast.c | 3426 p->v.MatchSingleton.value = value; in _PyAST_MatchSingleton() 5165 value = ast2obj_constant(state, o->v.MatchSingleton.value); in ast2obj_pattern()
|
D | compile.c | 6325 ADDOP_LOAD_CONST(c, p->v.MatchSingleton.value); in compiler_pattern_singleton()
|
/third_party/python/Include/internal/ |
D | pycore_ast.h | 575 } MatchSingleton; member
|
/third_party/python/Doc/library/ |
D | ast.rst | 1336 .. class:: MatchSingleton(value) 1355 pattern=MatchSingleton(value=None),
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0b1.rst | 237 ``MatchSingleton``, ``MatchSequence``, ``MatchStar``, ``MatchMapping``,
|