Configuration for merging data structures
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | array | = | merge_policy%preserve |
Policy for merging arrays |
|
integer, | public | :: | keyval | = | merge_policy%preserve |
Policy for merging values |
|
integer, | public | :: | table | = | merge_policy%append |
Policy for merging tables |
Constructor for merge configuration
Create a new merge configuration
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in), | optional | :: | table |
Policy for merging tables |
|
character(len=*), | intent(in), | optional | :: | array |
Policy for merging arrays |
|
character(len=*), | intent(in), | optional | :: | keyval |
Policy for merging values |
Merge policy
type :: toml_merge_config !> Policy for merging tables integer :: table = merge_policy%append !> Policy for merging arrays integer :: array = merge_policy%preserve !> Policy for merging values integer :: keyval = merge_policy%preserve end type toml_merge_config