Add ability to flag classes as experimental or deprecated.

This commit is contained in:
SaracenOne
2022-08-28 07:17:25 +01:00
parent c658fa8b77
commit cc4bda8500
7 changed files with 221 additions and 14 deletions

View File

@ -66,6 +66,8 @@ public:
String return_enum;
String qualifiers;
String description;
bool is_deprecated = false;
bool is_experimental = false;
Vector<ArgumentDoc> arguments;
Vector<int> errors_returned;
bool operator<(const MethodDoc &p_method) const {
@ -105,6 +107,8 @@ public:
String enumeration;
bool is_bitfield = false;
String description;
bool is_deprecated = false;
bool is_experimental = false;
bool operator<(const ConstantDoc &p_const) const {
return name < p_const.name;
}
@ -126,6 +130,8 @@ public:
String default_value;
bool overridden = false;
String overrides;
bool is_deprecated = false;
bool is_experimental = false;
bool operator<(const PropertyDoc &p_prop) const {
return name < p_prop.name;
}
@ -167,6 +173,8 @@ public:
Vector<PropertyDoc> properties;
Vector<MethodDoc> annotations;
Vector<ThemeItemDoc> theme_properties;
bool is_deprecated = false;
bool is_experimental = false;
bool is_script_doc = false;
String script_path;
bool operator<(const ClassDoc &p_class) const {