godot/scene/resources/resource_format_text.cpp

/**************************************************************************/
/*  resource_format_text.cpp                                              */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "resource_format_text.h"

#include "core/config/project_settings.h"
#include "core/io/dir_access.h"
#include "core/io/missing_resource.h"
#include "core/object/script_language.h"

///

void ResourceLoaderText::_printerr() {}

Ref<Resource> ResourceLoaderText::get_resource() {}

Error ResourceLoaderText::_parse_sub_resource_dummy(DummyReadData *p_data, VariantParser::Stream *p_stream, Ref<Resource> &r_res, int &line, String &r_err_str) {}

Error ResourceLoaderText::_parse_ext_resource_dummy(DummyReadData *p_data, VariantParser::Stream *p_stream, Ref<Resource> &r_res, int &line, String &r_err_str) {}

Error ResourceLoaderText::_parse_sub_resource(VariantParser::Stream *p_stream, Ref<Resource> &r_res, int &line, String &r_err_str) {}

Error ResourceLoaderText::_parse_ext_resource(VariantParser::Stream *p_stream, Ref<Resource> &r_res, int &line, String &r_err_str) {}

Ref<PackedScene> ResourceLoaderText::_parse_node_tag(VariantParser::ResourceParser &parser) {}

Error ResourceLoaderText::load() {}

int ResourceLoaderText::get_stage() const {}

int ResourceLoaderText::get_stage_count() const {}

void ResourceLoaderText::set_translation_remapped(bool p_remapped) {}

ResourceLoaderText::ResourceLoaderText() :{}

void ResourceLoaderText::get_dependencies(Ref<FileAccess> p_f, List<String> *p_dependencies, bool p_add_types) {}

Error ResourceLoaderText::rename_dependencies(Ref<FileAccess> p_f, const String &p_path, const HashMap<String, String> &p_map) {}

void ResourceLoaderText::open(Ref<FileAccess> p_f, bool p_skip_first_tag) {}

Error ResourceLoaderText::get_classes_used(HashSet<StringName> *r_classes) {}

String ResourceLoaderText::recognize_script_class(Ref<FileAccess> p_f) {}

String ResourceLoaderText::recognize(Ref<FileAccess> p_f) {}

ResourceUID::ID ResourceLoaderText::get_uid(Ref<FileAccess> p_f) {}

/////////////////////

Ref<Resource> ResourceFormatLoaderText::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_use_sub_threads, float *r_progress, CacheMode p_cache_mode) {}

void ResourceFormatLoaderText::get_recognized_extensions_for_type(const String &p_type, List<String> *p_extensions) const {}

void ResourceFormatLoaderText::get_recognized_extensions(List<String> *p_extensions) const {}

bool ResourceFormatLoaderText::handles_type(const String &p_type) const {}

void ResourceFormatLoaderText::get_classes_used(const String &p_path, HashSet<StringName> *r_classes) {}

String ResourceFormatLoaderText::get_resource_type(const String &p_path) const {}

String ResourceFormatLoaderText::get_resource_script_class(const String &p_path) const {}

ResourceUID::ID ResourceFormatLoaderText::get_resource_uid(const String &p_path) const {}

bool ResourceFormatLoaderText::has_custom_uid_support() const {}

void ResourceFormatLoaderText::get_dependencies(const String &p_path, List<String> *p_dependencies, bool p_add_types) {}

Error ResourceFormatLoaderText::rename_dependencies(const String &p_path, const HashMap<String, String> &p_map) {}

ResourceFormatLoaderText *ResourceFormatLoaderText::singleton =;

/*****************************************************************************************************/

String ResourceFormatSaverTextInstance::_write_resources(void *ud, const Ref<Resource> &p_resource) {}

String ResourceFormatSaverTextInstance::_write_resource(const Ref<Resource> &res) {}

void ResourceFormatSaverTextInstance::_find_resources(const Variant &p_variant, bool p_main) {}

static String _resource_get_class(Ref<Resource> p_resource) {}

Error ResourceFormatSaverTextInstance::save(const String &p_path, const Ref<Resource> &p_resource, uint32_t p_flags) {}

Error ResourceLoaderText::set_uid(Ref<FileAccess> p_f, ResourceUID::ID p_uid) {}

Error ResourceFormatSaverText::save(const Ref<Resource> &p_resource, const String &p_path, uint32_t p_flags) {}

Error ResourceFormatSaverText::set_uid(const String &p_path, ResourceUID::ID p_uid) {}

bool ResourceFormatSaverText::recognize(const Ref<Resource> &p_resource) const {}

void ResourceFormatSaverText::get_recognized_extensions(const Ref<Resource> &p_resource, List<String> *p_extensions) const {}

ResourceFormatSaverText *ResourceFormatSaverText::singleton =;
ResourceFormatSaverText::ResourceFormatSaverText() {}