Skip to main content

DToken

Type Alias DToken 

Source
pub type DToken = Token<DSyntaxKind>;
Expand description

Token type for D language syntax

Aliased Type§

pub struct DToken {
    pub kind: DSyntaxKind,
    pub span: Range<usize>,
}

Fields§

§kind: DSyntaxKind

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