Re-exports§
pub use logos;
Modules§
Macros§
- peek_
for - Peek the next token. If it matches the specified token, get that token otherwise return Ok(none)
Structs§
- Mapping
Parser 🔒 - Parser
- Then
Parser 🔒 - Allows running parsing tasks after successfully running an inner parser. Used
for example to require
;
after some statements with a helpful error message to point out where the;
is missing. This cannot be used to change the type ofT
, which is intentional as that could easily change the grammar from LL(1) - Token
- A token with location info