DelphiToken

Type Alias DelphiToken 

Source
pub type DelphiToken = Token<DelphiSyntaxKind>;
Expand description

Token type for Delphi language syntax

Aliased Type§

pub struct DelphiToken {
    pub kind: DelphiSyntaxKind,
    pub span: Range<usize>,
}

Fields§

§kind: DelphiSyntaxKind

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