#ifndef GDSCRIPT_PARSER_H #define GDSCRIPT_PARSER_H /* gdscript_parser.h */ #include "core/containers/rb_map.h" #include "core/object/object.h" #include "core/object/script_language.h" #include "gdscript_functions.h" #include "gdscript_tokenizer.h" struct GDScriptDataType; struct GDScriptWarning; class GDScriptParser { public: struct ClassNode; struct DataType { enum { BUILTIN, NATIVE, SCRIPT, GDSCRIPT, CLASS, UNRESOLVED } kind; bool has_type; bool is_constant; bool is_meta_type; // Whether the value can be used as a type bool infer_type; bool may_yield; // For function calls Variant::Type builtin_type; StringName native_type; Ref