summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_compiler.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Use type information to enable GDScript introspectionGeorge Marques2018-07-201-39/+61
| | | | | This makes the Script API provide accurate information when requesting property or method info.
* Add typed instructions to GDScriptGeorge Marques2018-07-201-6/+165
| | | | | | | - Typed assignment (built-in, native, and script). - Cast (built-in conversion; native and script checks). - Check type of functions arguments on call. - Check type of members on set.
* Add static type checks in the parserGeorge Marques2018-07-201-13/+6
| | | | | | | | | | | | - Resolve types for all identifiers. - Error when identifier is not found. - Match return type and error when not returning a value when it should. - Check unreachable code (code after sure return). - Match argument count and types for function calls. - Determine if return type of function call matches the assignment. - Do static type check with match statement when possible. - Use type hints to determine export type. - Check compatibility between type hint and explicit export type.
* Move inheritance resolution to the parserGeorge Marques2018-07-201-227/+113
|
* Add typing syntaxGeorge Marques2018-07-201-0/+4
|
* Style: Format code with clang-format 6.0.1Rémi Verschelde2018-07-181-1/+1
|
* Global class names (and GDScript support for it)Juan Linietsky2018-07-151-0/+35
|
* Fix onready vars / vars accessing class members if _ready / _init not presentMarcin Zawiejski2018-06-181-1/+1
|
* Fix positive operator in GDScript compilerGeorge Marques2018-05-231-0/+3
|
* Enable autoload in editorGeorge Marques2018-05-011-0/+24
| | | | | | - Tool scripts will be executed and can be accessed by plugins. - Other script languages can implement add/remove_named_global_constant to make use of this functionality.
* Fix typos with codespellluz.paz2018-02-211-1/+1
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* Allow shadowing class members with local variables in GDScript, closes #15896Juan Linietsky2018-01-201-14/+24
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-1/+1
|
* Allow to extends constant variablesanikoyes2017-11-201-1/+24
|
* GDScript: Refactor "GD" class prefix to "GDScript"Rémi Verschelde2017-11-161-0/+2044