51 explicit AnimCodeParser(gsl::not_null<const TextFormatter *> format, gsl::not_null<const UserDiagnostics *> diag)
52 : format_{format}, diag_{diag}
81 const std::filesystem::path &c_file_path,
82 const std::string &callback_func_name,
84 bool porytiles_managed)
const;
Parses C code to extract tileset animation parameters using callback chain discovery.
ChainableResult< std::map< DynamicCasedName, AnimParams > > parse_from_callback(const std::filesystem::path &c_file_path, const std::string &callback_func_name, const DynamicCasedName &tileset_cased_name, bool porytiles_managed) const
Parses animation parameters by following the callback chain.
AnimCodeParser(gsl::not_null< const TextFormatter * > format, gsl::not_null< const UserDiagnostics * > diag)
Constructs an AnimCodeParser with a text formatter for error messages.
A result type that maintains a chainable sequence of errors for debugging and error reporting.
A smart string wrapper that preserves word structure for lossless case format conversion.
Abstract base class for applying text styling with context-aware formatting.
Abstract class for structured error reporting and diagnostic output.