Struct ra_ap_parser::Token [−][src]
pub struct Token {
pub kind: SyntaxKind,
pub is_jointed_to_next: bool,
}
Expand description
Token
abstracts the cursor of TokenSource
operates on.
Fields
kind: SyntaxKind
What is the current token?
is_jointed_to_next: bool
Is the current token joined to the next one (> >
vs >>
).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Token
impl UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more