Coverage for src/renaissance/syntax_tree/pattern_kind.py: 100%
4 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-15 10:34 +0000
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-15 10:34 +0000
1# Copyright (C) 2024-2026 TNO
2#
3# Licensed under the terms specified in the LICENSE file in the root directory
4# of this repository, also available at:
5# https://github.com/TNO/Renaissance.Py/blob/main/LICENSE
7"""AI: Enumeration of pattern-matching modes (match-one vs. match-all)."""
9from enum import StrEnum
12class PatternKind(StrEnum):
13 """AI: Enumerate the pattern-matching modes (match-one vs. match-all)."""
15 MATCH_ONE = "match_one"
16 MATCH_ALL = "match_all"