godot/modules/gdscript
Rindbee cbce374f68 Returns null and does not cache when the source code of the script fails to load
This usually means that an `ERR_FILE*` error occurred.

Previously, using `GDScriptCache::get_full_script()` would ignore errors during loading.
Now, all errors are not ignored.

Judging in which period the error occurred, it can be judged based on the return value:
1. null + err : Error during script loading (load_source_code()).
2. script + err: Error during script parsing.
2023-06-15 21:06:10 +08:00
..
doc_classes Add more info on the nature of NAN 2023-05-30 15:38:10 +02:00
editor Fix extraction of chained tr() calls 2023-05-27 10:38:37 +08:00
icons
language_server LSP: don't send empty completion command 2023-05-06 20:56:15 +01:00
tests Merge pull request #77351 from anvilfolk/super-discard 2023-06-15 10:39:59 +02:00
config.py
gdscript_analyzer.cpp Merge pull request #77351 from anvilfolk/super-discard 2023-06-15 10:39:59 +02:00
gdscript_analyzer.h Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
gdscript_byte_codegen.cpp Fix edge cases of object lifetime when signals involved 2023-04-11 17:27:39 +02:00
gdscript_byte_codegen.h Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
gdscript_cache.cpp Returns null and does not cache when the source code of the script fails to load 2023-06-15 21:06:10 +08:00
gdscript_cache.h Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
gdscript_codegen.h Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
gdscript_compiler.cpp Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
gdscript_compiler.h Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
gdscript_disassembler.cpp
gdscript_editor.cpp sort code completions with rules 2023-05-23 05:12:34 +02:00
gdscript_function.cpp
gdscript_function.h Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
gdscript_lambda_callable.cpp
gdscript_lambda_callable.h
gdscript_parser.cpp GDScript: Fix doc comment parsing (newlines and spaces) 2023-06-05 16:00:46 +03:00
gdscript_parser.h Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
gdscript_rpc_callable.cpp
gdscript_rpc_callable.h
gdscript_tokenizer.cpp Fix for mixed tabs and spaces in gdscript 2023-04-20 12:08:23 +02:00
gdscript_tokenizer.h
gdscript_utility_functions.cpp
gdscript_utility_functions.h
gdscript_vm.cpp Merge pull request #75732 from vonagam/fix-duplicate-condition 2023-04-28 18:45:25 +02:00
gdscript_warning.cpp GDScript: Reorganize and unify warnings 2023-04-28 18:25:11 +03:00
gdscript_warning.h GDScript: Reorganize and unify warnings 2023-04-28 18:25:11 +03:00
gdscript.cpp Returns null and does not cache when the source code of the script fails to load 2023-06-15 21:06:10 +08:00
gdscript.h Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
register_types.cpp
register_types.h
SCsub