summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/editor/gdscript_docgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/editor/gdscript_docgen.h')
-rw-r--r--modules/gdscript/editor/gdscript_docgen.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gdscript/editor/gdscript_docgen.h b/modules/gdscript/editor/gdscript_docgen.h
index a326c02c5f..651a4fb198 100644
--- a/modules/gdscript/editor/gdscript_docgen.h
+++ b/modules/gdscript/editor/gdscript_docgen.h
@@ -39,10 +39,13 @@ class GDScriptDocGen {
using GDP = GDScriptParser;
using GDType = GDP::DataType;
- static String _get_script_path(const String &p_path);
+ static HashMap<String, String> singletons; // Script path to singleton name.
+
+ static String _get_script_name(const String &p_path);
static String _get_class_name(const GDP::ClassNode &p_class);
static void _doctype_from_gdtype(const GDType &p_gdtype, String &r_type, String &r_enum, bool p_is_return = false);
static String _docvalue_from_variant(const Variant &p_variant, int p_recursion_level = 1);
+ static void _generate_docs(GDScript *p_script, const GDP::ClassNode *p_class);
public:
static void generate_docs(GDScript *p_script, const GDP::ClassNode *p_class);