godot/modules/gdscript
George Marques 743053734f
Add static type checks in the parser
- 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.
2018-07-20 21:55:16 -03:00
..
doc_classes Add support for tutorial links to makerst.py 2018-06-12 17:40:24 +02:00
editor Removed duplicate default colours and removed GDScriptHighligher colours from main editor. 2018-06-13 18:25:02 +01:00
config.py SCons: Pass env to modules can_build method 2018-05-30 19:11:36 +02:00
gdscript_compiler.cpp Add static type checks in the parser 2018-07-20 21:55:16 -03:00
gdscript_compiler.h Move inheritance resolution to the parser 2018-07-20 21:55:16 -03:00
gdscript_editor.cpp Add static type checks in the parser 2018-07-20 21:55:16 -03:00
gdscript_function.cpp Add static type checks in the parser 2018-07-20 21:55:16 -03:00
gdscript_function.h Add static type checks in the parser 2018-07-20 21:55:16 -03:00
gdscript_functions.cpp Add static type checks in the parser 2018-07-20 21:55:16 -03:00
gdscript_functions.h Merge pull request #18966 from chanon/new-debug-print 2018-07-04 23:50:45 +02:00
gdscript_parser.cpp Add static type checks in the parser 2018-07-20 21:55:16 -03:00
gdscript_parser.h Add static type checks in the parser 2018-07-20 21:55:16 -03:00
gdscript_tokenizer.cpp Add typing syntax 2018-07-20 21:55:16 -03:00
gdscript_tokenizer.h Add typing syntax 2018-07-20 21:55:16 -03:00
gdscript.cpp Move inheritance resolution to the parser 2018-07-20 21:55:16 -03:00
gdscript.h Add static type checks in the parser 2018-07-20 21:55:16 -03:00
register_types.cpp Exclude GDScriptSyntaxHighlighter from non-tool builds 2018-04-20 20:45:57 +01:00
register_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub Exclude GDScriptSyntaxHighlighter from non-tool builds 2018-04-20 20:45:57 +01:00