fn handle_simple_token(
state: &mut LexerState<'_>,
token_type: Tokentype,
lexeme: &str,
start_pos: usize,
)
Expand description
Handles simple one-character tokens
ยงArguments
state
- The current lexer statetoken_type
- The type of token to addlexeme
- The string representation of the tokenstart_pos
- The starting position of the token in the input