Definition of diagnostic message
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(toml_label), | public, | allocatable | :: | label(:) |
Messages associated with this diagnostic |
||
| integer, | public | :: | level |
Level of message |
|||
| character(len=:), | public, | allocatable | :: | message |
Primary message |
||
| character(len=:), | public, | allocatable | :: | source |
Context of the diagnostic source |
Create new diagnostic message
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | level |
Level of message |
||
| character(len=*), | intent(in), | optional | :: | message |
Primary message |
|
| character(len=*), | intent(in), | optional | :: | source |
Context of the diagnostic source |
|
| type(toml_label), | intent(in), | optional | :: | label(:) |
Messages associated with this diagnostic |
type :: toml_diagnostic !> Level of message integer :: level !> Primary message character(len=:), allocatable :: message !> Context of the diagnostic source character(len=:), allocatable :: source !> Messages associated with this diagnostic type(toml_label), allocatable :: label(:) end type toml_diagnostic