Spec-Zone.ru › Pony

IniNotify

[Source]

Notifications for INI parsing.

interface ref IniNotify

Public Functions

apply

[Source]

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

Parameters

  • section: String val
  • key: String val
  • value: String val

Returns

  • Bool val

add_section

[Source]

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

Parameters

  • section: String val

Returns

  • Bool val

errors

[Source]

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

Parameters

  • line: USize val
  • err: (IniIncompleteSection val | IniNoDelimiter val)

Returns

  • Bool val

© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/ini-IniNotify

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API