Skip to main content

PascalToken

Type Alias PascalToken 

Source
pub type PascalToken = Token<PascalTokenType>;
Expand description

Represents a token in a Pascal source file.

Aliased Type§

pub struct PascalToken {
    pub kind: PascalTokenType,
    pub span: Range<usize>,
}

Fields§

§kind: PascalTokenType

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