godot/modules/gdscript
Leonard Meagher f7eb426e2e Allow overriding how scripted objects are converted to strings
solves #26796

- ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts
- ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings
- IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance
- ADD Documentation about `Object.to_string` and `Object._to_string`
- Changed `Variant::operator String` to use `obj->to_string()`
2019-05-03 15:06:05 -07:00
..
doc_classes doc: Bump version to 3.2 2019-04-01 12:33:56 +02:00
editor Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
config.py SCons: Pass env to modules can_build method 2018-05-30 19:11:36 +02:00
gdscript_compiler.cpp Merge pull request #27128 from bojidar-bg/27111-gdscript-confounding-class 2019-03-27 16:57:04 +01:00
gdscript_compiler.h Fix GDScriptCompiler bugging out with identically-named inner class 2019-03-16 20:41:16 +02:00
gdscript_editor.cpp Style: Apply new changes from clang-format 8.0 2019-04-09 17:09:48 +02:00
gdscript_function.cpp Revert "Forbid implicit type conversion in GDScript" 2019-03-04 12:25:59 +01:00
gdscript_function.h Revert "Forbid implicit type conversion in GDScript" 2019-03-04 12:25:59 +01:00
gdscript_functions.cpp Merge pull request #27231 from Chaosus/smoothstep 2019-04-08 10:03:42 +02:00
gdscript_functions.h Added smoothstep built-in function 2019-04-07 14:11:26 +03:00
gdscript_parser.cpp Style: Apply new changes from clang-format 8.0 2019-04-09 17:09:48 +02:00
gdscript_parser.h Revert "Forbid implicit type conversion in GDScript" 2019-03-04 12:25:59 +01:00
gdscript_tokenizer.cpp Style: Apply new changes from clang-format 8.0 2019-04-09 17:09:48 +02:00
gdscript_tokenizer.h Fix warnings seen with -Wignored-qualifiers. 2019-02-21 20:24:29 +01:00
gdscript.cpp Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
gdscript.h Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
register_types.cpp Merge pull request #24883 from akien-mga/resourceformat-unregister 2019-01-10 14:25:09 +01:00
register_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00