Skip to main content

VampireToken

Type Alias VampireToken 

Source
pub type VampireToken = Token<VampireSyntaxKind>;
Expand description

Type alias for Token with VampireSyntaxKind

Aliased Type§

pub struct VampireToken {
    pub kind: VampireSyntaxKind,
    pub span: Range<usize>,
}

Fields§

§kind: VampireSyntaxKind

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