载入中...
搜索中...
未找到
eve::dnut::DnutCompileOutput结构体 参考

Owning outcome of compiling one .dnut document. 更多...

#include <DnutCompiler.h>

Public 成员函数

bool hasErrors () const
 Return whether any collected diagnostic has error severity.
 

Public 属性

std::vector< SequenceAsset > assets
 
std::vector< DnutDiagnostic > diagnostics
 

详细描述

Owning outcome of compiling one .dnut document.

Compilation is total: it reports every recoverable problem through diagnostics instead of stopping at the first one, so a tool or editor can present the whole list. Call hasErrors before publishing assets.

在文件 DnutCompiler.h 第 24 行定义.

成员函数说明

◆ hasErrors()

bool eve::dnut::DnutCompileOutput::hasErrors ( ) const

Return whether any collected diagnostic has error severity.

在文件 DnutCompiler.cpp 第 13 行定义.

引用了 diagnostics , 以及 eve::dnut::hasErrors().

类成员变量说明

◆ assets

std::vector<SequenceAsset> eve::dnut::DnutCompileOutput::assets

在文件 DnutCompiler.h 第 25 行定义.

◆ diagnostics

std::vector<DnutDiagnostic> eve::dnut::DnutCompileOutput::diagnostics

在文件 DnutCompiler.h 第 26 行定义.

被这些函数引用 hasErrors() , 以及 eve::dialogue::parseDnutDocument().


该结构体的文档由以下文件生成: