Skip to main content

HaskellToken

Type Alias HaskellToken 

Source
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: HaskellTokenType

The kind/category of this kind (e.g., keyword, identifier, number)

§span: Range<usize>

The byte range in the source text that this kind occupies