Skip to main content

LuaToken

Type Alias LuaToken 

Source
pub type LuaToken = Token<LuaTokenType>;
Expand description

Token type for Lua.

Aliased Type§

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

Fields§

§kind: LuaTokenType

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