mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Improve and fix GDScript documentation generation & behavior
Removes documentation generation (docgen) from the GDScript compiler to its own file. Adds support for GDScript enums and signal parameters and quite a few other assorted fixes and improvements.
This commit is contained in:
parent
6f1a52b017
commit
6783ff69c0
11 changed files with 431 additions and 347 deletions
|
@ -1480,7 +1480,7 @@ private:
|
|||
#ifdef TOOLS_ENABLED
|
||||
// Doc comments.
|
||||
int class_doc_line = 0x7FFFFFFF;
|
||||
bool has_comment(int p_line);
|
||||
bool has_comment(int p_line, bool p_must_be_doc = false);
|
||||
String get_doc_comment(int p_line, bool p_single_line = false);
|
||||
void get_class_doc_comment(int p_line, String &p_brief, String &p_desc, Vector<Pair<String, String>> &p_tutorials, bool p_inner_class);
|
||||
#endif // TOOLS_ENABLED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue