GDScript: Add type casting to the precedence table

This commit is contained in:
Max Hilbrunner
2020-05-14 18:03:05 +02:00
parent a364907465
commit 54f2ef4ba2

View File

@@ -271,6 +271,8 @@ The following is the list of supported operators and their precedence.
+---------------------------------------------------------------+-----------------------------------------+
| ``if x else`` | Ternary if/else |
+---------------------------------------------------------------+-----------------------------------------+
| ``as`` | Type casting |
+---------------------------------------------------------------+-----------------------------------------+
| ``=`` ``+=`` ``-=`` ``*=`` ``/=`` ``%=`` ``&=`` ``|=`` | Assignment (lowest priority) |
+---------------------------------------------------------------+-----------------------------------------+