Warning, /frameworks/syntax-highlighting/autotests/folding/test.gd.fold is written in an unsupported language. File is not indexed.
0001 <indentfold>tool
0002 extends "res://Level.gd"
0003 class_name MyNode
0004
0005 breakpoint
0006 var x = preload()
0007 const y = 1
0008
0009 onready var z = get_node("/root/Node")
0010 export var r = 1
0011
0012 var value = 1 setget setterfunc, getterfunc
0013
0014 class Test:
0015 func test(parameter):
0016 var c = CubeMesh.new()
0017
0018 enum <beginfold id='1'>{</beginfold id='1'>A, B, C<endfold id='1'>}</endfold id='1'>
0019
0020
0021 static func _init():
0022 assert(PI == TAU)
0023
0024 if INF == INF:
0025 pass
0026 elif 1. <= 1:
0027 pass
0028 else
0029 pass
0030
0031 signal moved():
0032 pass
0033
0034 remote func test_connection(_info):
0035 pass
0036
0037 master func test_connection(_info):
0038 pass
0039
0040 puppet func test_connection(_info):
0041 pass
0042
0043 remotesync func test_connection(_info):
0044 pass
0045
0046 mastersync func test_connection(_info):
0047 return 1
0048
0049 puppetsync func test_connection(_info):
0050 yield 2
0051
0052 func test():
0053 if 1 is 2 and 1 not is 1 or 1 in <beginfold id='2'>[</beginfold id='2'>1, "test", @"Node", $NodeName<endfold id='2'>]</endfold id='2'>:
0054 var x = $NodeName as Node2D
0055
0056 for i in range(1, 100):
0057 continue
0058
0059 x.lala().prolog()
0060 x.lala().prolog
0061 x.lala
0062 x.lala()
0063
0064 while 1 != 1:
0065 statement(s)
0066 break
0067
0068 match typeof(123):
0069 1234:
0070 print(<beginfold id='3'>"""</beginfold id='3'>test<endfold id='3'>"""</endfold id='3'>)
0071
0072 min(abc);
0073 Color8(abc);
0074 ColorN(abc);
0075 abs(abc);
0076 acos(abc);
0077 asin(abc);
0078 atan(abc);
0079 atan2(abc);
0080 bytes2var(abc);
0081 cartesian2polar(abc);
0082 ceil(abc);
0083 char(abc);
0084 clamp(abc);
0085 convert(abc);
0086 cos(abc);
0087 cosh(abc);
0088 db2linear(abc);
0089 decimals(abc);
0090 dectime(abc);
0091 deg2rad(abc);
0092 dict2inst(abc);
0093 ease(abc);
0094 exp(abc);
0095 floor(abc);
0096 fmod(abc);
0097 fposmod(abc);
0098 funcref(abc);
0099 get_stack(abc);
0100 hash(abc);
0101 inst2dict(abc);
0102 instance_from_id(abc);
0103 inverse_lerp(abc);
0104 is_equal_approx(abc);
0105 is_inf(abc);
0106 is_instance_valid(abc);
0107 is_nan(abc);
0108 is_zero_approx(abc);
0109 len(abc);
0110 lerp(abc);
0111 lerp_angle(abc);
0112 linear2db(abc);
0113 load(abc);
0114 log(abc);
0115 max(abc);
0116 min(abc);
0117 move_toward(abc);
0118 nearest_po2(abc);
0119 ord(abc);
0120 parse_json(abc);
0121 polar2cartesian(abc);
0122 posmod(abc);
0123 pow(abc);
0124 print(abc);
0125 print_debug(abc);
0126 print_stack(abc);
0127 printerr(abc);
0128 printraw(abc);
0129 prints(abc);
0130 printt(abc);
0131 push_error(abc);
0132 push_warning(abc);
0133 rad2deg(abc);
0134 rand_range(abc);
0135 rand_seed(abc);
0136 randf(abc);
0137 randi(abc);
0138 randomize(abc);
0139 range(abc);
0140 range_lerp(abc);
0141 round(abc);
0142 seed(abc);
0143 sign(abc);
0144 sin(abc);
0145 sinh(abc);
0146 smoothstep(abc);
0147 sqrt(abc);
0148 step_decimals(abc);
0149 stepify(abc);
0150 str(abc);
0151 str2var(abc);
0152 tan(abc);
0153 tanh(abc);
0154 to_json(abc);
0155 type_exists(abc);
0156 typeof(abc);
0157 validate_json(abc);
0158 var2bytes(abc);
0159 var2str(abc);
0160 weakref(abc);
0161 wrapf(abc);
0162 wrapi(abc);
0163
0164
0165 var x = null
0166 x = true
0167 x = false
0168 self.x = x
0169 self.x.connect("asd", x, "asd")
0170
0171 func _get(abc):
0172 pass
0173
0174 func _get_property_list(abc):
0175 pass
0176
0177 func _init(abc):
0178 pass
0179
0180 func _notification(abc):
0181 pass
0182
0183 func _set(abc):
0184 pass
0185
0186 func _to_string(abc):
0187 pass
0188
0189 func _enter_tree(abc):
0190 pass
0191
0192 func _exit_tree(abc):
0193 pass
0194
0195 func _get_configuration_warning(abc):
0196 pass
0197
0198 func _input(abc):
0199 pass
0200
0201 func _physics_process(abc):
0202 pass
0203
0204 func _process(abc):
0205 pass
0206
0207 func _ready(abc):
0208 pass
0209
0210 func _unhandled_input(abc):
0211 pass
0212
0213 func _unhandled_key_input(abc):
0214 pass
0215
0216
0217
0218
0219
0220
0221
0222
0223
0224
0225
0226
0227
0228
0229
0230
0231
0232
0233
0234
0235