DjangoToken

Type Alias DjangoToken 

Source
pub type DjangoToken = Token<DjangoSyntaxKind>;

Aliased Type§

pub struct DjangoToken {
    pub kind: DjangoSyntaxKind,
    pub span: Range<usize>,
}

Fields§

§kind: DjangoSyntaxKind

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