Source location and content snapshot for precise diagnostics Instances of this type are created for every source file (including nested include files) and passed along with every warning, error, note, or info message to provide accurate line numbers, file names, and code snippets.
Initializes a new instance of the context class
type(context) function context(character(*) content, integer line, character(*) path)
| [in] | content | The actual line of source code where the issue occurred |
| [in] | line | 1-based line number in the current file |
| [in] | path | Full absolute or relative path to the file |
Definition at line 99 of file context.f90.