Expand description
Parser for GRUB menuentry configuration files using nom combinators.
StructsΒ§
- Menu
Entry π - A complete GRUB menuentry with title and body commands.
- Menuentry
Body π - Body content of a GRUB menuentry containing parsed commands.
FunctionsΒ§
- parse_
all π - Parses all menuentries from a GRUB configuration file.
- parse_
grub_ πmenuentry_ file - Main entry point for parsing GRUB menuentry files.
- parse_
menuentry π - Parses a single menuentry with title and body commands.
- skip_
to_ πmenuentry - Skips content until finding βmenuentryβ keyword or end of input.
- take_
until_ πbalanced_ allow_ nested - Parser that takes content until balanced brackets, handling nested brackets and escapes.