Crate spade_parser

Source

Re-exports§

pub use logos;

Modules§

error
expression 🔒
item_type
items 🔒
lexer
statements 🔒

Macros§

peek_for
Peek the next token. If it matches the specified token, get that token otherwise return Ok(none)

Structs§

MappingParser 🔒
Parser
ThenParser 🔒
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 of T, which is intentional as that could easily change the grammar from LL(1)
Token
A token with location info

Enums§

ParseStackEntry
RecoveryResult

Traits§

KeywordPeekingParser 🔒
OptionExt 🔒
SizedKeywordPeekingParser 🔒

Functions§

format_parse_stack