载入中...
搜索中...
未找到
DnutDiagnostic.h
浏览该文件的文档.
43[[nodiscard]] EVENGINE_API_PLATFORM bool hasErrors(const std::vector<DnutDiagnostic>& diagnostics);
Definition ConversationDialect.cpp:13
EVENGINE_API_PLATFORM bool hasErrors(const std::vector< DnutDiagnostic > &diagnostics)
Return whether any diagnostic is an error.
Definition DnutLexer.cpp:233
@ Warning
One structured diagnostic anchored to a .dnut source location.
Definition DnutDiagnostic.h:22
std::string message
Human-readable explanation; never used for program decisions.
Definition DnutDiagnostic.h:31
std::string path
Source path supplied by the caller; never invented by the frontend.
Definition DnutDiagnostic.h:25
int line
One-based source line, or zero for a document-level diagnostic.
Definition DnutDiagnostic.h:27
bool operator==(const DnutDiagnostic &) const =default
Operator ==.