Browse Source

Merge pull request #9316 from Chaosus/add_super_keyword

Add a `super` keyword to the table of keywords
Yuri Rubinsky 1 year ago
parent
commit
4d925dd274
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 2 - 0
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -187,6 +187,8 @@ in case you want to take a look under the hood.
 +------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 +------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 | self       | Refers to current class instance.                                                                                                                 |
 | self       | Refers to current class instance.                                                                                                                 |
 +------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 +------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
+| super      | Resolves the scope of the parent method. See `Inheritance`_.                                                                                      |
++------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 | signal     | Defines a signal.                                                                                                                                 |
 | signal     | Defines a signal.                                                                                                                                 |
 +------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 +------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 | func       | Defines a function.                                                                                                                               |
 | func       | Defines a function.                                                                                                                               |