feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GDSCRIPT_PARSER_H
|
||||
#define GDSCRIPT_PARSER_H
|
||||
#pragma once
|
||||
|
||||
#include "gdscript_cache.h"
|
||||
#include "gdscript_tokenizer.h"
|
||||
|
|
@ -1311,6 +1310,11 @@ public:
|
|||
COMPLETION_TYPE_NAME_OR_VOID, // Same as TYPE_NAME, but allows void (in function return type).
|
||||
};
|
||||
|
||||
struct CompletionCall {
|
||||
Node *call = nullptr;
|
||||
int argument = -1;
|
||||
};
|
||||
|
||||
struct CompletionContext {
|
||||
CompletionType type = COMPLETION_NONE;
|
||||
ClassNode *current_class = nullptr;
|
||||
|
|
@ -1322,11 +1326,7 @@ public:
|
|||
Node *node = nullptr;
|
||||
Object *base = nullptr;
|
||||
GDScriptParser *parser = nullptr;
|
||||
};
|
||||
|
||||
struct CompletionCall {
|
||||
Node *call = nullptr;
|
||||
int argument = -1;
|
||||
CompletionCall call;
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
@ -1373,9 +1373,7 @@ private:
|
|||
SuiteNode *current_suite = nullptr;
|
||||
|
||||
CompletionContext completion_context;
|
||||
CompletionCall completion_call;
|
||||
List<CompletionCall> completion_call_stack;
|
||||
bool passed_cursor = false;
|
||||
bool in_lambda = false;
|
||||
bool lambda_ended = false; // Marker for when a lambda ends, to apply an end of statement if needed.
|
||||
|
||||
|
|
@ -1587,7 +1585,6 @@ public:
|
|||
static Variant::Type get_builtin_type(const StringName &p_type); // Excluding `Variant::NIL` and `Variant::OBJECT`.
|
||||
|
||||
CompletionContext get_completion_context() const { return completion_context; }
|
||||
CompletionCall get_completion_call() const { return completion_call; }
|
||||
void get_annotation_list(List<MethodInfo> *r_annotations) const;
|
||||
bool annotation_exists(const String &p_annotation_name) const;
|
||||
|
||||
|
|
@ -1667,5 +1664,3 @@ public:
|
|||
#endif // DEBUG_ENABLED
|
||||
static void cleanup();
|
||||
};
|
||||
|
||||
#endif // GDSCRIPT_PARSER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue