Coverage for src/galaxy_beep_frame/converter/token/mutability_state.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-08-31 04:18 +0200

1"""MutabilityState class.""" 

2 

3from dataclasses import dataclass 

4from typing import TYPE_CHECKING 

5 

6if TYPE_CHECKING: 

7 from galaxy_beep_frame.converter.token import Token 

8 

9 

10@dataclass 

11class MutabilityState: 

12 """Information concerning mutability state.""" 

13 

14 token: Token 

15 

16 def is_mutable(self) -> bool: 

17 """Inform about the mutability of the state.""" 

18 return NotImplemented