pub type HaskellToken = Token<HaskellTokenType>;Expand description
Haskell token types. A token in the Haskell language.
Aliased Type§
pub struct HaskellToken {
pub kind: HaskellTokenType,
pub span: Range<usize>,
}Fields§
§kind: HaskellTokenTypeThe kind/category of this kind (e.g., keyword, identifier, number)
span: Range<usize>The byte range in the source text that this kind occupies