Module parser

Module parser 

Source
Expand description

Parser for alpm-db-desc files.

Enumsยง

Section
A single logical section from a database desc file.
SectionKeyword
A known section name in an alpm-db-desc file.

Functionsยง

newlines ๐Ÿ”’
One or multiple newlines.
opt_value ๐Ÿ”’
Parses a single optional value from the input.
section ๐Ÿ”’
Parses a single %SECTION% block and returns a Section variant.
sections ๐Ÿ”’
Parses all %SECTION% blocks from the given input into a list of Sections.
value ๐Ÿ”’
Parses a single value from the input.
values ๐Ÿ”’
Parses a list of values from the input.