RustToken

Type Alias RustToken 

Source
pub type RustToken = Token<RustSyntaxKind>;
Expand description

Type alias for Token with RustSyntaxKind

Aliased Type§

pub struct RustToken {
    pub kind: RustSyntaxKind,
    pub span: Range<usize>,
}

Fields§

§kind: RustSyntaxKind

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