@@ -209,59 +209,102 @@ sealed interface EtsTypeFact {
209
209
) : EtsTypeFact
210
210
211
211
companion object {
212
- internal val allStringProperties = listOf (
213
- " length" ,
214
- " constructor" ,
215
- " anchor" ,
216
- " at" ,
217
- " big" ,
218
- " blink" ,
219
- " bold" ,
220
- " charAt" ,
221
- " charCodeAt" ,
222
- " codePointAt" ,
223
- " concat" ,
224
- " endsWith" ,
225
- " fontcolor" ,
226
- " fontsize" ,
227
- " fixed" ,
228
- " includes" ,
229
- " indexOf" ,
230
- " isWellFormed" ,
231
- " italics" ,
232
- " lastIndexOf" ,
233
- " link" ,
234
- " localeCompare" ,
235
- " match" ,
236
- " matchAll" ,
237
- " normalize" ,
238
- " padEnd" ,
239
- " padStart" ,
240
- " repeat" ,
241
- " replace" ,
242
- " replaceAll" ,
243
- " search" ,
244
- " slice" ,
245
- " small" ,
246
- " split" ,
247
- " strike" ,
248
- " sub" ,
249
- " substr" ,
250
- " substring" ,
251
- " sup" ,
252
- " startsWith" ,
253
- " toString" ,
254
- " toWellFormed" ,
255
- " trim" ,
256
- " trimStart" ,
257
- " trimLeft" ,
258
- " trimEnd" ,
259
- " trimRight" ,
260
- " toLocaleLowerCase" ,
261
- " toLocaleUpperCase" ,
262
- " toLowerCase" ,
263
- " toUpperCase" ,
264
- " valueOf" ,
212
+ internal val allStringProperties = mapOf (
213
+ " length" to NumberEtsTypeFact ,
214
+ " constructor" to FunctionEtsTypeFact ,
215
+ " anchor" to FunctionEtsTypeFact ,
216
+ " at" to FunctionEtsTypeFact ,
217
+ " big" to FunctionEtsTypeFact ,
218
+ " blink" to FunctionEtsTypeFact ,
219
+ " bold" to FunctionEtsTypeFact ,
220
+ " charAt" to FunctionEtsTypeFact ,
221
+ " charCodeAt" to FunctionEtsTypeFact ,
222
+ " codePointAt" to FunctionEtsTypeFact ,
223
+ " concat" to FunctionEtsTypeFact ,
224
+ " endsWith" to FunctionEtsTypeFact ,
225
+ " fixed" to FunctionEtsTypeFact ,
226
+ " fontcolor" to FunctionEtsTypeFact ,
227
+ " fontsize" to FunctionEtsTypeFact ,
228
+ " includes" to FunctionEtsTypeFact ,
229
+ " indexOf" to FunctionEtsTypeFact ,
230
+ " isWellFormed" to FunctionEtsTypeFact ,
231
+ " italics" to FunctionEtsTypeFact ,
232
+ " lastIndexOf" to FunctionEtsTypeFact ,
233
+ " link" to FunctionEtsTypeFact ,
234
+ " localeCompare" to FunctionEtsTypeFact ,
235
+ " match" to FunctionEtsTypeFact ,
236
+ " matchAll" to FunctionEtsTypeFact ,
237
+ " normalize" to FunctionEtsTypeFact ,
238
+ " padEnd" to FunctionEtsTypeFact ,
239
+ " padStart" to FunctionEtsTypeFact ,
240
+ " repeat" to FunctionEtsTypeFact ,
241
+ " replace" to FunctionEtsTypeFact ,
242
+ " replaceAll" to FunctionEtsTypeFact ,
243
+ " search" to FunctionEtsTypeFact ,
244
+ " slice" to FunctionEtsTypeFact ,
245
+ " small" to FunctionEtsTypeFact ,
246
+ " split" to FunctionEtsTypeFact ,
247
+ " strike" to FunctionEtsTypeFact ,
248
+ " sub" to FunctionEtsTypeFact ,
249
+ " substr" to FunctionEtsTypeFact ,
250
+ " substring" to FunctionEtsTypeFact ,
251
+ " sup" to FunctionEtsTypeFact ,
252
+ " startsWith" to FunctionEtsTypeFact ,
253
+ " toString" to FunctionEtsTypeFact ,
254
+ " toWellFormed" to FunctionEtsTypeFact ,
255
+ " trim" to FunctionEtsTypeFact ,
256
+ " trimStart" to FunctionEtsTypeFact ,
257
+ " trimLeft" to FunctionEtsTypeFact ,
258
+ " trimEnd" to FunctionEtsTypeFact ,
259
+ " trimRight" to FunctionEtsTypeFact ,
260
+ " toLocaleLowerCase" to FunctionEtsTypeFact ,
261
+ " toLocaleUpperCase" to FunctionEtsTypeFact ,
262
+ " toLowerCase" to FunctionEtsTypeFact ,
263
+ " toUpperCase" to FunctionEtsTypeFact ,
264
+ " valueOf" to FunctionEtsTypeFact ,
265
+ )
266
+
267
+ internal val allArrayProperties = mapOf (
268
+ " constructor" to FunctionEtsTypeFact ,
269
+ " length" to NumberEtsTypeFact ,
270
+ " at" to FunctionEtsTypeFact ,
271
+ " concat" to FunctionEtsTypeFact ,
272
+ " copyWithin" to FunctionEtsTypeFact ,
273
+ " entries" to FunctionEtsTypeFact ,
274
+ " every" to FunctionEtsTypeFact ,
275
+ " fill" to FunctionEtsTypeFact ,
276
+ " filter" to FunctionEtsTypeFact ,
277
+ " find" to FunctionEtsTypeFact ,
278
+ " findIndex" to FunctionEtsTypeFact ,
279
+ " findLast" to FunctionEtsTypeFact ,
280
+ " findLastIndex" to FunctionEtsTypeFact ,
281
+ " flat" to FunctionEtsTypeFact ,
282
+ " flatMap" to FunctionEtsTypeFact ,
283
+ " forEach" to FunctionEtsTypeFact ,
284
+ " includes" to FunctionEtsTypeFact ,
285
+ " indexOf" to FunctionEtsTypeFact ,
286
+ " join" to FunctionEtsTypeFact ,
287
+ " keys" to FunctionEtsTypeFact ,
288
+ " lastIndexOf" to FunctionEtsTypeFact ,
289
+ " map" to FunctionEtsTypeFact ,
290
+ " pop" to FunctionEtsTypeFact ,
291
+ " push" to FunctionEtsTypeFact ,
292
+ " reduce" to FunctionEtsTypeFact ,
293
+ " reduceRight" to FunctionEtsTypeFact ,
294
+ " reverse" to FunctionEtsTypeFact ,
295
+ " shift" to FunctionEtsTypeFact ,
296
+ " slice" to FunctionEtsTypeFact ,
297
+ " some" to FunctionEtsTypeFact ,
298
+ " sort" to FunctionEtsTypeFact ,
299
+ " splice" to FunctionEtsTypeFact ,
300
+ " toLocaleString" to FunctionEtsTypeFact ,
301
+ " toReversed" to FunctionEtsTypeFact ,
302
+ " toSorted" to FunctionEtsTypeFact ,
303
+ " toSpliced" to FunctionEtsTypeFact ,
304
+ " toString" to FunctionEtsTypeFact ,
305
+ " unshift" to FunctionEtsTypeFact ,
306
+ " values" to FunctionEtsTypeFact ,
307
+ " with" to FunctionEtsTypeFact ,
265
308
)
266
309
267
310
fun mkUnionType (vararg types : EtsTypeFact ): EtsTypeFact = mkUnionType(types.toHashSet())
0 commit comments