regression-test-project/AIO/Operators/Operators.gd
2020-11-17 20:10:21 +01:00

178 lines
2.5 KiB
GDScript

extends Node2D
class_name Operators
signal roman
@onready var sew : int = 0
func _process(delta: float) -> void:
assert(2>1)
var arr : Array = [25,235236,236,236,23,6,236,236,236,23,634,63,7,35,4734,64,64,34,62,72,32,535]
var dict : Dictionary = {35:535,5236:535,35236:"35","safasf":"w","etwet":"qwrqrqwrqwrq","t":"wet"}
var number = 5242434
var strin = "asfqwfasfasf"
52 % -25
arr.append(254)
arr[45 % arr.size()]
arr[-45 % arr.size()]
if dict.has(strin):
dict[strin]
sew = sew
number is Node2D
~45
-45
45 * 45
45 / (21)
45 % (21)
45 + 45
45 - 45
1 >> int(max(min(12,0),61))
1 << int(max(min(12,0),61))
45 & 45
45 ^ 45
45 | 45
45 < 45
45 > 45
45 == 45
45 != 45
45 >= 45
45 <= 45
45 in ["asfasfqw","asfqwgqani"]
!45
not 45
45 and 45
45 && 45
45 or 45
45 || 45
number = 45
number += 45
number -= 45
number *= 45
number /= 21
number %= 21
number &= 45
number |= 45
1234567890
0x0123456789ABCDEF
0x123456789ABCDEF
0b101010101010101010101
0b010101010101010101010
3.242
25.1e-125
125e+24
"2122222222222222222222222222222225125125125215s"
"Chrabąszcz"
"""
MULTILINIONOWOŚĆ
"""
$"."
#Comment
var _r2 = qq()
var _rr = qqr("WRT")
call("qqr","QWT")
if 45:
pass
else:
pass
var rr : int = 10
while(rr != 0):
rr -= 1
match 45:
2:
45
5:
pass
45
3:
continue
false
_:
[521252,"asfasfw", "asfw"]
match typeof(45):
TYPE_AABB:
45
TYPE_INT:
45
match 45:
2:
45
# var RR:
# RR = 45
match randi() % 26:
2:
pass
# var TT:
# var ss = TT # BUG GH#34384
for _i in [5,2,5]:
pass
for _i in {"a":0}:
pass
for _i in range(3):
pass
for _i in range(1,2):
pass
for _i in range(1,1,3):
pass
for _i in "Roman":
pass
for _i in 3:
pass
for _i in 2.2:
pass
enum {TILE, MILE}
enum State {STATE_IDLE, STATE_JUMP = 5, STATE_SHOOT}
const TITLE = 0
const TITLE2 : int = 0
var describtion
func qq():
return
func qqr(_stat : String = "TQW") -> String:
return "FAASFW"
static func ff(_rr : String = "FA") -> String:
return "qtqwtwey"
class ram:
var sa : int = 0
var qq
static func rr() -> ram:
return ram.new()
static func Wr() -> Node:
return Node.new()
static func rqq() -> String:
return "as"
func roman() -> String:
return "wqr"
func wykop() -> String:
return "wqr"
func func_ready() -> void:
var rr : ram = ram.new()
rr.sa = 125
rr.qq = "qw"
var _s = rr.rr()
var _r = rr.rqq()
var _t = rr.roman()
var _y = rr.wykop()