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