Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

最近の作業部屋活動履歴

2023-12-31
2023-12-03
2023-11-11
2023-11-05
2023-11-02
2023-07-13
2023-04-06

最近のWikiの更新 (Recent Changes)

2023-03-26
2023-03-19
2023-03-14
2023-03-11

Wikiガイド(Guide)

サイドバー (Side Bar)

CNI API

It's recommended to read the Info page for a brief overview of CNI before using this module.

struct CniOptions

This structure is used to configure how fromString show treat the input text.

bool moreKeys

If this extension is used, keys may be composed of any characters which are not: whitespace, '#', '=', '[', ']', or '`'.

The meaning and restrictions of dots remain unchanged.

bool iniCompatibility

If this extension is used, comments may also begin with a semi-colon (':').

struct CniParser

The CniParser is where all of the parsing takes place. You can configure the parsing by changing the values on CniOptions.

fromString(string text, CniOptions options = CniOptions.init)

Parses CNI-formatted text and returns the resulting associative array (of type string[string]).

You can customise which extensions are used by setting the appropriate values on CniOptions.

If there are any errors when parsing, then a standard Exception is thrown.