mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #111289 from HolonProduction/rm-has-named-classes
Move deprecated `has_named_classes` from `ScriptLanguage` to `ScriptLanguageExtension`
This commit is contained in:
commit
e20acd3fe3
5 changed files with 2 additions and 11 deletions
|
|
@ -608,9 +608,6 @@ public:
|
|||
virtual Vector<ScriptTemplate> get_built_in_templates(const StringName &p_object) override;
|
||||
virtual bool validate(const String &p_script, const String &p_path = "", List<String> *r_functions = nullptr, List<ScriptLanguage::ScriptError> *r_errors = nullptr, List<ScriptLanguage::Warning> *r_warnings = nullptr, HashSet<int> *r_safe_lines = nullptr) const override;
|
||||
virtual Script *create_script() const override;
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
virtual bool has_named_classes() const override { return false; }
|
||||
#endif
|
||||
virtual bool supports_builtin_mode() const override;
|
||||
virtual bool supports_documentation() const override;
|
||||
virtual bool can_inherit_from_file() const override { return true; }
|
||||
|
|
|
|||
|
|
@ -514,9 +514,6 @@ public:
|
|||
}
|
||||
String validate_path(const String &p_path) const override;
|
||||
Script *create_script() const override;
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
virtual bool has_named_classes() const override { return false; }
|
||||
#endif
|
||||
bool supports_builtin_mode() const override;
|
||||
/* TODO? */ int find_function(const String &p_function, const String &p_code) const override {
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue