Sync classref with current source

This commit is contained in:
Rémi Verschelde
2018-09-21 09:49:38 +02:00
parent df6316f918
commit ce0bb7b277
494 changed files with 7138 additions and 7027 deletions
+10 -9
View File
@@ -57,10 +57,11 @@ Tutorials
---------
- :doc:`../getting_started/step_by_step/scripting`
Property Descriptions
---------------------
.. _class_Script_source_code:
.. _class_Script_source_code:
- :ref:`String<class_String>` **source_code**
@@ -75,49 +76,49 @@ The script source code or an empty string if source code is not available. When
Method Descriptions
-------------------
.. _class_Script_can_instance:
.. _class_Script_can_instance:
- :ref:`bool<class_bool>` **can_instance** **(** **)** const
Returns ``true`` if the script can be instanced.
.. _class_Script_get_base_script:
.. _class_Script_get_base_script:
- :ref:`Script<class_Script>` **get_base_script** **(** **)** const
Returns the script directly inherited by this script.
.. _class_Script_get_instance_base_type:
.. _class_Script_get_instance_base_type:
- :ref:`String<class_String>` **get_instance_base_type** **(** **)** const
Returns the script's base type.
.. _class_Script_has_script_signal:
.. _class_Script_has_script_signal:
- :ref:`bool<class_bool>` **has_script_signal** **(** :ref:`String<class_String>` signal_name **)** const
Returns ``true`` if the script, or a base class, defines a signal with the given name.
.. _class_Script_has_source_code:
.. _class_Script_has_source_code:
- :ref:`bool<class_bool>` **has_source_code** **(** **)** const
Returns ``true`` if the script contains non-empty source code.
.. _class_Script_instance_has:
.. _class_Script_instance_has:
- :ref:`bool<class_bool>` **instance_has** **(** :ref:`Object<class_Object>` base_object **)** const
Returns ``true`` if ``base_object`` is an instance of this script.
.. _class_Script_is_tool:
.. _class_Script_is_tool:
- :ref:`bool<class_bool>` **is_tool** **(** **)** const
Returns ``true`` if the script is a tool script. A tool script can run in the editor.
.. _class_Script_reload:
.. _class_Script_reload:
- :ref:`Error<enum_@GlobalScope_Error>` **reload** **(** :ref:`bool<class_bool>` keep_state=false **)**