nixd
|
#include <Diagnostic.h>
Public Types | |
enum | NoteKind { DIAG_NOTE , DIAG_NOTE } |
Internal kind. More... | |
Public Member Functions | |
Note (NoteKind Kind, LexerCursorRange Range) | |
template<class T > | |
PartialDiagnostic & | operator<< (const T &Var) |
virtual const char * | sname () const |
NoteKind | kind () const |
const char * | message () const override |
Public Member Functions inherited from nixf::PartialDiagnostic | |
virtual | ~PartialDiagnostic ()=default |
PartialDiagnostic & | operator<< (std::string Var) |
std::string | format () const |
const std::vector< std::string > & | args () const |
std::vector< std::string > & | args () |
void | tag (DiagnosticTag Tag) |
const std::vector< DiagnosticTag > & | tags () const |
LexerCursorRange | range () const |
Static Public Member Functions | |
static const char * | sname (NoteKind Kind) |
static const char * | message (NoteKind Kind) |
Additional Inherited Members | |
Protected Member Functions inherited from nixf::PartialDiagnostic | |
PartialDiagnostic ()=default | |
PartialDiagnostic (LexerCursorRange Range) | |
Definition at line 114 of file Diagnostic.h.
enum nixf::Note::NoteKind |
Internal kind.
Enumerator | |
---|---|
DIAG_NOTE | DiagnosticNodes.inc, note declarations. |
DIAG_NOTE | DiagnosticNodes.inc, note declarations. |
Definition at line 117 of file Diagnostic.h.
|
inline |
Definition at line 123 of file Diagnostic.h.
|
inlinenodiscard |
Definition at line 135 of file Diagnostic.h.
|
inlinenodiscardoverridevirtual |
Implements nixf::PartialDiagnostic.
Definition at line 139 of file Diagnostic.h.
References kind(), and message().
Referenced by message().
|
staticnodiscard |
DiagnosticNodes.inc, note declarations
Definition at line 39 of file Diagnostic.cpp.
|
inline |
Definition at line 126 of file Diagnostic.h.
References nixf::PartialDiagnostic::args().
|
inlinenodiscardvirtual |
|
staticnodiscard |
DiagnosticNodes.inc, note declarations
Definition at line 27 of file Diagnostic.cpp.