RubyToken

Type Alias RubyToken 

Source
pub type RubyToken = Token<RubySyntaxKind>;
Expand description

Ruby 令牌

Aliased Type§

pub struct RubyToken {
    pub kind: RubySyntaxKind,
    pub span: Range<usize>,
}

Fields§

§kind: RubySyntaxKind

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