yyjj 2025.12.3 → 2025.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +105 -105
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +105 -105
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2332,224 +2332,224 @@ function f4ah6o$yyjj$jsonc$$Parser$parse(self) {
|
|
|
2332
2332
|
function f4ah6o$yyjj$jsonc$$parse(source) {
|
|
2333
2333
|
return f4ah6o$yyjj$jsonc$$Parser$parse(f4ah6o$yyjj$jsonc$$Parser$from_source(source));
|
|
2334
2334
|
}
|
|
2335
|
-
function moonbitlang$core$builtin$$Eq$equal$18$(
|
|
2336
|
-
switch (
|
|
2337
|
-
case 0: if (
|
|
2335
|
+
function moonbitlang$core$builtin$$Eq$equal$18$(_x_391, _x_392) {
|
|
2336
|
+
switch (_x_391.$tag) {
|
|
2337
|
+
case 0: if (_x_392.$tag === 0) return true;
|
|
2338
2338
|
else return false;
|
|
2339
|
-
case 1: if (
|
|
2339
|
+
case 1: if (_x_392.$tag === 1) return true;
|
|
2340
2340
|
else return false;
|
|
2341
|
-
case 2: if (
|
|
2341
|
+
case 2: if (_x_392.$tag === 2) return true;
|
|
2342
2342
|
else return false;
|
|
2343
|
-
case 3: if (
|
|
2343
|
+
case 3: if (_x_392.$tag === 3) return true;
|
|
2344
2344
|
else return false;
|
|
2345
|
-
case 4: if (
|
|
2345
|
+
case 4: if (_x_392.$tag === 4) return true;
|
|
2346
2346
|
else return false;
|
|
2347
|
-
case 5: if (
|
|
2347
|
+
case 5: if (_x_392.$tag === 5) return true;
|
|
2348
2348
|
else return false;
|
|
2349
|
-
case 6: if (
|
|
2349
|
+
case 6: if (_x_392.$tag === 6) return true;
|
|
2350
2350
|
else return false;
|
|
2351
2351
|
case 7: {
|
|
2352
|
-
const _$42$
|
|
2353
|
-
if (
|
|
2352
|
+
const _$42$x0_393 = _x_391._0;
|
|
2353
|
+
if (_x_392.$tag === 7) return _$42$x0_393 === _x_392._0;
|
|
2354
2354
|
else return false;
|
|
2355
2355
|
}
|
|
2356
2356
|
case 8: {
|
|
2357
|
-
const _$42$
|
|
2358
|
-
if (
|
|
2357
|
+
const _$42$x0_395 = _x_391._0;
|
|
2358
|
+
if (_x_392.$tag === 8) return _$42$x0_395 === _x_392._0;
|
|
2359
2359
|
else return false;
|
|
2360
2360
|
}
|
|
2361
2361
|
case 9: {
|
|
2362
|
-
const _$42$
|
|
2363
|
-
if (
|
|
2362
|
+
const _$42$x0_397 = _x_391._0;
|
|
2363
|
+
if (_x_392.$tag === 9) return _$42$x0_397 === _x_392._0;
|
|
2364
2364
|
else return false;
|
|
2365
2365
|
}
|
|
2366
2366
|
case 10: {
|
|
2367
|
-
const _$42$
|
|
2368
|
-
if (
|
|
2367
|
+
const _$42$x0_399 = _x_391._0;
|
|
2368
|
+
if (_x_392.$tag === 10) return _$42$x0_399 === _x_392._0;
|
|
2369
2369
|
else return false;
|
|
2370
2370
|
}
|
|
2371
2371
|
case 11: {
|
|
2372
|
-
const _$42$
|
|
2373
|
-
if (
|
|
2372
|
+
const _$42$x0_401 = _x_391._0;
|
|
2373
|
+
if (_x_392.$tag === 11) return _$42$x0_401 === _x_392._0;
|
|
2374
2374
|
else return false;
|
|
2375
2375
|
}
|
|
2376
2376
|
case 12: {
|
|
2377
|
-
const _$42$
|
|
2378
|
-
if (
|
|
2377
|
+
const _$42$x0_403 = _x_391._0;
|
|
2378
|
+
if (_x_392.$tag === 12) return _$42$x0_403 === _x_392._0;
|
|
2379
2379
|
else return false;
|
|
2380
2380
|
}
|
|
2381
2381
|
case 13: {
|
|
2382
|
-
const _$42$
|
|
2383
|
-
if (
|
|
2382
|
+
const _$42$x0_405 = _x_391._0;
|
|
2383
|
+
if (_x_392.$tag === 13) return _$42$x0_405 === _x_392._0;
|
|
2384
2384
|
else return false;
|
|
2385
2385
|
}
|
|
2386
|
-
case 14: if (
|
|
2386
|
+
case 14: if (_x_392.$tag === 14) return true;
|
|
2387
2387
|
else return false;
|
|
2388
|
-
case 15: if (
|
|
2388
|
+
case 15: if (_x_392.$tag === 15) return true;
|
|
2389
2389
|
else return false;
|
|
2390
|
-
case 16: if (
|
|
2390
|
+
case 16: if (_x_392.$tag === 16) return true;
|
|
2391
2391
|
else return false;
|
|
2392
2392
|
case 17: {
|
|
2393
|
-
const _$42$
|
|
2394
|
-
if (
|
|
2393
|
+
const _$42$x0_407 = _x_391._0;
|
|
2394
|
+
if (_x_392.$tag === 17) return _$42$x0_407 === _x_392._0;
|
|
2395
2395
|
else return false;
|
|
2396
2396
|
}
|
|
2397
2397
|
case 18: {
|
|
2398
|
-
const _$42$
|
|
2399
|
-
if (
|
|
2398
|
+
const _$42$x0_409 = _x_391._0;
|
|
2399
|
+
if (_x_392.$tag === 18) return _$42$x0_409 === _x_392._0;
|
|
2400
2400
|
else return false;
|
|
2401
2401
|
}
|
|
2402
2402
|
case 19: {
|
|
2403
|
-
const _$42$
|
|
2404
|
-
if (
|
|
2403
|
+
const _$42$x0_411 = _x_391._0;
|
|
2404
|
+
if (_x_392.$tag === 19) return _$42$x0_411 === _x_392._0;
|
|
2405
2405
|
else return false;
|
|
2406
2406
|
}
|
|
2407
2407
|
case 20: {
|
|
2408
|
-
const _$42$
|
|
2409
|
-
if (
|
|
2408
|
+
const _$42$x0_413 = _x_391._0;
|
|
2409
|
+
if (_x_392.$tag === 20) return _$42$x0_413 === _x_392._0;
|
|
2410
2410
|
else return false;
|
|
2411
2411
|
}
|
|
2412
|
-
case 21: if (
|
|
2412
|
+
case 21: if (_x_392.$tag === 21) return true;
|
|
2413
2413
|
else return false;
|
|
2414
|
-
case 22: if (
|
|
2414
|
+
case 22: if (_x_392.$tag === 22) return true;
|
|
2415
2415
|
else return false;
|
|
2416
|
-
case 23: if (
|
|
2416
|
+
case 23: if (_x_392.$tag === 23) return true;
|
|
2417
2417
|
else return false;
|
|
2418
|
-
case 24: if (
|
|
2418
|
+
case 24: if (_x_392.$tag === 24) return true;
|
|
2419
2419
|
else return false;
|
|
2420
2420
|
default: {
|
|
2421
|
-
const _$42$
|
|
2422
|
-
if (
|
|
2421
|
+
const _$42$x0_415 = _x_391._0;
|
|
2422
|
+
if (_x_392.$tag === 25) return _$42$x0_415 === _x_392._0;
|
|
2423
2423
|
else return false;
|
|
2424
2424
|
}
|
|
2425
2425
|
}
|
|
2426
2426
|
}
|
|
2427
|
-
function moonbitlang$core$builtin$$Show$output$18$(
|
|
2428
|
-
switch (
|
|
2427
|
+
function moonbitlang$core$builtin$$Show$output$18$(_x_363, _x_364) {
|
|
2428
|
+
switch (_x_363.$tag) {
|
|
2429
2429
|
case 0:
|
|
2430
|
-
|
|
2430
|
+
_x_364.method_table.method_0(_x_364.self, "Colon");
|
|
2431
2431
|
return;
|
|
2432
2432
|
case 1:
|
|
2433
|
-
|
|
2433
|
+
_x_364.method_table.method_0(_x_364.self, "Dash");
|
|
2434
2434
|
return;
|
|
2435
2435
|
case 2:
|
|
2436
|
-
|
|
2436
|
+
_x_364.method_table.method_0(_x_364.self, "Comma");
|
|
2437
2437
|
return;
|
|
2438
2438
|
case 3:
|
|
2439
|
-
|
|
2439
|
+
_x_364.method_table.method_0(_x_364.self, "LBrace");
|
|
2440
2440
|
return;
|
|
2441
2441
|
case 4:
|
|
2442
|
-
|
|
2442
|
+
_x_364.method_table.method_0(_x_364.self, "RBrace");
|
|
2443
2443
|
return;
|
|
2444
2444
|
case 5:
|
|
2445
|
-
|
|
2445
|
+
_x_364.method_table.method_0(_x_364.self, "LBracket");
|
|
2446
2446
|
return;
|
|
2447
2447
|
case 6:
|
|
2448
|
-
|
|
2448
|
+
_x_364.method_table.method_0(_x_364.self, "RBracket");
|
|
2449
2449
|
return;
|
|
2450
2450
|
case 7: {
|
|
2451
|
-
const _$42$
|
|
2452
|
-
|
|
2453
|
-
moonbitlang$core$builtin$$Logger$write_object$2$(
|
|
2454
|
-
|
|
2451
|
+
const _$42$arg_365 = _x_363._0;
|
|
2452
|
+
_x_364.method_table.method_0(_x_364.self, "Indent(");
|
|
2453
|
+
moonbitlang$core$builtin$$Logger$write_object$2$(_x_364, _$42$arg_365);
|
|
2454
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2455
2455
|
return;
|
|
2456
2456
|
}
|
|
2457
2457
|
case 8: {
|
|
2458
|
-
const _$42$
|
|
2459
|
-
|
|
2460
|
-
moonbitlang$core$builtin$$Logger$write_object$2$(
|
|
2461
|
-
|
|
2458
|
+
const _$42$arg_366 = _x_363._0;
|
|
2459
|
+
_x_364.method_table.method_0(_x_364.self, "Dedent(");
|
|
2460
|
+
moonbitlang$core$builtin$$Logger$write_object$2$(_x_364, _$42$arg_366);
|
|
2461
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2462
2462
|
return;
|
|
2463
2463
|
}
|
|
2464
2464
|
case 9: {
|
|
2465
|
-
const _$42$
|
|
2466
|
-
|
|
2467
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2468
|
-
|
|
2465
|
+
const _$42$arg_367 = _x_363._0;
|
|
2466
|
+
_x_364.method_table.method_0(_x_364.self, "PlainScalar(");
|
|
2467
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_367);
|
|
2468
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2469
2469
|
return;
|
|
2470
2470
|
}
|
|
2471
2471
|
case 10: {
|
|
2472
|
-
const _$42$
|
|
2473
|
-
|
|
2474
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2475
|
-
|
|
2472
|
+
const _$42$arg_368 = _x_363._0;
|
|
2473
|
+
_x_364.method_table.method_0(_x_364.self, "SingleQuotedScalar(");
|
|
2474
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_368);
|
|
2475
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2476
2476
|
return;
|
|
2477
2477
|
}
|
|
2478
2478
|
case 11: {
|
|
2479
|
-
const _$42$
|
|
2480
|
-
|
|
2481
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2482
|
-
|
|
2479
|
+
const _$42$arg_369 = _x_363._0;
|
|
2480
|
+
_x_364.method_table.method_0(_x_364.self, "DoubleQuotedScalar(");
|
|
2481
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_369);
|
|
2482
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2483
2483
|
return;
|
|
2484
2484
|
}
|
|
2485
2485
|
case 12: {
|
|
2486
|
-
const _$42$
|
|
2487
|
-
|
|
2488
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2489
|
-
|
|
2486
|
+
const _$42$arg_370 = _x_363._0;
|
|
2487
|
+
_x_364.method_table.method_0(_x_364.self, "LiteralBlock(");
|
|
2488
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_370);
|
|
2489
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2490
2490
|
return;
|
|
2491
2491
|
}
|
|
2492
2492
|
case 13: {
|
|
2493
|
-
const _$42$
|
|
2494
|
-
|
|
2495
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2496
|
-
|
|
2493
|
+
const _$42$arg_371 = _x_363._0;
|
|
2494
|
+
_x_364.method_table.method_0(_x_364.self, "FoldedBlock(");
|
|
2495
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_371);
|
|
2496
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2497
2497
|
return;
|
|
2498
2498
|
}
|
|
2499
2499
|
case 14:
|
|
2500
|
-
|
|
2500
|
+
_x_364.method_table.method_0(_x_364.self, "NullValue");
|
|
2501
2501
|
return;
|
|
2502
2502
|
case 15:
|
|
2503
|
-
|
|
2503
|
+
_x_364.method_table.method_0(_x_364.self, "TrueValue");
|
|
2504
2504
|
return;
|
|
2505
2505
|
case 16:
|
|
2506
|
-
|
|
2506
|
+
_x_364.method_table.method_0(_x_364.self, "FalseValue");
|
|
2507
2507
|
return;
|
|
2508
2508
|
case 17: {
|
|
2509
|
-
const _$42$
|
|
2510
|
-
|
|
2511
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2512
|
-
|
|
2509
|
+
const _$42$arg_372 = _x_363._0;
|
|
2510
|
+
_x_364.method_table.method_0(_x_364.self, "Anchor(");
|
|
2511
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_372);
|
|
2512
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2513
2513
|
return;
|
|
2514
2514
|
}
|
|
2515
2515
|
case 18: {
|
|
2516
|
-
const _$42$
|
|
2517
|
-
|
|
2518
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2519
|
-
|
|
2516
|
+
const _$42$arg_373 = _x_363._0;
|
|
2517
|
+
_x_364.method_table.method_0(_x_364.self, "Alias(");
|
|
2518
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_373);
|
|
2519
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2520
2520
|
return;
|
|
2521
2521
|
}
|
|
2522
2522
|
case 19: {
|
|
2523
|
-
const _$42$
|
|
2524
|
-
|
|
2525
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2526
|
-
|
|
2523
|
+
const _$42$arg_374 = _x_363._0;
|
|
2524
|
+
_x_364.method_table.method_0(_x_364.self, "Comment(");
|
|
2525
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_374);
|
|
2526
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2527
2527
|
return;
|
|
2528
2528
|
}
|
|
2529
2529
|
case 20: {
|
|
2530
|
-
const _$42$
|
|
2531
|
-
|
|
2532
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2533
|
-
|
|
2530
|
+
const _$42$arg_375 = _x_363._0;
|
|
2531
|
+
_x_364.method_table.method_0(_x_364.self, "Whitespace(");
|
|
2532
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_375);
|
|
2533
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2534
2534
|
return;
|
|
2535
2535
|
}
|
|
2536
2536
|
case 21:
|
|
2537
|
-
|
|
2537
|
+
_x_364.method_table.method_0(_x_364.self, "Newline");
|
|
2538
2538
|
return;
|
|
2539
2539
|
case 22:
|
|
2540
|
-
|
|
2540
|
+
_x_364.method_table.method_0(_x_364.self, "DocumentStart");
|
|
2541
2541
|
return;
|
|
2542
2542
|
case 23:
|
|
2543
|
-
|
|
2543
|
+
_x_364.method_table.method_0(_x_364.self, "DocumentEnd");
|
|
2544
2544
|
return;
|
|
2545
2545
|
case 24:
|
|
2546
|
-
|
|
2546
|
+
_x_364.method_table.method_0(_x_364.self, "Eof");
|
|
2547
2547
|
return;
|
|
2548
2548
|
default: {
|
|
2549
|
-
const _$42$
|
|
2550
|
-
|
|
2551
|
-
moonbitlang$core$builtin$$Logger$write_object$3$(
|
|
2552
|
-
|
|
2549
|
+
const _$42$arg_376 = _x_363._0;
|
|
2550
|
+
_x_364.method_table.method_0(_x_364.self, "Invalid(");
|
|
2551
|
+
moonbitlang$core$builtin$$Logger$write_object$3$(_x_364, _$42$arg_376);
|
|
2552
|
+
_x_364.method_table.method_0(_x_364.self, ")");
|
|
2553
2553
|
return;
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
@@ -4027,7 +4027,7 @@ function f4ah6o$yyjj$yaml$$Parser$parse_mapping_with_first_key(self, first_key,
|
|
|
4027
4027
|
value = new $64$f4ah6o$47$yyjj$47$yaml$46$YamlNode$YNull(f4ah6o$yyjj$common$$Trivia$empty());
|
|
4028
4028
|
} else if (has_indent && has_key_after) {
|
|
4029
4029
|
if (first_key === "name" || first_key === "true" || first_key === "on") moonbitlang$core$builtin$$println$3$(`parse_mapping_with_first_key: calling parse_indented_mapping for key=${key}`);
|
|
4030
|
-
const _bind$2$1 = f4ah6o$yyjj$yaml$$Parser$parse_indented_mapping(self,
|
|
4030
|
+
const _bind$2$1 = f4ah6o$yyjj$yaml$$Parser$parse_indented_mapping(self, f4ah6o$yyjj$yaml$$Parser$flush_leading(self));
|
|
4031
4031
|
if (_bind$2$1.$tag === 1) value = _bind$2$1._0;
|
|
4032
4032
|
else {
|
|
4033
4033
|
const _e = _bind$2$1._0;
|