pub type JavaScriptToken = Token<JavaScriptTokenType>;Expand description
Type alias for JavaScript tokens.
Aliased Type§
pub struct JavaScriptToken {
pub kind: JavaScriptTokenType,
pub span: Range<usize>,
}Fields§
§kind: JavaScriptTokenTypeThe kind/category of this kind (e.g., keyword, identifier, number)
span: Range<usize>The byte range in the source text that this kind occupies