Configuration data for Fortran
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | public | :: | implicit_external | = | .false. |
Enable implicit external interfaces |
|
| logical, | public | :: | implicit_typing | = | .false. |
Enable default implicit typing |
|
| character(len=:), | public, | allocatable | :: | source_form |
Form to use for all Fortran sources |
| generic, public :: dump => dump_to_toml, dump_to_file, dump_to_unit | |
| procedure, public :: dump_to_toml | |
| generic, public :: load => load_from_toml, load_from_file, load_from_unit | |
| procedure, public :: load_from_toml | |
| generic, public :: operator(==) => serializable_is_same | |
| procedure, public :: serializable_is_same => fortran_is_same | Serialization interface |
| procedure, public, non_overridable :: test_serialization | Test load/write roundtrip |
Initialize fortran config
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(fortran_config_t), | intent(inout) | :: | self |
Construct a new build configuration from a TOML data structure
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(fortran_config_t), | intent(out) | :: | self |
Instance of the fortran configuration |
||
| type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |