Read compile_command_t from toml table (no checks made at this stage)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(compile_command_t), | intent(inout) | :: | self | Instance of the serializable object | ||
| type(toml_table), | intent(inout) | :: | table | Data structure | ||
| type(error_t), | intent(out), | allocatable | :: | error | Error handling | 
subroutine compile_command_load_toml(self, table, error) !> Instance of the serializable object class(compile_command_t), intent(inout) :: self !> Data structure type(toml_table), intent(inout) :: table !> Error handling type(error_t), allocatable, intent(out) :: error call self%destroy() call get_list(table, "arguments", self%arguments, error) if (allocated(error)) return ! Return unallocated value if not present call get_value(table, "directory", self%directory%s) call get_value(table, "file", self%file%s) end subroutine compile_command_load_toml