Module mirage.config
Base utilities for working with configurations.
Interfaces
Name | Description |
ConfigNode
|
The configuration tree is made up of specific types of ConfigNodes.
Used as generic type for ConfigFactory and ConfigDictionary.
|
Classes
Name | Description |
ArrayNode
|
A configuration item that is an array.
|
ConfigCreationException
|
Used by ConfigFactory instances when loading or parsing configuration fails.
|
ConfigDictionary
|
A ConfigDictionary contains the configuration tree and facilities to get values from that tree.
|
ConfigFactory
|
The base class used by configuration factories for specific file types.
|
ConfigPathNotFoundException
|
Used by ConfigDictionary when the supplied path does not exist.
|
ConfigReadException
|
Used by the ConfigDictionary when something goes wrong when reading configuration.
|
ObjectNode
|
A configuration item that is an object.
|
PathParseException
|
Used by ConfigDictionary when there is something wrong with the path when calling ConfigDictionary.get()
|
ValueNode
|
A configuration item that is any sort of primitive value (strings, numbers or null).
|
Aliases
Name | Type | Description |
SubstituteConfigVariables
|
std.typecons.Flag!("SubstituteConfigVariables")
|
Used in a ConfigDictionary to enable to disable config path substitution.
|
SubstituteEnvironmentVariables
|
std.typecons.Flag!("SubstituteEnvironmentVariables")
|
Used in a ConfigDictionary to enable to disable environment variable substitution.
|