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: SyntaxKindWhat is the current token?
is_jointed_to_next: boolIs the current token joined to the next one (> > vs >>).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tokenimpl UnwindSafe for TokenBlanket Implementations
Mutably borrows from an owned value. Read more