Notifications for INI parsing.
interface ref IniNotify
This is called for every valid entry in the INI file. If key/value pairs occur before a section name, the section can be an empty string. Return false to halt processing.
fun ref apply( section: String val, key: String val, value: String val) : Bool val
This is called for every valid section in the INI file. Return false to halt processing.
fun ref add_section( section: String val) : Bool val
This is called for each error encountered. Return false to halt processing.
fun ref errors( line: USize val, err: (IniIncompleteSection val | IniNoDelimiter val)) : Bool val
© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/ini-IniNotify