(self, current_state: int, char: str)
| 15 | self.set_fail_transitions() |
| 16 | |
| 17 | def find_next_state(self, current_state: int, char: str) -> int | None: |
| 18 | for state in self.adlist[current_state]["next_states"]: |
| 19 | if char == self.adlist[state]["value"]: |
| 20 | return state |
| 21 | return None |
| 22 | |
| 23 | def add_keyword(self, keyword: str) -> None: |
| 24 | current_state = 0 |
no outgoing calls
no test coverage detected