mirage.keyvalue

Utilities for loading generic configuration files consisting of key/value pairs.

Members

Aliases

NormalizeQuotedValues
alias NormalizeQuotedValues = Flag!"NormalizeQuotedValues"
Undocumented in source.
SupportColonSeparator
alias SupportColonSeparator = Flag!"SupportColonSeparator"
Undocumented in source.
SupportEqualsSeparator
alias SupportEqualsSeparator = Flag!"SupportEqualsSeparator"
Undocumented in source.
SupportExclamationComments
alias SupportExclamationComments = Flag!"SupportExclamationComments"
Undocumented in source.
SupportHashtagComments
alias SupportHashtagComments = Flag!"SupportHashtagComments"
Undocumented in source.
SupportKeysWithoutValues
alias SupportKeysWithoutValues = Flag!"SupportKeysWithoutValues"
Undocumented in source.
SupportMultilineValues
alias SupportMultilineValues = Flag!"SupportMultilineValues"
Undocumented in source.
SupportSections
alias SupportSections = Flag!"SupportSections"
Undocumented in source.
SupportSemicolonComments
alias SupportSemicolonComments = Flag!"SupportSemicolonComments"
Undocumented in source.

Classes

KeyValueConfigFactory
class KeyValueConfigFactory(SupportHashtagComments supportHashtagComments = SupportHashtagComments.no, SupportSemicolonComments supportSemicolonComments = SupportSemicolonComments.no, SupportExclamationComments supportExclamationComments = SupportExclamationComments.no, SupportSections supportSections = SupportSections.no, NormalizeQuotedValues normalizeQuotedValues = NormalizeQuotedValues.no, SupportEqualsSeparator supportEqualsSeparator = SupportEqualsSeparator.no, SupportColonSeparator supportColonSeparator = SupportColonSeparator.no, SupportKeysWithoutValues supportKeysWithoutValues = SupportKeysWithoutValues.no, SupportMultilineValues supportMultilineValues = SupportMultilineValues.no)

A generic reusable key/value config factory that can be configured to parse the specifics of certain key/value formats.

TestKeyValueConfigFactory
class TestKeyValueConfigFactory
Undocumented in source.

Meta

Authors

Mike Bierlee, m.bierlee@lostmoment.com

License

This software is licensed under the terms of the MIT license. The full terms of the license can be found in the LICENSE file.