Sets the token kind.
(&mut self, kind: TokenKind)
| 228 | |
| 229 | /// Sets the token kind. |
| 230 | pub fn set_kind(&mut self, kind: TokenKind) { |
| 231 | self.kind = kind; |
| 232 | } |
| 233 | |
| 234 | /// Sets the content range. |
| 235 | pub fn set_content_range(&mut self, range: Range<u32>) { |
no outgoing calls