hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
Diagnostic Struct Reference

#include <diagnostic.h>

Collaboration diagram for Diagnostic:

Public Member Functions

 Diagnostic ()=default
 
 Diagnostic (yoi::wstr file, yoi::indexT line, yoi::indexT col, std::string msg, DiagnosticSeverity sev=DiagnosticSeverity::Error, DiagnosticCategory cat=DiagnosticCategory::Generic)
 

Public Attributes

yoi::wstr sourceFile
 
yoi::indexT line
 
yoi::indexT column
 
std::string message
 
DiagnosticSeverity severity
 
DiagnosticCategory category
 

Detailed Description

Definition at line 32 of file diagnostic.h.

Constructor & Destructor Documentation

◆ Diagnostic() [1/2]

Diagnostic ( )
default

◆ Diagnostic() [2/2]

Definition at line 42 of file diagnostic.h.

Member Data Documentation

◆ category

Definition at line 38 of file diagnostic.h.

◆ column

yoi::indexT column

Definition at line 35 of file diagnostic.h.

Referenced by DiagnosticEngine::report().

◆ line

Definition at line 34 of file diagnostic.h.

Referenced by DiagnosticEngine::report().

◆ message

std::string message

Definition at line 36 of file diagnostic.h.

Referenced by DiagnosticEngine::report().

◆ severity

Definition at line 37 of file diagnostic.h.

Referenced by DiagnosticEngine::report().

◆ sourceFile

yoi::wstr sourceFile

Definition at line 33 of file diagnostic.h.

Referenced by DiagnosticEngine::report().


The documentation for this struct was generated from the following file: