yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
z3dk_wrapper.cc File Reference
#include "core/z3dk_wrapper.h"
#include <algorithm>
#include <cstdint>
#include <filesystem>
#include <string>
#include <vector>
#include "absl/status/status.h"
#include "absl/strings/str_cat.h"
#include "util/json.h"

Go to the source code of this file.

Classes

struct  z3dk::Diagnostic
 
struct  z3dk::Label
 
struct  z3dk::Define
 
struct  z3dk::WrittenBlock
 
struct  z3dk::SourceFile
 
struct  z3dk::SourceMapEntry
 
struct  z3dk::SourceMap
 
struct  z3dk::AssembleOptions
 
struct  z3dk::AssembleResult
 
class  z3dk::Assembler
 
struct  z3dk::MemoryRange
 
struct  z3dk::Hook
 
struct  z3dk::LintOptions
 
struct  z3dk::LintResult
 

Namespaces

namespace  z3dk
 
namespace  yaze
 
namespace  yaze::core
 
namespace  yaze::core::anonymous_namespace{z3dk_wrapper.cc}
 

Enumerations

enum class  z3dk::DiagnosticSeverity { z3dk::kError , z3dk::kWarning }
 

Functions

LintResult z3dk::RunLint (const AssembleResult &result, const LintOptions &options)
 
std::string z3dk::DiagnosticsListToJson (const std::vector< Diagnostic > &diagnostics, bool success)
 
std::string z3dk::HooksToJson (const AssembleResult &result, const std::string &rom_path)
 
std::string z3dk::AnnotationsToJson (const AssembleResult &result)
 
std::string z3dk::SourceMapToJson (const SourceMap &map)
 
std::string z3dk::SymbolsToMlb (const std::vector< Label > &labels)
 
AssemblyDiagnosticSeverity yaze::core::anonymous_namespace{z3dk_wrapper.cc}::ConvertSeverity (z3dk::DiagnosticSeverity s)
 
AssemblyDiagnostic yaze::core::anonymous_namespace{z3dk_wrapper.cc}::ConvertDiagnostic (const z3dk::Diagnostic &d)
 
void yaze::core::anonymous_namespace{z3dk_wrapper.cc}::AppendStructuredDiagnostic (const AssemblyDiagnostic &diag, AsarPatchResult *out)
 
std::vector< AssemblyDiagnosticyaze::core::anonymous_namespace{z3dk_wrapper.cc}::BuildAnnotationNotes (const std::string &annotations_json)
 
z3dk::LintOptions yaze::core::anonymous_namespace{z3dk_wrapper.cc}::BuildLintOptions (const Z3dkAssembleOptions &options)
 
void yaze::core::anonymous_namespace{z3dk_wrapper.cc}::RebuildLegacyDiagnosticCaches (const AsarPatchResult &result, std::vector< std::string > *errors, std::vector< std::string > *warnings)
 
AsarPatchResult yaze::core::anonymous_namespace{z3dk_wrapper.cc}::ConvertResult (const z3dk::AssembleResult &src)
 

Variables

constexpr std::size_t yaze::core::anonymous_namespace{z3dk_wrapper.cc}::kMinLoromScratchBytes = 0x80000