Module grub_menuconfig

Module grub_menuconfig 

Source
Expand description

Parser for GRUB menuentry configuration files using nom combinators.

StructsΒ§

MenuEntry πŸ”’
A complete GRUB menuentry with title and body commands.
MenuentryBody πŸ”’
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.