(self)
| 46 | |
| 47 | @property |
| 48 | def srcCharCode(self) -> tuple[int, ...]: |
| 49 | warnings.warn( |
| 50 | "StateBase.srcCharCode is deprecated. Use StateBase.src instead.", |
| 51 | DeprecationWarning, |
| 52 | stacklevel=2, |
| 53 | ) |
| 54 | if self._srcCharCode is None: |
| 55 | self._srcCharCode = tuple(ord(c) for c in self._src) |
| 56 | return self._srcCharCode |
| 57 | |
| 58 | |
| 59 | class RuleOptionsType(TypedDict, total=False): |
nothing calls this directly
no outgoing calls
no test coverage detected