@eagleoutice/flowr 2.17.1 → 2.17.2

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.
Files changed (79) hide show
  1. package/control-flow/semantic-cfg-guided-visitor.js +2 -0
  2. package/dataflow/environments/ambient-state-name.d.ts +4 -0
  3. package/dataflow/environments/ambient-state-name.js +4 -0
  4. package/dataflow/environments/built-in-proc-name.d.ts +4 -0
  5. package/dataflow/environments/built-in-proc-name.js +4 -0
  6. package/dataflow/environments/built-in-props.d.ts +2 -0
  7. package/dataflow/environments/built-in-props.js +3 -1
  8. package/dataflow/environments/built-in.d.ts +16 -6
  9. package/dataflow/environments/built-in.js +45 -4
  10. package/dataflow/environments/default-builtin-config.d.ts +846 -21
  11. package/dataflow/environments/default-builtin-config.js +120 -26
  12. package/dataflow/environments/environment.d.ts +19 -2
  13. package/dataflow/environments/environment.js +90 -19
  14. package/dataflow/environments/identifier.d.ts +18 -0
  15. package/dataflow/environments/query-fn-props.js +4 -3
  16. package/dataflow/environments/resolve-by-name.js +5 -3
  17. package/dataflow/eval/resolve/node-value.d.ts +1 -1
  18. package/dataflow/eval/resolve/node-value.js +2 -2
  19. package/dataflow/eval/resolve/resolve-argument.js +1 -1
  20. package/dataflow/extractor.js +20 -4
  21. package/dataflow/graph/df-helper.d.ts +34 -1
  22. package/dataflow/graph/df-helper.js +60 -0
  23. package/dataflow/info.d.ts +2 -0
  24. package/dataflow/info.js +4 -0
  25. package/dataflow/internal/linker.js +21 -5
  26. package/dataflow/internal/process/functions/call/built-in/built-in-ambient-keys.d.ts +4 -0
  27. package/dataflow/internal/process/functions/call/built-in/built-in-ambient-keys.js +3 -0
  28. package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.d.ts +18 -2
  29. package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.js +144 -30
  30. package/dataflow/internal/process/functions/call/built-in/built-in-apply.d.ts +1 -1
  31. package/dataflow/internal/process/functions/call/built-in/built-in-apply.js +2 -1
  32. package/dataflow/internal/process/functions/call/built-in/built-in-assignment.d.ts +1 -1
  33. package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +10 -0
  34. package/dataflow/internal/process/functions/call/built-in/built-in-attach.d.ts +8 -4
  35. package/dataflow/internal/process/functions/call/built-in/built-in-attach.js +43 -8
  36. package/dataflow/internal/process/functions/call/built-in/built-in-env-contents.d.ts +1 -1
  37. package/dataflow/internal/process/functions/call/built-in/built-in-env-contents.js +5 -4
  38. package/dataflow/internal/process/functions/call/built-in/built-in-eval.js +67 -3
  39. package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +4 -2
  40. package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +27 -3
  41. package/dataflow/internal/process/functions/call/built-in/built-in-get.d.ts +1 -1
  42. package/dataflow/internal/process/functions/call/built-in/built-in-get.js +2 -14
  43. package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.js +1 -7
  44. package/dataflow/internal/process/functions/call/built-in/built-in-library.d.ts +28 -10
  45. package/dataflow/internal/process/functions/call/built-in/built-in-library.js +134 -88
  46. package/dataflow/internal/process/functions/call/built-in/built-in-load.d.ts +1 -1
  47. package/dataflow/internal/process/functions/call/built-in/built-in-load.js +87 -10
  48. package/dataflow/internal/process/functions/call/built-in/built-in-local.d.ts +8 -0
  49. package/dataflow/internal/process/functions/call/built-in/built-in-local.js +23 -12
  50. package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +7 -1
  51. package/dataflow/internal/process/functions/call/built-in/built-in-source.js +28 -10
  52. package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.js +1 -1
  53. package/dataflow/internal/process/functions/call/built-in/built-in-with.js +7 -5
  54. package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.d.ts +2 -2
  55. package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.js +18 -15
  56. package/dataflow/internal/process/functions/call/named-call-handling.js +8 -4
  57. package/dataflow/internal/process/functions/call/quoted.d.ts +2 -0
  58. package/dataflow/internal/process/functions/call/quoted.js +8 -7
  59. package/documentation/wiki-dataflow-graph.js +20 -1
  60. package/linter/rules/undefined-symbol.js +2 -2
  61. package/package.json +1 -1
  62. package/project/attached-packages.d.ts +11 -6
  63. package/project/attached-packages.js +37 -9
  64. package/queries/catalog/signature-query/signature-query-executor.js +15 -1
  65. package/queries/catalog/signature-query/signature-query-format.d.ts +3 -2
  66. package/r-bridge/data/data.d.ts +2 -2
  67. package/r-bridge/data/data.js +2 -2
  68. package/r-bridge/lang-4.x/ast/model/model.d.ts +2 -0
  69. package/r-bridge/lang-4.x/ast/model/model.js +6 -1
  70. package/r-bridge/lang-4.x/ast/model/processing/node-id.d.ts +6 -1
  71. package/r-bridge/lang-4.x/ast/model/processing/node-id.js +12 -1
  72. package/reconstruct/reconstruct.js +2 -5
  73. package/search/search-executor/search-enrichers.js +17 -2
  74. package/search/search-executor/search-generators.js +6 -2
  75. package/slicing/static/slice-call.d.ts +16 -0
  76. package/slicing/static/slice-call.js +42 -0
  77. package/slicing/static/static-slicer.js +6 -0
  78. package/util/flowr-version.d.ts +1 -1
  79. package/util/flowr-version.js +2 -2
@@ -430,10 +430,32 @@ export declare const WrittenBuiltinDefinitions: [{
430
430
  readonly config: {
431
431
  readonly libFn: true;
432
432
  readonly props: CallProp.Pure;
433
+ readonly ambient: readonly [{
434
+ readonly type: AmbientStateAccessType.ReadState;
435
+ readonly state: "#project-root";
436
+ }, {
437
+ readonly type: AmbientStateAccessType.ReadState;
438
+ readonly state: "#wd";
439
+ }];
433
440
  readonly sig: [["...", number]];
434
441
  };
435
442
  readonly assumePrimitive: false;
436
443
  readonly evalHandler: BuiltInEvalName.StringFn;
444
+ }, {
445
+ readonly type: "function";
446
+ readonly names: [Identifier];
447
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
448
+ readonly config: {
449
+ readonly libFn: true;
450
+ readonly props: number;
451
+ readonly ambient: {
452
+ readonly type: AmbientStateAccessType.SetState;
453
+ readonly state: "#project-root";
454
+ };
455
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
456
+ readonly sig: [["path", number], ["...", number]];
457
+ };
458
+ readonly assumePrimitive: false;
437
459
  }, {
438
460
  readonly type: "function";
439
461
  readonly names: Identifier[];
@@ -822,13 +844,36 @@ export declare const WrittenBuiltinDefinitions: [{
822
844
  }, {
823
845
  readonly type: "function";
824
846
  readonly names: [Identifier];
825
- readonly processor: BuiltInProcName.DefaultReadAllArgs;
847
+ readonly processor: BuiltInProcName.Default;
826
848
  readonly config: {
827
- readonly props: CallProp.Invisible;
849
+ readonly readAllArguments: true;
850
+ readonly hasUnknownSideEffects: true;
851
+ readonly props: number;
852
+ readonly ambient: {
853
+ readonly type: AmbientStateAccessType.SetState;
854
+ readonly state: string;
855
+ }[];
828
856
  readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
829
857
  readonly sig: [["path", number], ["...", number]];
830
858
  };
831
859
  readonly assumePrimitive: false;
860
+ }, {
861
+ readonly type: "function";
862
+ readonly names: [Identifier];
863
+ readonly processor: BuiltInProcName.Default;
864
+ readonly config: {
865
+ readonly libFn: true;
866
+ readonly readAllArguments: true;
867
+ readonly hasUnknownSideEffects: true;
868
+ readonly props: number;
869
+ readonly ambient: {
870
+ readonly type: AmbientStateAccessType.SetState;
871
+ readonly state: string;
872
+ }[];
873
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
874
+ readonly sig: [["file", number], ["...", number]];
875
+ };
876
+ readonly assumePrimitive: false;
832
877
  }, {
833
878
  readonly type: "function";
834
879
  readonly names: [Identifier];
@@ -1413,7 +1458,7 @@ export declare const WrittenBuiltinDefinitions: [{
1413
1458
  readonly assumePrimitive: false;
1414
1459
  }, {
1415
1460
  readonly type: "function";
1416
- readonly names: [Identifier];
1461
+ readonly names: Identifier[];
1417
1462
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
1418
1463
  readonly config: {
1419
1464
  readonly libFn: true;
@@ -1955,8 +2000,9 @@ export declare const WrittenBuiltinDefinitions: [{
1955
2000
  }, {
1956
2001
  readonly type: "function";
1957
2002
  readonly names: [Identifier];
1958
- readonly processor: BuiltInProcName.DefaultReadAllArgs;
2003
+ readonly processor: BuiltInProcName.Get;
1959
2004
  readonly config: {
2005
+ readonly returnsValue: false;
1960
2006
  readonly props: CallProp.Invisible;
1961
2007
  readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
1962
2008
  readonly sig: [["list", number], ["file", number], ["...", number]];
@@ -2270,7 +2316,7 @@ export declare const WrittenBuiltinDefinitions: [{
2270
2316
  readonly assumePrimitive: false;
2271
2317
  }, {
2272
2318
  readonly type: "function";
2273
- readonly names: [Identifier];
2319
+ readonly names: Identifier[];
2274
2320
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
2275
2321
  readonly config: {
2276
2322
  readonly props: CallProp.Invisible;
@@ -2713,6 +2759,16 @@ export declare const WrittenBuiltinDefinitions: [{
2713
2759
  readonly sig: [["x", number], ["file", number], ["...", number]];
2714
2760
  };
2715
2761
  readonly assumePrimitive: false;
2762
+ }, {
2763
+ readonly type: "function";
2764
+ readonly names: Identifier[];
2765
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
2766
+ readonly config: {
2767
+ readonly libFn: true;
2768
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
2769
+ readonly sig: [["file", number], ["...", number]];
2770
+ };
2771
+ readonly assumePrimitive: false;
2716
2772
  }, {
2717
2773
  readonly type: "function";
2718
2774
  readonly names: [Identifier];
@@ -3237,11 +3293,29 @@ export declare const WrittenBuiltinDefinitions: [{
3237
3293
  readonly assumePrimitive: false;
3238
3294
  }, {
3239
3295
  readonly type: "function";
3240
- readonly names: [Identifier];
3296
+ readonly names: Identifier[];
3241
3297
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
3242
3298
  readonly config: {
3243
3299
  readonly libFn: true;
3244
- readonly tags: [SemanticCallTag.Opens, SemanticCallTag.Database];
3300
+ readonly ambient: readonly [{
3301
+ readonly type: AmbientStateAccessType.ReadFiles;
3302
+ readonly sig: FnSig;
3303
+ }, {
3304
+ readonly type: AmbientStateAccessType.WriteFiles;
3305
+ readonly sig: FnSig;
3306
+ }];
3307
+ readonly tags: [SemanticCallTag.Opens, SemanticCallTag.Database, SemanticCallTag.File, SemanticCallTag.Reads, SemanticCallTag.Writes];
3308
+ readonly sig: FnSig;
3309
+ };
3310
+ readonly assumePrimitive: false;
3311
+ }, {
3312
+ readonly type: "function";
3313
+ readonly names: Identifier[];
3314
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
3315
+ readonly config: {
3316
+ readonly props: CallProp.Invisible;
3317
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
3318
+ readonly sig: [["con", number], ["...", number]];
3245
3319
  };
3246
3320
  readonly assumePrimitive: false;
3247
3321
  }, {
@@ -3387,6 +3461,178 @@ export declare const WrittenBuiltinDefinitions: [{
3387
3461
  };
3388
3462
  };
3389
3463
  readonly assumePrimitive: false;
3464
+ }, {
3465
+ readonly type: "function";
3466
+ readonly names: [Identifier];
3467
+ readonly processor: BuiltInProcName.Default;
3468
+ readonly config: {
3469
+ readonly libFn: true;
3470
+ readonly props: CallProp.Configures;
3471
+ readonly scope: {
3472
+ readonly state: "wd";
3473
+ readonly params: readonly ["new", "code"];
3474
+ readonly code: "code";
3475
+ };
3476
+ };
3477
+ readonly assumePrimitive: false;
3478
+ }, {
3479
+ readonly type: "function";
3480
+ readonly names: [Identifier];
3481
+ readonly processor: BuiltInProcName.Default;
3482
+ readonly config: {
3483
+ readonly libFn: true;
3484
+ readonly props: number;
3485
+ readonly scope: {
3486
+ readonly state: "wd";
3487
+ readonly params: readonly ["new", ".local_envir"];
3488
+ };
3489
+ };
3490
+ readonly assumePrimitive: false;
3491
+ }, {
3492
+ readonly type: "function";
3493
+ readonly names: [Identifier];
3494
+ readonly processor: BuiltInProcName.Default;
3495
+ readonly config: {
3496
+ readonly libFn: true;
3497
+ readonly props: CallProp.Configures;
3498
+ readonly scope: {
3499
+ readonly state: KeyedState.Env;
3500
+ readonly params: readonly ["new", "code", "action"];
3501
+ readonly new: "new";
3502
+ readonly code: "code";
3503
+ };
3504
+ };
3505
+ readonly assumePrimitive: false;
3506
+ }, {
3507
+ readonly type: "function";
3508
+ readonly names: [Identifier];
3509
+ readonly processor: BuiltInProcName.Default;
3510
+ readonly config: {
3511
+ readonly libFn: true;
3512
+ readonly props: number;
3513
+ readonly scope: {
3514
+ readonly state: KeyedState.Env;
3515
+ readonly params: readonly [".new", "...", "action", ".local_envir"];
3516
+ readonly new: ".new";
3517
+ };
3518
+ };
3519
+ readonly assumePrimitive: false;
3520
+ }, {
3521
+ readonly type: "function";
3522
+ readonly names: [Identifier];
3523
+ readonly processor: BuiltInProcName.Default;
3524
+ readonly config: {
3525
+ readonly libFn: true;
3526
+ readonly props: CallProp.Configures;
3527
+ readonly scope: {
3528
+ readonly state: KeyedState.Locale;
3529
+ readonly params: readonly ["new", "code"];
3530
+ readonly new: "new";
3531
+ readonly code: "code";
3532
+ };
3533
+ };
3534
+ readonly assumePrimitive: false;
3535
+ }, {
3536
+ readonly type: "function";
3537
+ readonly names: [Identifier];
3538
+ readonly processor: BuiltInProcName.Default;
3539
+ readonly config: {
3540
+ readonly libFn: true;
3541
+ readonly props: number;
3542
+ readonly scope: {
3543
+ readonly state: KeyedState.Locale;
3544
+ readonly params: readonly [".new", "...", ".local_envir"];
3545
+ readonly new: ".new";
3546
+ };
3547
+ };
3548
+ readonly assumePrimitive: false;
3549
+ }, {
3550
+ readonly type: "function";
3551
+ readonly names: [Identifier];
3552
+ readonly processor: BuiltInProcName.Default;
3553
+ readonly config: {
3554
+ readonly libFn: true;
3555
+ readonly props: CallProp.Configures;
3556
+ readonly scope: {
3557
+ readonly state: KeyedState.Locale;
3558
+ readonly params: readonly ["new", "code"];
3559
+ readonly new: "new";
3560
+ readonly code: "code";
3561
+ };
3562
+ };
3563
+ readonly assumePrimitive: false;
3564
+ }, {
3565
+ readonly type: "function";
3566
+ readonly names: [Identifier];
3567
+ readonly processor: BuiltInProcName.Default;
3568
+ readonly config: {
3569
+ readonly libFn: true;
3570
+ readonly props: number;
3571
+ readonly scope: {
3572
+ readonly state: KeyedState.Locale;
3573
+ readonly params: readonly ["new", ".local_envir"];
3574
+ readonly new: "new";
3575
+ };
3576
+ };
3577
+ readonly assumePrimitive: false;
3578
+ }, {
3579
+ readonly type: "function";
3580
+ readonly names: [Identifier];
3581
+ readonly processor: BuiltInProcName.Default;
3582
+ readonly config: {
3583
+ readonly libFn: true;
3584
+ readonly props: CallProp.Configures;
3585
+ readonly scope: {
3586
+ readonly state: KeyedState.Env;
3587
+ readonly params: readonly ["tz", "code"];
3588
+ readonly new: "tz";
3589
+ readonly code: "code";
3590
+ };
3591
+ };
3592
+ readonly assumePrimitive: false;
3593
+ }, {
3594
+ readonly type: "function";
3595
+ readonly names: [Identifier];
3596
+ readonly processor: BuiltInProcName.Default;
3597
+ readonly config: {
3598
+ readonly libFn: true;
3599
+ readonly props: number;
3600
+ readonly scope: {
3601
+ readonly state: KeyedState.Env;
3602
+ readonly params: readonly ["tz", ".local_envir"];
3603
+ readonly new: "tz";
3604
+ };
3605
+ };
3606
+ readonly assumePrimitive: false;
3607
+ }, {
3608
+ readonly type: "function";
3609
+ readonly names: [Identifier];
3610
+ readonly processor: BuiltInProcName.Default;
3611
+ readonly config: {
3612
+ readonly libFn: true;
3613
+ readonly props: CallProp.Configures;
3614
+ readonly scope: {
3615
+ readonly state: KeyedState.Env;
3616
+ readonly params: readonly ["lang", "code"];
3617
+ readonly new: "lang";
3618
+ readonly code: "code";
3619
+ };
3620
+ };
3621
+ readonly assumePrimitive: false;
3622
+ }, {
3623
+ readonly type: "function";
3624
+ readonly names: [Identifier];
3625
+ readonly processor: BuiltInProcName.Default;
3626
+ readonly config: {
3627
+ readonly libFn: true;
3628
+ readonly props: number;
3629
+ readonly scope: {
3630
+ readonly state: KeyedState.Env;
3631
+ readonly params: readonly ["lang", ".local_envir"];
3632
+ readonly new: "lang";
3633
+ };
3634
+ };
3635
+ readonly assumePrimitive: false;
3390
3636
  }, {
3391
3637
  readonly type: "function";
3392
3638
  readonly names: Identifier[];
@@ -3429,6 +3675,34 @@ export declare const WrittenBuiltinDefinitions: [{
3429
3675
  };
3430
3676
  };
3431
3677
  readonly assumePrimitive: false;
3678
+ }, {
3679
+ readonly type: "function";
3680
+ readonly names: [Identifier];
3681
+ readonly processor: BuiltInProcName.Default;
3682
+ readonly config: {
3683
+ readonly libFn: true;
3684
+ readonly scope: {
3685
+ readonly state: "rng";
3686
+ readonly params: readonly ["code"];
3687
+ readonly code: "code";
3688
+ readonly preserve: true;
3689
+ };
3690
+ };
3691
+ readonly assumePrimitive: false;
3692
+ }, {
3693
+ readonly type: "function";
3694
+ readonly names: [Identifier];
3695
+ readonly processor: BuiltInProcName.Default;
3696
+ readonly config: {
3697
+ readonly libFn: true;
3698
+ readonly props: CallProp.Invisible;
3699
+ readonly scope: {
3700
+ readonly state: "rng";
3701
+ readonly params: readonly [".local_envir"];
3702
+ readonly preserve: true;
3703
+ };
3704
+ };
3705
+ readonly assumePrimitive: false;
3432
3706
  }, {
3433
3707
  readonly type: "function";
3434
3708
  readonly names: [Identifier];
@@ -3517,6 +3791,7 @@ export declare const WrittenBuiltinDefinitions: [{
3517
3791
  readonly names: [Identifier];
3518
3792
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
3519
3793
  readonly config: {
3794
+ readonly namesIn: readonly ["...", "list"];
3520
3795
  readonly props: CallProp.Invisible;
3521
3796
  readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
3522
3797
  readonly sig: [["...", number], ["list", number], ["file", number]];
@@ -3525,7 +3800,7 @@ export declare const WrittenBuiltinDefinitions: [{
3525
3800
  }, {
3526
3801
  readonly type: "function";
3527
3802
  readonly names: [Identifier];
3528
- readonly processor: BuiltInProcName.DefaultReadAllArgs;
3803
+ readonly processor: BuiltInProcName.EnvContents;
3529
3804
  readonly config: {
3530
3805
  readonly props: CallProp.Invisible;
3531
3806
  readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
@@ -3552,7 +3827,46 @@ export declare const WrittenBuiltinDefinitions: [{
3552
3827
  readonly assumePrimitive: false;
3553
3828
  }, {
3554
3829
  readonly type: "function";
3555
- readonly names: Identifier[];
3830
+ readonly names: [Identifier];
3831
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
3832
+ readonly config: {
3833
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
3834
+ readonly sig: [["path", number]];
3835
+ };
3836
+ readonly assumePrimitive: false;
3837
+ }, {
3838
+ readonly type: "function";
3839
+ readonly names: [Identifier];
3840
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
3841
+ readonly config: {
3842
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
3843
+ readonly sig: [["names", number], ["mode", number]];
3844
+ };
3845
+ readonly assumePrimitive: false;
3846
+ }, {
3847
+ readonly type: "function";
3848
+ readonly names: [Identifier];
3849
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
3850
+ readonly config: {
3851
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
3852
+ readonly sig: [["op", number], ["x", number], ["y", number]];
3853
+ };
3854
+ readonly assumePrimitive: false;
3855
+ }, {
3856
+ readonly type: "function";
3857
+ readonly names: [Identifier, ...Identifier[]];
3858
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
3859
+ readonly config: {
3860
+ readonly ambient: {
3861
+ readonly type: AmbientStateAccessType.GetWorkingDirectory;
3862
+ };
3863
+ readonly props: CallProp.Ambient;
3864
+ readonly sig: [["path", number], ["winslash", number], ["mustWork", number]];
3865
+ };
3866
+ readonly assumePrimitive: false;
3867
+ }, {
3868
+ readonly type: "function";
3869
+ readonly names: Identifier[];
3556
3870
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
3557
3871
  readonly config: {
3558
3872
  readonly props: CallProp.Invisible;
@@ -3635,10 +3949,10 @@ export declare const WrittenBuiltinDefinitions: [{
3635
3949
  }, {
3636
3950
  readonly type: "function";
3637
3951
  readonly names: [Identifier];
3638
- readonly processor: BuiltInProcName.DefaultReadAllArgs;
3952
+ readonly processor: BuiltInProcName.Default;
3639
3953
  readonly config: {
3640
3954
  readonly props: CallProp.Lang;
3641
- readonly sig: [["...", 0]];
3955
+ readonly sig: [["...", ArgProp.Nse]];
3642
3956
  };
3643
3957
  readonly assumePrimitive: true;
3644
3958
  }, {
@@ -3696,7 +4010,6 @@ export declare const WrittenBuiltinDefinitions: [{
3696
4010
  readonly from: "argument-names";
3697
4011
  };
3698
4012
  };
3699
- readonly hasUnknownSideEffects: true;
3700
4013
  readonly props: number;
3701
4014
  readonly sig: [["...", ArgProp.Forced]];
3702
4015
  };
@@ -3717,7 +4030,6 @@ export declare const WrittenBuiltinDefinitions: [{
3717
4030
  readonly names: readonly [string];
3718
4031
  };
3719
4032
  };
3720
- readonly hasUnknownSideEffects: true;
3721
4033
  readonly props: number;
3722
4034
  readonly sig: [["...", ArgProp.Forced]];
3723
4035
  };
@@ -4415,6 +4727,21 @@ export declare const WrittenBuiltinDefinitions: [{
4415
4727
  readonly sig: [["...", ArgProp.Forced]];
4416
4728
  };
4417
4729
  readonly assumePrimitive: true;
4730
+ }, {
4731
+ readonly type: "function";
4732
+ readonly names: Identifier[];
4733
+ readonly processor: BuiltInProcName.Default;
4734
+ readonly config: {
4735
+ readonly props: CallProp.Ambient;
4736
+ readonly libFn: true;
4737
+ readonly ambient: {
4738
+ readonly type: AmbientStateAccessType.ReadState;
4739
+ readonly state: "#device" | "#device:other";
4740
+ }[];
4741
+ readonly tags: [SemanticCallTag.Graphics];
4742
+ readonly sig: [["...", ArgProp.Forced]];
4743
+ };
4744
+ readonly assumePrimitive: false;
4418
4745
  }, {
4419
4746
  readonly type: "function";
4420
4747
  readonly names: Identifier[];
@@ -4459,6 +4786,7 @@ export declare const WrittenBuiltinDefinitions: [{
4459
4786
  readonly type: AmbientStateAccessType.SetWorkingDirectory;
4460
4787
  };
4461
4788
  readonly props: number;
4789
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
4462
4790
  readonly sig: [["dir", number]];
4463
4791
  };
4464
4792
  readonly assumePrimitive: false;
@@ -4489,6 +4817,20 @@ export declare const WrittenBuiltinDefinitions: [{
4489
4817
  readonly sig: [["seed", number], ["kind", number], ["normal.kind", number], ["sample.kind", number]];
4490
4818
  };
4491
4819
  readonly assumePrimitive: false;
4820
+ }, {
4821
+ readonly type: "function";
4822
+ readonly names: [Identifier];
4823
+ readonly processor: BuiltInProcName.Default;
4824
+ readonly config: {
4825
+ readonly ambient: {
4826
+ readonly type: AmbientStateAccessType.SetRng;
4827
+ readonly kindFrom: 0;
4828
+ };
4829
+ readonly props: number;
4830
+ readonly tags: [SemanticCallTag.Random];
4831
+ readonly sig: [["vstr", number]];
4832
+ };
4833
+ readonly assumePrimitive: false;
4492
4834
  }, {
4493
4835
  readonly type: "function";
4494
4836
  readonly names: [Identifier];
@@ -4513,6 +4855,94 @@ export declare const WrittenBuiltinDefinitions: [{
4513
4855
  readonly sig: [["fun", number]];
4514
4856
  };
4515
4857
  readonly assumePrimitive: true;
4858
+ }, {
4859
+ readonly type: "function";
4860
+ readonly names: Identifier[];
4861
+ readonly processor: BuiltInProcName.Default;
4862
+ readonly config: {
4863
+ readonly libFn: true;
4864
+ readonly readAllArguments: true;
4865
+ readonly hasUnknownSideEffects: true;
4866
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
4867
+ readonly sig: [["file", number], ["...", number]];
4868
+ };
4869
+ readonly assumePrimitive: false;
4870
+ }, {
4871
+ readonly type: "function";
4872
+ readonly names: [Identifier];
4873
+ readonly processor: BuiltInProcName.Default;
4874
+ readonly config: {
4875
+ readonly libFn: true;
4876
+ readonly hasUnknownSideEffects: true;
4877
+ readonly sig: [["code", number], ["...", number]];
4878
+ };
4879
+ readonly assumePrimitive: false;
4880
+ }, {
4881
+ readonly type: "function";
4882
+ readonly names: [Identifier];
4883
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
4884
+ readonly config: {
4885
+ readonly libFn: true;
4886
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
4887
+ readonly sig: [["value", number], ["config", number], ["file", number], ["use_parent", number]];
4888
+ };
4889
+ readonly assumePrimitive: false;
4890
+ }, {
4891
+ readonly type: "function";
4892
+ readonly names: Identifier[];
4893
+ readonly processor: BuiltInProcName.Default;
4894
+ readonly config: {
4895
+ readonly libFn: true;
4896
+ readonly hasUnknownSideEffects: true;
4897
+ readonly props: CallProp.Configures;
4898
+ readonly sig: [["project", number], ["...", number]];
4899
+ };
4900
+ readonly assumePrimitive: false;
4901
+ }, {
4902
+ readonly type: "function";
4903
+ readonly names: [Identifier];
4904
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
4905
+ readonly config: {
4906
+ readonly libFn: true;
4907
+ readonly props: CallProp.Invisible;
4908
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
4909
+ readonly sig: [["project", number], ["...", number], ["library", number], ["lockfile", number]];
4910
+ };
4911
+ readonly assumePrimitive: false;
4912
+ }, {
4913
+ readonly type: "function";
4914
+ readonly names: [Identifier];
4915
+ readonly processor: BuiltInProcName.Default;
4916
+ readonly config: {
4917
+ readonly props: CallProp.Configures;
4918
+ readonly ambient: {
4919
+ readonly type: AmbientStateAccessType.SetState;
4920
+ readonly state: "#lib-paths";
4921
+ readonly queryWithoutArguments: true;
4922
+ };
4923
+ readonly sig: [["new", number], ["include.site", number]];
4924
+ };
4925
+ readonly assumePrimitive: false;
4926
+ }, {
4927
+ readonly type: "function";
4928
+ readonly names: [Identifier];
4929
+ readonly processor: BuiltInProcName.Default;
4930
+ readonly config: {
4931
+ readonly hasUnknownSideEffects: true;
4932
+ readonly props: CallProp.Configures;
4933
+ readonly sig: [["f", number], ["data", number], ["name", number]];
4934
+ };
4935
+ readonly assumePrimitive: false;
4936
+ }, {
4937
+ readonly type: "function";
4938
+ readonly names: [Identifier];
4939
+ readonly processor: BuiltInProcName.Default;
4940
+ readonly config: {
4941
+ readonly hasUnknownSideEffects: true;
4942
+ readonly props: CallProp.Configures;
4943
+ readonly sig: [["hookName", number], ["value", number], ["action", number]];
4944
+ };
4945
+ readonly assumePrimitive: false;
4516
4946
  }, {
4517
4947
  readonly type: "function";
4518
4948
  readonly names: [Identifier];
@@ -4724,9 +5154,10 @@ export declare const WrittenBuiltinDefinitions: [{
4724
5154
  }, {
4725
5155
  readonly type: "function";
4726
5156
  readonly names: [Identifier];
4727
- readonly processor: BuiltInProcName.Default;
5157
+ readonly processor: BuiltInProcName.Source;
4728
5158
  readonly config: {
4729
- readonly hasUnknownSideEffects: true;
5159
+ readonly includeFunctionCall: true;
5160
+ readonly envIn: "envir";
4730
5161
  readonly props: CallProp.Invisible;
4731
5162
  readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads, SemanticCallTag.Eval];
4732
5163
  readonly sig: [["file", number], ["envir", number]];
@@ -4954,6 +5385,151 @@ export declare const WrittenBuiltinDefinitions: [{
4954
5385
  readonly sig: [["ns", ArgProp.NoDefault], ["pos", 0], ["depends", 0], ["exclude", ArgProp.NoDefault], ["include.only", ArgProp.NoDefault]];
4955
5386
  };
4956
5387
  readonly assumePrimitive: false;
5388
+ }, {
5389
+ readonly type: "function";
5390
+ readonly names: Identifier[];
5391
+ readonly processor: BuiltInProcName.Prefer;
5392
+ readonly config: {
5393
+ readonly libFn: true;
5394
+ readonly ambient: {
5395
+ readonly type: AmbientStateAccessType.SetKeyed;
5396
+ readonly state: KeyedState.SearchPath;
5397
+ readonly keys: {
5398
+ readonly from: "constant";
5399
+ readonly key: ".conflicts";
5400
+ };
5401
+ };
5402
+ readonly props: number;
5403
+ readonly tags: [SemanticCallTag.AttachesPackage];
5404
+ readonly sig: [["...", ArgProp.NoDefault]];
5405
+ };
5406
+ readonly assumePrimitive: false;
5407
+ }, {
5408
+ readonly type: "function";
5409
+ readonly names: Identifier[];
5410
+ readonly processor: BuiltInProcName.Default;
5411
+ readonly config: {
5412
+ readonly libFn: true;
5413
+ readonly hasUnknownSideEffects: true;
5414
+ readonly props: number;
5415
+ readonly sig: [["...", number]];
5416
+ };
5417
+ readonly assumePrimitive: false;
5418
+ }, {
5419
+ readonly type: "function";
5420
+ readonly names: [Identifier, Identifier];
5421
+ readonly processor: BuiltInProcName.Library;
5422
+ readonly config: {
5423
+ readonly libFn: true;
5424
+ readonly packagesInDots: true;
5425
+ readonly namesInDots: true;
5426
+ readonly ambient: {
5427
+ readonly type: AmbientStateAccessType.SetKeyed;
5428
+ readonly state: KeyedState.SearchPath;
5429
+ readonly keys: {
5430
+ readonly from: "unnamed";
5431
+ readonly quoted: boolean;
5432
+ };
5433
+ };
5434
+ readonly props: number;
5435
+ readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
5436
+ };
5437
+ readonly assumePrimitive: false;
5438
+ }, {
5439
+ readonly type: "function";
5440
+ readonly names: [Identifier];
5441
+ readonly processor: BuiltInProcName.Library;
5442
+ readonly config: {
5443
+ readonly libFn: true;
5444
+ readonly formals: readonly ["pkg", "date"];
5445
+ readonly ambient: {
5446
+ readonly type: AmbientStateAccessType.SetKeyed;
5447
+ readonly state: KeyedState.SearchPath;
5448
+ readonly keys: {
5449
+ readonly from: "unnamed";
5450
+ readonly quoted: boolean;
5451
+ };
5452
+ };
5453
+ readonly props: number;
5454
+ readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
5455
+ };
5456
+ readonly assumePrimitive: false;
5457
+ }, {
5458
+ readonly type: "function";
5459
+ readonly names: [Identifier];
5460
+ readonly processor: BuiltInProcName.Library;
5461
+ readonly config: {
5462
+ readonly packagesInDots: true;
5463
+ readonly evaluatedIn: "char";
5464
+ readonly ambient: {
5465
+ readonly type: AmbientStateAccessType.SetKeyed;
5466
+ readonly state: KeyedState.SearchPath;
5467
+ readonly keys: {
5468
+ readonly from: "unnamed";
5469
+ readonly quoted: boolean;
5470
+ };
5471
+ };
5472
+ readonly props: number;
5473
+ readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
5474
+ };
5475
+ readonly assumePrimitive: false;
5476
+ }, {
5477
+ readonly type: "function";
5478
+ readonly names: [Identifier];
5479
+ readonly processor: BuiltInProcName.Library;
5480
+ readonly config: {
5481
+ readonly packagesInDots: true;
5482
+ readonly stripRepo: true;
5483
+ readonly ambient: {
5484
+ readonly type: AmbientStateAccessType.SetKeyed;
5485
+ readonly state: KeyedState.SearchPath;
5486
+ readonly keys: {
5487
+ readonly from: "unnamed";
5488
+ readonly quoted: boolean;
5489
+ };
5490
+ };
5491
+ readonly props: number;
5492
+ readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
5493
+ };
5494
+ readonly assumePrimitive: false;
5495
+ }, {
5496
+ readonly type: "function";
5497
+ readonly names: Identifier[];
5498
+ readonly processor: BuiltInProcName.Library;
5499
+ readonly config: {
5500
+ readonly packagesInDots: true;
5501
+ readonly characterOnly: true;
5502
+ readonly ambient: {
5503
+ readonly type: AmbientStateAccessType.SetKeyed;
5504
+ readonly state: KeyedState.SearchPath;
5505
+ readonly keys: {
5506
+ readonly from: "unnamed";
5507
+ readonly quoted: boolean;
5508
+ };
5509
+ };
5510
+ readonly props: number;
5511
+ readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
5512
+ };
5513
+ readonly assumePrimitive: false;
5514
+ }, {
5515
+ readonly type: "function";
5516
+ readonly names: [Identifier];
5517
+ readonly processor: BuiltInProcName.Library;
5518
+ readonly config: {
5519
+ readonly packagesInDots: true;
5520
+ readonly characterOnly: true;
5521
+ readonly ambient: {
5522
+ readonly type: AmbientStateAccessType.SetKeyed;
5523
+ readonly state: KeyedState.SearchPath;
5524
+ readonly keys: {
5525
+ readonly from: "unnamed";
5526
+ readonly quoted: boolean;
5527
+ };
5528
+ };
5529
+ readonly props: CallProp.Scope;
5530
+ readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
5531
+ };
5532
+ readonly assumePrimitive: false;
4957
5533
  }, {
4958
5534
  readonly type: "function";
4959
5535
  readonly names: [Identifier];
@@ -6025,7 +6601,7 @@ export declare const WrittenBuiltinDefinitions: [{
6025
6601
  }, {
6026
6602
  readonly type: "function";
6027
6603
  readonly names: [Identifier];
6028
- readonly processor: BuiltInProcName.Default;
6604
+ readonly processor: BuiltInProcName.Detach;
6029
6605
  readonly config: {
6030
6606
  readonly ambient: {
6031
6607
  readonly type: AmbientStateAccessType.SetKeyed;
@@ -6039,6 +6615,31 @@ export declare const WrittenBuiltinDefinitions: [{
6039
6615
  };
6040
6616
  };
6041
6617
  readonly props: number;
6618
+ readonly tags: [SemanticCallTag.DetachesPackage];
6619
+ readonly sig: [["ns", 0]];
6620
+ };
6621
+ readonly assumePrimitive: false;
6622
+ }, {
6623
+ readonly type: "function";
6624
+ readonly names: [Identifier];
6625
+ readonly processor: BuiltInProcName.Detach;
6626
+ readonly config: {
6627
+ readonly ambient: readonly [{
6628
+ readonly type: AmbientStateAccessType.SetKeyed;
6629
+ readonly state: KeyedState;
6630
+ readonly keys: {
6631
+ readonly fallback?: string;
6632
+ readonly quoted?: boolean | string;
6633
+ readonly from: "parameter";
6634
+ readonly signature: readonly string[];
6635
+ readonly names: readonly [string];
6636
+ };
6637
+ }, {
6638
+ readonly type: AmbientStateAccessType.ReadState;
6639
+ readonly state: string;
6640
+ }];
6641
+ readonly props: number;
6642
+ readonly tags: [SemanticCallTag.DetachesPackage];
6042
6643
  readonly sig: [["name", 0], ["pos", 0], ["unload", ArgProp.Flag], ["character.only", ArgProp.Flag], ["force", ArgProp.Flag]];
6043
6644
  };
6044
6645
  readonly assumePrimitive: false;
@@ -6476,12 +7077,41 @@ export declare const WrittenBuiltinDefinitions: [{
6476
7077
  readonly assumePrimitive: false;
6477
7078
  }, {
6478
7079
  readonly type: "function";
6479
- readonly names: [Identifier, Identifier, ...Identifier[]];
6480
- readonly processor: BuiltInProcName.Default;
7080
+ readonly names: [Identifier, Identifier];
7081
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
7082
+ readonly config: {
7083
+ readonly props: CallProp.Invisible;
7084
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
7085
+ readonly sig: [["path", number], ["...", ArgProp.Flag]];
7086
+ };
7087
+ readonly assumePrimitive: false;
7088
+ }, {
7089
+ readonly type: "function";
7090
+ readonly names: [Identifier];
7091
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
7092
+ readonly config: {
7093
+ readonly props: CallProp.Invisible;
7094
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
7095
+ readonly sig: [["x", number], ["recursive", ArgProp.Flag], ["force", ArgProp.Flag], ["expand", ArgProp.Flag]];
7096
+ };
7097
+ readonly assumePrimitive: false;
7098
+ }, {
7099
+ readonly type: "function";
7100
+ readonly names: [Identifier];
7101
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
6481
7102
  readonly config: {
6482
- readonly hasUnknownSideEffects: true;
6483
7103
  readonly props: CallProp.Invisible;
6484
7104
  readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
7105
+ readonly sig: [["paths", number], ["mode", ArgProp.Flag], ["use_umask", ArgProp.Flag]];
7106
+ };
7107
+ readonly assumePrimitive: false;
7108
+ }, {
7109
+ readonly type: "function";
7110
+ readonly names: [Identifier, ...Identifier[]];
7111
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
7112
+ readonly config: {
7113
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
7114
+ readonly sig: [["...", number], ["showWarnings", ArgProp.Flag]];
6485
7115
  };
6486
7116
  readonly assumePrimitive: false;
6487
7117
  }, {
@@ -6493,6 +7123,62 @@ export declare const WrittenBuiltinDefinitions: [{
6493
7123
  readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
6494
7124
  };
6495
7125
  readonly assumePrimitive: false;
7126
+ }, {
7127
+ readonly type: "function";
7128
+ readonly names: [Identifier, Identifier];
7129
+ readonly processor: BuiltInProcName.Default;
7130
+ readonly config: {
7131
+ readonly libFn: true;
7132
+ readonly readAllArguments: true;
7133
+ readonly hasUnknownSideEffects: true;
7134
+ readonly tags: SemanticCallTag[];
7135
+ readonly sig: [["input", number], ["output", number], ["...", ArgProp.Flag]];
7136
+ };
7137
+ readonly assumePrimitive: false;
7138
+ }, {
7139
+ readonly type: "function";
7140
+ readonly names: [Identifier];
7141
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
7142
+ readonly config: {
7143
+ readonly libFn: true;
7144
+ readonly tags: SemanticCallTag[];
7145
+ readonly sig: [["input", number], ["output", number], ["...", ArgProp.Flag]];
7146
+ };
7147
+ readonly assumePrimitive: false;
7148
+ }, {
7149
+ readonly type: "function";
7150
+ readonly names: [Identifier];
7151
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
7152
+ readonly config: {
7153
+ readonly libFn: true;
7154
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
7155
+ readonly sig: [["path", number], ["...", ArgProp.Flag]];
7156
+ };
7157
+ readonly assumePrimitive: false;
7158
+ }, {
7159
+ readonly type: "function";
7160
+ readonly names: [Identifier];
7161
+ readonly processor: BuiltInProcName.Default;
7162
+ readonly config: {
7163
+ readonly libFn: true;
7164
+ readonly readAllArguments: true;
7165
+ readonly hasUnknownSideEffects: true;
7166
+ readonly tags: SemanticCallTag[];
7167
+ readonly sig: [["input", number], ["output_format", ArgProp.Flag], ["output_file", number], ["...", ArgProp.Flag]];
7168
+ };
7169
+ readonly assumePrimitive: false;
7170
+ }, {
7171
+ readonly type: "function";
7172
+ readonly names: [Identifier];
7173
+ readonly processor: BuiltInProcName.Default;
7174
+ readonly config: {
7175
+ readonly libFn: true;
7176
+ readonly readAllArguments: true;
7177
+ readonly hasUnknownSideEffects: true;
7178
+ readonly tags: SemanticCallTag[];
7179
+ readonly sig: [["input", number], ["output_format", ArgProp.Flag], ["output_file", number], ["...", ArgProp.Flag]];
7180
+ };
7181
+ readonly assumePrimitive: false;
6496
7182
  }, {
6497
7183
  readonly type: "function";
6498
7184
  readonly names: Identifier[];
@@ -6781,7 +7467,7 @@ export declare const WrittenBuiltinDefinitions: [{
6781
7467
  readonly default: true;
6782
7468
  };
6783
7469
  };
6784
- readonly sig: [["expr", 0], ["add", 0], ["after", 0]];
7470
+ readonly sig: [["expr", ArgProp.Nse], ["add", 0], ["after", 0]];
6785
7471
  };
6786
7472
  readonly assumePrimitive: true;
6787
7473
  }, {
@@ -6978,6 +7664,24 @@ export declare const WrittenBuiltinDefinitions: [{
6978
7664
  readonly sig: [["file", number]];
6979
7665
  };
6980
7666
  readonly assumePrimitive: false;
7667
+ }, {
7668
+ readonly type: "function";
7669
+ readonly names: [Identifier];
7670
+ readonly processor: BuiltInProcName.Default;
7671
+ readonly config: {
7672
+ readonly props: CallProp.Ambient;
7673
+ readonly ambient: {
7674
+ readonly type: AmbientStateAccessType.ReadKeyed;
7675
+ readonly state: KeyedState.Env;
7676
+ readonly keys: {
7677
+ readonly from: "parameter";
7678
+ readonly signature: readonly ["x", "unset", "names", "allowEmpty"];
7679
+ readonly names: readonly ["x"];
7680
+ };
7681
+ };
7682
+ readonly sig: [["...", ArgProp.Forced]];
7683
+ };
7684
+ readonly assumePrimitive: false;
6981
7685
  }, {
6982
7686
  readonly type: "function";
6983
7687
  readonly names: Identifier[];
@@ -6999,6 +7703,19 @@ export declare const WrittenBuiltinDefinitions: [{
6999
7703
  readonly sig: [["...", ArgProp.Forced]];
7000
7704
  };
7001
7705
  readonly assumePrimitive: false;
7706
+ }, {
7707
+ readonly type: "function";
7708
+ readonly names: Identifier[];
7709
+ readonly processor: BuiltInProcName.Default;
7710
+ readonly config: {
7711
+ readonly ambient: {
7712
+ readonly type: AmbientStateAccessType.ReadState;
7713
+ readonly state: string;
7714
+ };
7715
+ readonly props: CallProp.Ambient;
7716
+ readonly sig: [["...", ArgProp.Forced]];
7717
+ };
7718
+ readonly assumePrimitive: false;
7002
7719
  }, {
7003
7720
  readonly type: "function";
7004
7721
  readonly names: [Identifier];
@@ -7094,10 +7811,118 @@ export declare const WrittenBuiltinDefinitions: [{
7094
7811
  readonly config: {
7095
7812
  readonly libFn: true;
7096
7813
  readonly props: CallProp.NonDet;
7814
+ readonly ambient: readonly [{
7815
+ readonly type: AmbientStateAccessType.ReadFiles;
7816
+ readonly sig: FnSig;
7817
+ }, {
7818
+ readonly type: AmbientStateAccessType.WriteFiles;
7819
+ readonly sig: FnSig;
7820
+ }];
7097
7821
  readonly tags: [SemanticCallTag.Database];
7098
7822
  readonly sig: [["conn", number], ["statement", number], ["...", ArgProp.Value]];
7099
7823
  };
7100
7824
  readonly assumePrimitive: false;
7825
+ }, {
7826
+ readonly type: "function";
7827
+ readonly names: Identifier[];
7828
+ readonly processor: BuiltInProcName.Default;
7829
+ readonly config: {
7830
+ readonly libFn: true;
7831
+ readonly ambient: {
7832
+ readonly type: AmbientStateAccessType.ReadFiles;
7833
+ readonly sig: FnSig;
7834
+ };
7835
+ readonly tags: [SemanticCallTag.Database];
7836
+ readonly sig: [["conn", number], ["name", number], ["...", ArgProp.Value]];
7837
+ };
7838
+ readonly assumePrimitive: false;
7839
+ }, {
7840
+ readonly type: "function";
7841
+ readonly names: Identifier[];
7842
+ readonly processor: BuiltInProcName.Default;
7843
+ readonly config: {
7844
+ readonly libFn: true;
7845
+ readonly props: CallProp.Invisible;
7846
+ readonly ambient: readonly [{
7847
+ readonly type: AmbientStateAccessType.ReadFiles;
7848
+ readonly sig: FnSig;
7849
+ }, {
7850
+ readonly type: AmbientStateAccessType.WriteFiles;
7851
+ readonly sig: FnSig;
7852
+ }];
7853
+ readonly tags: [SemanticCallTag.Database];
7854
+ readonly sig: [["conn", number], ["name", number], ["value", number], ["...", ArgProp.Value]];
7855
+ };
7856
+ readonly assumePrimitive: false;
7857
+ }, {
7858
+ readonly type: "function";
7859
+ readonly names: Identifier[];
7860
+ readonly processor: BuiltInProcName.Default;
7861
+ readonly config: {
7862
+ readonly libFn: true;
7863
+ readonly props: CallProp.Invisible;
7864
+ readonly ambient: readonly [{
7865
+ readonly type: AmbientStateAccessType.ReadFiles;
7866
+ readonly sig: FnSig;
7867
+ }, {
7868
+ readonly type: AmbientStateAccessType.WriteFiles;
7869
+ readonly sig: FnSig;
7870
+ }];
7871
+ readonly tags: [SemanticCallTag.Database];
7872
+ readonly sig: [["conn", number], ["...", number]];
7873
+ };
7874
+ readonly assumePrimitive: false;
7875
+ }, {
7876
+ readonly type: "function";
7877
+ readonly names: Identifier[];
7878
+ readonly processor: BuiltInProcName.Default;
7879
+ readonly config: {
7880
+ readonly libFn: true;
7881
+ readonly props: CallProp.Invisible;
7882
+ readonly hasUnknownSideEffects: true;
7883
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads, SemanticCallTag.Writes, SemanticCallTag.Glob];
7884
+ };
7885
+ readonly assumePrimitive: false;
7886
+ }, {
7887
+ readonly type: "function";
7888
+ readonly names: Identifier[];
7889
+ readonly processor: BuiltInProcName.Default;
7890
+ readonly config: {
7891
+ readonly libFn: true;
7892
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads, SemanticCallTag.Glob];
7893
+ };
7894
+ readonly assumePrimitive: false;
7895
+ }, {
7896
+ readonly type: "function";
7897
+ readonly names: Identifier[];
7898
+ readonly processor: BuiltInProcName.Default;
7899
+ readonly config: {
7900
+ readonly libFn: true;
7901
+ readonly props: CallProp.Invisible;
7902
+ readonly hasUnknownSideEffects: true;
7903
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads, SemanticCallTag.Glob];
7904
+ };
7905
+ readonly assumePrimitive: false;
7906
+ }, {
7907
+ readonly type: "function";
7908
+ readonly names: Identifier[];
7909
+ readonly processor: BuiltInProcName.Default;
7910
+ readonly config: {
7911
+ readonly libFn: true;
7912
+ readonly props: CallProp.Invisible;
7913
+ readonly hasUnknownSideEffects: true;
7914
+ };
7915
+ readonly assumePrimitive: false;
7916
+ }, {
7917
+ readonly type: "function";
7918
+ readonly names: Identifier[];
7919
+ readonly processor: BuiltInProcName.Default;
7920
+ readonly config: {
7921
+ readonly libFn: true;
7922
+ readonly props: CallProp.Invisible;
7923
+ readonly hasUnknownSideEffects: true;
7924
+ };
7925
+ readonly assumePrimitive: false;
7101
7926
  }, {
7102
7927
  readonly type: "function";
7103
7928
  readonly names: Identifier[];
@@ -8026,6 +8851,6 @@ export declare const WrittenBuiltinDefinitions: [{
8026
8851
  };
8027
8852
  }];
8028
8853
  /** Contains the built-in definitions recognized by flowR */
8029
- export declare const DefaultBuiltinConfig: import("./built-in-config").BuiltInDefinition<BuiltInProcName.Access | BuiltInProcName.Apply | BuiltInProcName.Assignment | BuiltInProcName.AssignmentLike | BuiltInProcName.DefineArgument | BuiltInProcName.Default | BuiltInProcName.DefaultReadAllArgs | BuiltInProcName.Eval | BuiltInProcName.StringTemplate | BuiltInProcName.ExpressionList | BuiltInProcName.ForLoop | BuiltInProcName.FunctionDefinition | BuiltInProcName.Get | BuiltInProcName.IfThenElse | BuiltInProcName.Library | BuiltInProcName.List | BuiltInProcName.Load | BuiltInProcName.Local | BuiltInProcName.NamespaceAccess | BuiltInProcName.Pipe | BuiltInProcName.PurrrFormula | BuiltInProcName.Quote | BuiltInProcName.Recall | BuiltInProcName.RegisterHook | BuiltInProcName.RepeatLoop | BuiltInProcName.Replacement | BuiltInProcName.Rm | BuiltInProcName.S3Dispatch | BuiltInProcName.S7NewGeneric | BuiltInProcName.S7Dispatch | BuiltInProcName.S7MakeConstructor | BuiltInProcName.Source | BuiltInProcName.SpecialBinOp | BuiltInProcName.StackEnv | BuiltInProcName.StopIfNot | BuiltInProcName.Try | BuiltInProcName.Attach | BuiltInProcName.EnvContents | BuiltInProcName.ListToEnv | BuiltInProcName.NewEnv | BuiltInProcName.ClassGenerator | BuiltInProcName.ClassRelation | BuiltInProcName.S4Use | BuiltInProcName.Vector | BuiltInProcName.WhileLoop | BuiltInProcName.With>[];
8854
+ export declare const DefaultBuiltinConfig: import("./built-in-config").BuiltInDefinition<BuiltInProcName.Access | BuiltInProcName.Apply | BuiltInProcName.Assignment | BuiltInProcName.AssignmentLike | BuiltInProcName.DefineArgument | BuiltInProcName.Default | BuiltInProcName.DefaultReadAllArgs | BuiltInProcName.Eval | BuiltInProcName.StringTemplate | BuiltInProcName.ExpressionList | BuiltInProcName.ForLoop | BuiltInProcName.FunctionDefinition | BuiltInProcName.Get | BuiltInProcName.IfThenElse | BuiltInProcName.Library | BuiltInProcName.List | BuiltInProcName.Load | BuiltInProcName.Local | BuiltInProcName.NamespaceAccess | BuiltInProcName.Pipe | BuiltInProcName.PurrrFormula | BuiltInProcName.Quote | BuiltInProcName.Recall | BuiltInProcName.RegisterHook | BuiltInProcName.RepeatLoop | BuiltInProcName.Replacement | BuiltInProcName.Rm | BuiltInProcName.S3Dispatch | BuiltInProcName.S7NewGeneric | BuiltInProcName.S7Dispatch | BuiltInProcName.S7MakeConstructor | BuiltInProcName.Source | BuiltInProcName.SpecialBinOp | BuiltInProcName.StackEnv | BuiltInProcName.StopIfNot | BuiltInProcName.Try | BuiltInProcName.Attach | BuiltInProcName.Detach | BuiltInProcName.Prefer | BuiltInProcName.EnvContents | BuiltInProcName.ListToEnv | BuiltInProcName.NewEnv | BuiltInProcName.ClassGenerator | BuiltInProcName.ClassRelation | BuiltInProcName.S4Use | BuiltInProcName.Vector | BuiltInProcName.WhileLoop | BuiltInProcName.With>[];
8030
8855
  /** Expensive and naive lookup of the default processor for a built-in function name */
8031
8856
  export declare function getDefaultProcessor(name: string): BuiltInProcName | undefined;