Sets the leaf's state.
(&mut self, state: LeafState)
| 223 | |
| 224 | /// Sets the leaf's state. |
| 225 | pub fn set_state(&mut self, state: LeafState) { |
| 226 | self.state = state; |
| 227 | } |
| 228 | |
| 229 | /// Sets the token kind. |
| 230 | pub fn set_kind(&mut self, kind: TokenKind) { |
no outgoing calls