#include "doc_tools.h"
#include "core/config/engine.h"
#include "core/config/project_settings.h"
#include "core/core_constants.h"
#include "core/io/compression.h"
#include "core/io/dir_access.h"
#include "core/io/marshalls.h"
#include "core/io/resource_importer.h"
#include "core/object/script_language.h"
#include "core/string/translation_server.h"
#include "editor/editor_settings.h"
#include "editor/export/editor_export.h"
#include "scene/resources/theme.h"
#include "scene/theme/theme_db.h"
#include "modules/modules_enabled.gen.h"
static String _get_indent(const String &p_text) { … }
static String _translate_doc_string(const String &p_text) { … }
struct ConstructorCompare { … };
struct OperatorCompare { … };
struct MethodCompare { … };
static void merge_constructors(Vector<DocData::MethodDoc> &p_to, const Vector<DocData::MethodDoc> &p_from) { … }
static void merge_methods(Vector<DocData::MethodDoc> &p_to, const Vector<DocData::MethodDoc> &p_from) { … }
static void merge_constants(Vector<DocData::ConstantDoc> &p_to, const Vector<DocData::ConstantDoc> &p_from) { … }
static void merge_properties(Vector<DocData::PropertyDoc> &p_to, const Vector<DocData::PropertyDoc> &p_from) { … }
static void merge_theme_properties(Vector<DocData::ThemeItemDoc> &p_to, const Vector<DocData::ThemeItemDoc> &p_from) { … }
static void merge_operators(Vector<DocData::MethodDoc> &p_to, const Vector<DocData::MethodDoc> &p_from) { … }
void DocTools::merge_from(const DocTools &p_data) { … }
void DocTools::add_doc(const DocData::ClassDoc &p_class_doc) { … }
void DocTools::remove_doc(const String &p_class_name) { … }
bool DocTools::has_doc(const String &p_class_name) { … }
static Variant get_documentation_default_value(const StringName &p_class_name, const StringName &p_property_name, bool &r_default_value_valid) { … }
void DocTools::generate(BitField<GenerateFlags> p_flags) { … }
static Error _parse_methods(Ref<XMLParser> &parser, Vector<DocData::MethodDoc> &methods) { … }
Error DocTools::load_classes(const String &p_dir) { … }
Error DocTools::erase_classes(const String &p_dir) { … }
Error DocTools::_load(Ref<XMLParser> parser) { … }
static void _write_string(Ref<FileAccess> f, int p_tablevel, const String &p_string) { … }
static void _write_method_doc(Ref<FileAccess> f, const String &p_name, Vector<DocData::MethodDoc> &p_method_docs) { … }
Error DocTools::save_classes(const String &p_default_path, const HashMap<String, String> &p_class_path, bool p_use_relative_schema) { … }
Error DocTools::load_compressed(const uint8_t *p_data, int p_compressed_size, int p_uncompressed_size) { … }
Error DocTools::load_xml(const uint8_t *p_data, int p_size) { … }