pub type RubyToken = Token<RubyTokenType>;Expand description
Represents a token in a Ruby source file.
Aliased Type§
pub struct RubyToken {
pub kind: RubyTokenType,
pub span: Range<usize>,
}Fields§
§kind: RubyTokenTypeThe kind/category of this kind (e.g., keyword, identifier, number)
span: Range<usize>The byte range in the source text that this kind occupies