pub fn classify(kind: &TokenType) -> Option<TokenClass>Expand description
Classify a token by its part of speech. None = structural tokens
(indent/dedent/newline/EOF) that no surface paints.
pub fn classify(kind: &TokenType) -> Option<TokenClass>Classify a token by its part of speech. None = structural tokens
(indent/dedent/newline/EOF) that no surface paints.