diff options
| author | Juan Linietsky | 2017-01-04 17:37:45 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-04 17:37:45 -0300 |
| commit | 9e477babb3bf0ce5179395c2a5155a3f3cd36798 (patch) | |
| tree | 5246a7c0bc09580f60ea17b694aacc9cd8da8731 /modules/gdscript/gd_compiler.h | |
| parent | 76c2e8583e70e8c976a306e77a40e8e7226aa249 (diff) | |
| download | godot-9e477babb3bf0ce5179395c2a5155a3f3cd36798.tar.gz godot-9e477babb3bf0ce5179395c2a5155a3f3cd36798.tar.zst godot-9e477babb3bf0ce5179395c2a5155a3f3cd36798.zip | |
Diffstat (limited to 'modules/gdscript/gd_compiler.h')
| -rw-r--r-- | modules/gdscript/gd_compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gdscript/gd_compiler.h b/modules/gdscript/gd_compiler.h index eefd6de3e..dd211a852 100644 --- a/modules/gdscript/gd_compiler.h +++ b/modules/gdscript/gd_compiler.h @@ -37,6 +37,7 @@ class GDCompiler { const GDParser *parser; struct CodeGen { + GDScript *script; const GDParser::ClassNode *class_node; const GDParser::FunctionNode *function_node; @@ -134,6 +135,9 @@ class GDCompiler { Ref<GDScript> _parse_class(GDParser::ClassNode *p_class); #endif + bool _is_class_member_property(CodeGen & codegen, const StringName & p_name); + bool _is_class_member_property(GDScript *owner, const StringName & p_name); + void _set_error(const String& p_error,const GDParser::Node *p_node); bool _create_unary_operator(CodeGen& codegen,const GDParser::OperatorNode *on,Variant::Operator op, int p_stack_level); |
