Struct rslint_parser::Token [−][src]
pub struct Token {
pub kind: SyntaxKind,
pub range: Range<usize>,
pub len: TextSize,
}
Expand description
Abstracted token for TokenSource
Fields
kind: SyntaxKind
What kind of token it is
range: Range<usize>
The range (in byte indices) of the token
len: TextSize
How long the token is
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Token
impl UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more
Whether this implementor has acknowledged the 1.1.0 update to
unerase
’s documented implementation requirements. Read more