Expand description
A custom parser for INI-style file formats.
EnumsΒ§
- Item
- Representation of parsed items.
- Parsed
Line π - Representation of a parsed line.
ConstantsΒ§
FunctionsΒ§
- comment π
- Parse a comment (a line starting with
#
). - ini_
file - Parse the content of a whole ini file.
- key π
- Take all chars, until we hit a char that isnβt allowed in a key.
- key_
value π - Parse a single key value pair.
The delimiter includes two surrounding spaces, i.e.
=
. - line π
- Parse a single line consisting of a key value pair or a comment, followed by 0 or more newlines.
- lines π
- Parse multiple lines.
- newlines π
- One or multiple newlines. This also handles the case where there might be multiple lines with spaces.