Struct tonic_parser::Token [−][src]
Expand description
Stores information regarding a token.
The Token
type holds information about the type of a token (TokenType
), as well as it’s line
and span
(start and end column) in the source code.
Fields
kind: TokenKind
line: usize
span: Span
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Token
impl UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more