Skip to main content

classify

Function classify 

Source
pub fn classify(kind: &TokenType) -> Option<TokenClass>
Expand description

Classify a token by its part of speech. None = a token no surface paints as ONE token: the structural ones (indent/dedent/newline/EOF), and an LGX raw section, whose body is painted by the language it is written in.