Sets the transition from (si, cls) to next.
(&mut self, si: StatePtr, cls: usize, next: StatePtr)
| 1704 | |
| 1705 | /// Sets the transition from (si, cls) to next. |
| 1706 | fn set_next(&mut self, si: StatePtr, cls: usize, next: StatePtr) { |
| 1707 | self.table[si as usize + cls] = next; |
| 1708 | } |
| 1709 | |
| 1710 | /// Returns the transition corresponding to (si, cls). |
| 1711 | fn next(&self, si: StatePtr, cls: usize) -> StatePtr { |