Skip to content

IniParse

[Source]

Parse INI-formatted lines into a nested map of sections to key/value pairs.

Duplicate keys in the same section overwrite previous values; the last occurrence wins. Repeated [section] headers are merged into the existing section.

primitive val IniParse

Constructors

create

[Source]

new val create()
: IniParse val^

Returns


Public Functions

apply

[Source]

Parse lines into an IniMap. Raises an error on the first malformed line.

fun box apply(
  lines: Iterator[String val] ref)
: IniMap ref^ ?

Parameters

Returns


eq

[Source]

fun box eq(
  that: IniParse val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: IniParse val)
: Bool val

Parameters

Returns