godot/modules/gdscript
Pedro J. Estébanez ae2d449047 Revive inspector property evaluation
GDScript was restricted to parse only scripts beginning with __res://__ or __user://__ to avoid templates from being parsed. I've made that a bit less inclusive by allowing scripts with an empty path to be parsed too, which doesn't conflict and is needed for this to work.

Also I've removed the `this` variable of the generated script and made the relevant object to be the one the script instance refers to, so you can use `self` instead.

Now, with the shorter 3.0-style syntax, you can write things like: `self.position.x + 10`

Closes #9500.
2017-08-16 03:01:41 +02:00
..
SCsub
config.py
gd_compiler.cpp
gd_compiler.h
gd_editor.cpp
gd_function.cpp Removes type information from method binds 2017-08-10 07:17:50 +02:00
gd_function.h
gd_functions.cpp Implement len() gdscript built-in function for python users, closes #1960 2017-08-07 18:38:47 -03:00
gd_functions.h Implement len() gdscript built-in function for python users, closes #1960 2017-08-07 18:38:47 -03:00
gd_parser.cpp push variable later when created, to avoid self-referencing as a valid case, closes #6111 2017-08-08 11:44:49 -03:00
gd_parser.h
gd_script.cpp Revive inspector property evaluation 2017-08-16 03:01:41 +02:00
gd_script.h
gd_tokenizer.cpp
gd_tokenizer.h
register_types.cpp
register_types.h