Skip to main content

LuaToken

Type Alias LuaToken 

Source
pub type LuaToken = Token<LuaSyntaxKind>;

Aliased Type§

pub struct LuaToken {
    pub kind: LuaSyntaxKind,
    pub span: Range<usize>,
}

Fields§

§kind: LuaSyntaxKind

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