nixd
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
nixf::PartialDiagnostic Class Referenceabstract

#include <Diagnostic.h>

Inheritance diagram for nixf::PartialDiagnostic:
[legend]

Public Member Functions

virtual const char * message () const =0
 
virtual ~PartialDiagnostic ()=default
 
PartialDiagnosticoperator<< (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
 

Protected Member Functions

 PartialDiagnostic ()=default
 
 PartialDiagnostic (LexerCursorRange Range)
 

Detailed Description

Definition at line 79 of file Diagnostic.h.

Constructor & Destructor Documentation

◆ ~PartialDiagnostic()

virtual nixf::PartialDiagnostic::~PartialDiagnostic ( )
virtualdefault

◆ PartialDiagnostic() [1/2]

nixf::PartialDiagnostic::PartialDiagnostic ( )
protecteddefault

◆ PartialDiagnostic() [2/2]

nixf::PartialDiagnostic::PartialDiagnostic ( LexerCursorRange Range)
inlineprotected

Definition at line 105 of file Diagnostic.h.

Member Function Documentation

◆ args() [1/2]

std::vector< std::string > & nixf::PartialDiagnostic::args ( )
inline

Definition at line 94 of file Diagnostic.h.

◆ args() [2/2]

const std::vector< std::string > & nixf::PartialDiagnostic::args ( ) const
inline

Definition at line 92 of file Diagnostic.h.

Referenced by nixf::Note::operator<<().

◆ format()

std::string PartialDiagnostic::format ( ) const

Definition at line 51 of file Diagnostic.cpp.

References message().

◆ message()

virtual const char * nixf::PartialDiagnostic::message ( ) const
pure virtual

Implemented in nixf::Note, and nixf::Diagnostic.

Referenced by format().

◆ operator<<()

PartialDiagnostic & nixf::PartialDiagnostic::operator<< ( std::string Var)
inline

Definition at line 85 of file Diagnostic.h.

◆ range()

LexerCursorRange nixf::PartialDiagnostic::range ( ) const
inline

Definition at line 100 of file Diagnostic.h.

◆ tag()

void nixf::PartialDiagnostic::tag ( DiagnosticTag Tag)
inline

◆ tags()

const std::vector< DiagnosticTag > & nixf::PartialDiagnostic::tags ( ) const
inline

Definition at line 98 of file Diagnostic.h.


The documentation for this class was generated from the following files: