You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Add abstract methods
Co-authored-by: ryanabx <ryanbrue@hotmail.com>
This commit is contained in:
@@ -853,6 +853,7 @@ public:
|
||||
HashMap<StringName, int> parameters_indices;
|
||||
TypeNode *return_type = nullptr;
|
||||
SuiteNode *body = nullptr;
|
||||
bool is_abstract = false;
|
||||
bool is_static = false; // For lambdas it's determined in the analyzer.
|
||||
bool is_coroutine = false;
|
||||
Variant rpc_config;
|
||||
@@ -1502,7 +1503,7 @@ private:
|
||||
ClassNode *parse_class(bool p_is_abstract, bool p_is_static);
|
||||
void parse_class_name();
|
||||
void parse_extends();
|
||||
void parse_class_body(bool p_is_abstract, bool p_is_multiline);
|
||||
void parse_class_body(bool p_first_is_abstract, bool p_is_multiline);
|
||||
template <typename T>
|
||||
void parse_class_member(T *(GDScriptParser::*p_parse_function)(bool, bool), AnnotationInfo::TargetKind p_target, const String &p_member_kind, bool p_is_abstract = false, bool p_is_static = false);
|
||||
SignalNode *parse_signal(bool p_is_abstract, bool p_is_static);
|
||||
|
||||
Reference in New Issue
Block a user