Result of code generation operation. More...
#include <code_gen_tool.h>
Public Member Functions | |
| void | AddInfo (const std::string &message, uint32_t address=0) |
| void | AddWarning (const std::string &message, uint32_t address=0) |
| void | AddError (const std::string &message, uint32_t address=0) |
Public Attributes | |
| bool | success |
| std::string | generated_code |
| std::vector< CodeGenerationDiagnostic > | diagnostics |
| std::map< std::string, uint32_t > | symbols |
Result of code generation operation.
Definition at line 77 of file code_gen_tool.h.
|
inline |
Definition at line 83 of file code_gen_tool.h.
References diagnostics, and yaze::cli::agent::tools::CodeGenerationDiagnostic::kInfo.
|
inline |
Definition at line 87 of file code_gen_tool.h.
References diagnostics, and yaze::cli::agent::tools::CodeGenerationDiagnostic::kWarning.
|
inline |
Definition at line 91 of file code_gen_tool.h.
References diagnostics, yaze::cli::agent::tools::CodeGenerationDiagnostic::kError, and success.
| bool yaze::cli::agent::tools::CodeGenerationResult::success |
Definition at line 78 of file code_gen_tool.h.
Referenced by AddError().
| std::string yaze::cli::agent::tools::CodeGenerationResult::generated_code |
Definition at line 79 of file code_gen_tool.h.
| std::vector<CodeGenerationDiagnostic> yaze::cli::agent::tools::CodeGenerationResult::diagnostics |
Definition at line 80 of file code_gen_tool.h.
Referenced by AddError(), AddInfo(), and AddWarning().
| std::map<std::string, uint32_t> yaze::cli::agent::tools::CodeGenerationResult::symbols |
Definition at line 81 of file code_gen_tool.h.