Implement structs for each state in the lexer. The State objects are responsible for determining how to handle a character and emit a Result indicating to the driver (the Lexer struct) how to proceed. |
||
|---|---|---|
| .. | ||
| states | ||
| chars.rs | ||
| error.rs | ||
| lib.rs | ||
| main.rs | ||
| token.rs | ||