StaticnewReturns the input string.
Returns the current position in the input.
Returns the remaining input.
Peeks at the current character without consuming it.
Peeks at the character at offset from current position.
Consumes and returns the current character.
Advances by n characters.
Skips whitespace characters.
Checks if the remainder starts with the given string.
Gets the next token.
Tokenizes the entire input and returns all tokens.
Returns the current span (position to position).
Returns the last token's span.
Lexer state for tokenizing dCBOR pattern expressions.