yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
oracle_menu_registry.cc File Reference
#include "core/oracle_menu_registry.h"
#include <algorithm>
#include <cctype>
#include <fstream>
#include <map>
#include <regex>
#include <set>
#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
#include "absl/status/status.h"
#include "absl/strings/ascii.h"
#include "absl/strings/str_format.h"
#include "absl/strings/strip.h"
#include "util/macro.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::core
 
namespace  yaze::core::anonymous_namespace{oracle_menu_registry.cc}
 

Functions

std::string yaze::core::anonymous_namespace{oracle_menu_registry.cc}::NormalizePathString (const std::filesystem::path &path)
 
std::string yaze::core::anonymous_namespace{oracle_menu_registry.cc}::RelativePathString (const std::filesystem::path &base, const std::filesystem::path &path)
 
std::string yaze::core::anonymous_namespace{oracle_menu_registry.cc}::Lowercase (std::string text)
 
bool yaze::core::anonymous_namespace{oracle_menu_registry.cc}::IsPathWithinRoot (const std::filesystem::path &root, const std::filesystem::path &candidate)
 
bool yaze::core::anonymous_namespace{oracle_menu_registry.cc}::ContainsDrawToken (const std::string &value)
 
bool yaze::core::anonymous_namespace{oracle_menu_registry.cc}::ParseGlobalLabel (const std::string &line, std::string *label_out)
 
bool yaze::core::anonymous_namespace{oracle_menu_registry.cc}::ParseLocalLabel (const std::string &line, std::string *label_out)
 
bool yaze::core::anonymous_namespace{oracle_menu_registry.cc}::ParseIncbinLine (const std::string &line, std::string *inline_label_out, std::string *bin_path_out)
 
bool yaze::core::anonymous_namespace{oracle_menu_registry.cc}::ParseMenuOffsetLine (const std::string &line, int *row_out, int *col_out, std::string *note_out)
 
bool yaze::core::anonymous_namespace{oracle_menu_registry.cc}::ParseDrawReference (const std::string &line, std::string *target_out)
 
absl::StatusOr< std::vector< std::string > > yaze::core::anonymous_namespace{oracle_menu_registry.cc}::ReadLines (const std::filesystem::path &path, std::string *newline_out, bool *trailing_newline_out)
 
absl::Status yaze::core::anonymous_namespace{oracle_menu_registry.cc}::WriteLines (const std::filesystem::path &path, const std::vector< std::string > &lines, absl::string_view newline, bool trailing_newline)
 
void yaze::core::anonymous_namespace{oracle_menu_registry.cc}::AddValidationIssue (OracleMenuValidationReport *report, OracleMenuValidationSeverity severity, absl::string_view code, const std::string &message, const std::string &asm_path=std::string(), int line=0)
 
absl::StatusOr< std::filesystem::path > yaze::core::ResolveOracleProjectRoot (const std::filesystem::path &start_path)
 
absl::StatusOr< OracleMenuRegistryyaze::core::BuildOracleMenuRegistry (const std::filesystem::path &project_root)
 
OracleMenuValidationReport yaze::core::ValidateOracleMenuRegistry (const OracleMenuRegistry &registry, int max_row, int max_col)
 
absl::StatusOr< OracleMenuComponentEditResultyaze::core::SetOracleMenuComponentOffset (const std::filesystem::path &project_root, const std::string &asm_relative_path, const std::string &table_label, int index, int row, int col, bool write_changes)