Lexer for dCBOR diagnostic notation.
Corresponds to the Rust logos::Lexer used in parse.rs
logos::Lexer
Gets the current span (position range of the last token).
Gets the slice of source corresponding to the last token.
Gets the next token, or undefined if at end of input. Returns a Result to handle lexing errors.
Lexer for dCBOR diagnostic notation.
Corresponds to the Rust
logos::Lexerused in parse.rs