pub type JavaToken = Token<JavaTokenType>;Expand description
A token in the Java language.
Aliased Type§
pub struct JavaToken {
pub kind: JavaTokenType,
pub span: Range<usize>,
}Fields§
§kind: JavaTokenTypeThe kind/category of this kind (e.g., keyword, identifier, number)
span: Range<usize>The byte range in the source text that this kind occupies