You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Parse C# script namespace and class
- Added a very simple parser that can extract the namespace and class name of a C# script.
This commit is contained in:
@@ -275,6 +275,8 @@ class CSharpLanguage : public ScriptLanguage {
|
||||
|
||||
int lang_idx;
|
||||
|
||||
Dictionary scripts_metadata;
|
||||
|
||||
public:
|
||||
StringNameCache string_names;
|
||||
|
||||
@@ -295,6 +297,10 @@ public:
|
||||
void reload_assemblies_if_needed(bool p_soft_reload);
|
||||
#endif
|
||||
|
||||
void project_assembly_loaded();
|
||||
|
||||
_FORCE_INLINE_ const Dictionary &get_scripts_metadata() { return scripts_metadata; }
|
||||
|
||||
virtual String get_name() const;
|
||||
|
||||
/* LANGUAGE FUNCTIONS */
|
||||
|
||||
Reference in New Issue
Block a user