@eagleoutice/flowr 2.15.9 → 2.15.10
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/README.md +34 -25
- package/abstract-interpretation/absint-inference.d.ts +2 -2
- package/abstract-interpretation/absint-inference.js +32 -79
- package/benchmark/slicer.d.ts +0 -1
- package/benchmark/slicer.js +1 -2
- package/cli/repl/commands/repl-signature.js +12 -3
- package/config.d.ts +5 -1
- package/control-flow/cfg-properties.js +0 -22
- package/control-flow/happens-before.d.ts +2 -2
- package/control-flow/happens-before.js +29 -19
- package/dataflow/environments/apply-kill.js +6 -2
- package/dataflow/environments/built-in-config.d.ts +2 -0
- package/dataflow/environments/built-in-props.d.ts +7 -1
- package/dataflow/environments/built-in-props.js +8 -1
- package/dataflow/environments/built-in.d.ts +7 -2
- package/dataflow/environments/built-in.js +11 -5
- package/dataflow/environments/default-builtin-config.d.ts +386 -8
- package/dataflow/environments/default-builtin-config.js +84 -22
- package/dataflow/environments/define.d.ts +3 -2
- package/dataflow/environments/define.js +4 -3
- package/dataflow/environments/deprecation-info.d.ts +45 -0
- package/dataflow/environments/deprecation-info.js +13 -0
- package/dataflow/environments/environment.d.ts +1 -1
- package/dataflow/environments/environment.js +5 -4
- package/dataflow/environments/identifier.d.ts +2 -0
- package/dataflow/extractor.js +6 -1
- package/dataflow/fn/class-declaration.d.ts +0 -11
- package/dataflow/fn/class-declaration.js +0 -20
- package/dataflow/fn/higher-order-function.d.ts +9 -1
- package/dataflow/fn/higher-order-function.js +14 -7
- package/dataflow/fn/strict-function.js +8 -3
- package/dataflow/graph/graph.d.ts +7 -0
- package/dataflow/graph/graph.js +17 -0
- package/dataflow/graph/vertex.d.ts +1 -1
- package/dataflow/internal/linker.d.ts +3 -0
- package/dataflow/internal/linker.js +67 -6
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.d.ts +113 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.js +506 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-apply.js +9 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.d.ts +2 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +22 -19
- package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.d.ts +5 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.js +21 -14
- package/dataflow/internal/process/functions/call/built-in/built-in-eval.js +14 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +22 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-for-loop.js +2 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +4 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-library.js +19 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-local.js +7 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-repeat-loop.js +2 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-s-four.d.ts +4 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-s-four.js +3 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-new-generic.js +2 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.js +8 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.js +2 -0
- package/dataflow/internal/process/functions/call/common.d.ts +3 -1
- package/dataflow/internal/process/functions/call/common.js +22 -4
- package/dataflow/internal/process/functions/call/deferred.d.ts +6 -0
- package/dataflow/internal/process/functions/call/deferred.js +33 -12
- package/dataflow/internal/process/functions/call/known-call-handling.js +1 -1
- package/dataflow/internal/process/functions/call/named-call-handling.js +15 -0
- package/dataflow/internal/process/functions/call/quoted.js +137 -24
- package/dataflow/internal/process/process-symbol.js +6 -2
- package/documentation/data/faq/faqs.js +3 -3
- package/documentation/data/interface/doc-writing-code.js +1 -2
- package/documentation/data/server/doc-data-server-messages.js +7 -7
- package/documentation/doc-capabilities.js +80 -34
- package/documentation/doc-util/doc-query.d.ts +0 -3
- package/documentation/doc-util/doc-query.js +4 -3
- package/documentation/wiki-analyzer.js +1 -1
- package/documentation/wiki-cfg.js +5 -6
- package/documentation/wiki-core.js +8 -8
- package/documentation/wiki-dataflow-graph.js +10 -11
- package/documentation/wiki-interface.js +2 -2
- package/documentation/wiki-linting-and-testing.js +3 -3
- package/documentation/wiki-overview.js +6 -6
- package/documentation/wiki-query.js +9 -101
- package/documentation/wiki-signature-database.js +1 -1
- package/linter/linter-rules.d.ts +1 -1
- package/linter/rules/deprecated-functions.d.ts +1 -45
- package/linter/rules/deprecated-functions.js +24 -33
- package/package.json +1 -1
- package/project/flowr-analyzer.d.ts +2 -0
- package/project/flowr-analyzer.js +24 -1
- package/project/plugins/file-plugins/files/flowr-rda-file.d.ts +0 -2
- package/project/plugins/file-plugins/files/flowr-rda-file.js +10 -55
- package/project/plugins/file-plugins/flowr-analyzer-file-plugin.js +2 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.js +6 -4
- package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.js +2 -2
- package/project/sigdb/build.js +4 -0
- package/project/sigdb/manifest.d.ts +2 -0
- package/project/sigdb/manifest.js +10 -1
- package/project/sigdb/reader.js +23 -61
- package/project/sigdb/sigdb-download.d.ts +29 -6
- package/project/sigdb/sigdb-download.js +212 -64
- package/queries/catalog/call-context-query/cascade-action.d.ts +3 -1
- package/queries/catalog/call-context-query/cascade-action.js +2 -0
- package/queries/catalog/call-context-query/identify-link-to-last-call-relation.js +3 -0
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-executor.js +2 -1
- package/queries/catalog/origin-query/origin-query-executor.d.ts +1 -1
- package/queries/catalog/origin-query/origin-query-executor.js +2 -2
- package/queries/catalog/origin-query/origin-query-format.d.ts +2 -2
- package/queries/catalog/origin-query/origin-query-format.js +1 -1
- package/queries/query.d.ts +1 -1
- package/r-bridge/data/data.d.ts +21 -14
- package/r-bridge/data/data.js +28 -20
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-executor.d.ts +2 -2
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-executor.js +11 -2
- package/util/files.d.ts +2 -0
- package/util/files.js +3 -1
- package/util/mermaid/mermaid.js +6 -2
- package/util/version.js +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BuiltInDefinitions } from './built-in-config';
|
|
2
2
|
import { ExitPointType } from '../info';
|
|
3
3
|
import type { DataflowGraph } from '../graph/graph';
|
|
4
|
-
import type
|
|
4
|
+
import { type DataflowGraphVertexInfo } from '../graph/vertex';
|
|
5
5
|
import type { NodeId } from '../../r-bridge/lang-4.x/ast/model/processing/node-id';
|
|
6
6
|
import { CascadeAction } from '../../queries/catalog/call-context-query/cascade-action';
|
|
7
7
|
import { KnownHooks } from '../hooks';
|
|
@@ -12,6 +12,8 @@ import { NseArguments } from '../internal/process/functions/call/known-call-hand
|
|
|
12
12
|
import { Unquote } from '../internal/process/functions/call/nse';
|
|
13
13
|
import { ArgProp, CallProp, type FnSig, SemanticCallTag, type SemanticCallTags } from './built-in-props';
|
|
14
14
|
import { ClassSystem, MemberVisibility } from '../fn/class-declaration';
|
|
15
|
+
import { DeprecationState } from './deprecation-info';
|
|
16
|
+
import { AmbientStateAccessType } from '../internal/process/functions/call/built-in/built-in-ambient-state';
|
|
15
17
|
/** Which stack environment an env-returning/-transforming builtin denotes (see {@link StackEnvBuiltins}). */
|
|
16
18
|
export declare enum StackEnvKind {
|
|
17
19
|
Global = 0,
|
|
@@ -635,7 +637,10 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
635
637
|
readonly names: Identifier[];
|
|
636
638
|
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
637
639
|
readonly config: {
|
|
638
|
-
readonly
|
|
640
|
+
readonly ambient: {
|
|
641
|
+
readonly type: AmbientStateAccessType.OpenDevice;
|
|
642
|
+
};
|
|
643
|
+
readonly props: number;
|
|
639
644
|
readonly tags: [SemanticCallTag.Graphics, SemanticCallTag.File, SemanticCallTag.Writes];
|
|
640
645
|
readonly sig: [["filename", number], ["width", number], ["height", number], ["...", number]];
|
|
641
646
|
};
|
|
@@ -645,7 +650,10 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
645
650
|
readonly names: Identifier[];
|
|
646
651
|
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
647
652
|
readonly config: {
|
|
648
|
-
readonly
|
|
653
|
+
readonly ambient: {
|
|
654
|
+
readonly type: AmbientStateAccessType.OpenDevice;
|
|
655
|
+
};
|
|
656
|
+
readonly props: number;
|
|
649
657
|
readonly tags: [SemanticCallTag.Graphics, SemanticCallTag.File, SemanticCallTag.Writes];
|
|
650
658
|
readonly sig: [["file", number], ["type", number], ["height", number], ["width", number], ["...", number]];
|
|
651
659
|
};
|
|
@@ -655,6 +663,10 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
655
663
|
readonly names: Identifier[];
|
|
656
664
|
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
657
665
|
readonly config: {
|
|
666
|
+
readonly props: CallProp.Configures;
|
|
667
|
+
readonly ambient: {
|
|
668
|
+
readonly type: AmbientStateAccessType.OpenDevice;
|
|
669
|
+
};
|
|
658
670
|
readonly tags: [SemanticCallTag.Graphics];
|
|
659
671
|
};
|
|
660
672
|
readonly assumePrimitive: true;
|
|
@@ -2890,6 +2902,118 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
2890
2902
|
readonly sig: [["conn", number], ["...", number]];
|
|
2891
2903
|
};
|
|
2892
2904
|
readonly assumePrimitive: false;
|
|
2905
|
+
}, {
|
|
2906
|
+
readonly type: "function";
|
|
2907
|
+
readonly names: [Identifier];
|
|
2908
|
+
readonly processor: BuiltInProcName.Default;
|
|
2909
|
+
readonly config: {
|
|
2910
|
+
readonly libFn: true;
|
|
2911
|
+
readonly props: CallProp.Configures;
|
|
2912
|
+
readonly scope: {
|
|
2913
|
+
readonly state: "options";
|
|
2914
|
+
readonly params: readonly ["new", "code"];
|
|
2915
|
+
readonly new: "new";
|
|
2916
|
+
readonly code: "code";
|
|
2917
|
+
};
|
|
2918
|
+
};
|
|
2919
|
+
readonly assumePrimitive: false;
|
|
2920
|
+
}, {
|
|
2921
|
+
readonly type: "function";
|
|
2922
|
+
readonly names: [Identifier];
|
|
2923
|
+
readonly processor: BuiltInProcName.Default;
|
|
2924
|
+
readonly config: {
|
|
2925
|
+
readonly libFn: true;
|
|
2926
|
+
readonly props: number;
|
|
2927
|
+
readonly scope: {
|
|
2928
|
+
readonly state: "options";
|
|
2929
|
+
readonly params: readonly [".new", "...", ".local_envir"];
|
|
2930
|
+
readonly new: ".new";
|
|
2931
|
+
};
|
|
2932
|
+
};
|
|
2933
|
+
readonly assumePrimitive: false;
|
|
2934
|
+
}, {
|
|
2935
|
+
readonly type: "function";
|
|
2936
|
+
readonly names: [Identifier];
|
|
2937
|
+
readonly processor: BuiltInProcName.Default;
|
|
2938
|
+
readonly config: {
|
|
2939
|
+
readonly libFn: true;
|
|
2940
|
+
readonly props: CallProp.Configures;
|
|
2941
|
+
readonly scope: {
|
|
2942
|
+
readonly state: "options";
|
|
2943
|
+
readonly params: readonly [".expr", "..."];
|
|
2944
|
+
readonly code: ".expr";
|
|
2945
|
+
};
|
|
2946
|
+
};
|
|
2947
|
+
readonly assumePrimitive: false;
|
|
2948
|
+
}, {
|
|
2949
|
+
readonly type: "function";
|
|
2950
|
+
readonly names: [Identifier];
|
|
2951
|
+
readonly processor: BuiltInProcName.Default;
|
|
2952
|
+
readonly config: {
|
|
2953
|
+
readonly libFn: true;
|
|
2954
|
+
readonly props: number;
|
|
2955
|
+
readonly scope: {
|
|
2956
|
+
readonly state: "options";
|
|
2957
|
+
readonly params: readonly ["...", ".frame"];
|
|
2958
|
+
};
|
|
2959
|
+
};
|
|
2960
|
+
readonly assumePrimitive: false;
|
|
2961
|
+
}, {
|
|
2962
|
+
readonly type: "function";
|
|
2963
|
+
readonly names: [Identifier];
|
|
2964
|
+
readonly processor: BuiltInProcName.Default;
|
|
2965
|
+
readonly config: {
|
|
2966
|
+
readonly libFn: true;
|
|
2967
|
+
readonly props: CallProp.Configures;
|
|
2968
|
+
readonly scope: {
|
|
2969
|
+
readonly state: "graphics";
|
|
2970
|
+
readonly params: readonly ["new", "code", "no.readonly"];
|
|
2971
|
+
readonly new: "new";
|
|
2972
|
+
readonly code: "code";
|
|
2973
|
+
};
|
|
2974
|
+
};
|
|
2975
|
+
readonly assumePrimitive: false;
|
|
2976
|
+
}, {
|
|
2977
|
+
readonly type: "function";
|
|
2978
|
+
readonly names: [Identifier];
|
|
2979
|
+
readonly processor: BuiltInProcName.Default;
|
|
2980
|
+
readonly config: {
|
|
2981
|
+
readonly libFn: true;
|
|
2982
|
+
readonly props: number;
|
|
2983
|
+
readonly scope: {
|
|
2984
|
+
readonly state: "graphics";
|
|
2985
|
+
readonly params: readonly [".new", "...", "no.readonly", ".local_envir"];
|
|
2986
|
+
readonly new: ".new";
|
|
2987
|
+
};
|
|
2988
|
+
};
|
|
2989
|
+
readonly assumePrimitive: false;
|
|
2990
|
+
}, {
|
|
2991
|
+
readonly type: "function";
|
|
2992
|
+
readonly names: Identifier[];
|
|
2993
|
+
readonly processor: BuiltInProcName.Default;
|
|
2994
|
+
readonly config: {
|
|
2995
|
+
readonly libFn: true;
|
|
2996
|
+
readonly props: CallProp.Configures;
|
|
2997
|
+
readonly scope: {
|
|
2998
|
+
readonly state: "device";
|
|
2999
|
+
readonly params: readonly ["new", "code"];
|
|
3000
|
+
readonly code: "code";
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
3003
|
+
readonly assumePrimitive: false;
|
|
3004
|
+
}, {
|
|
3005
|
+
readonly type: "function";
|
|
3006
|
+
readonly names: Identifier[];
|
|
3007
|
+
readonly processor: BuiltInProcName.Default;
|
|
3008
|
+
readonly config: {
|
|
3009
|
+
readonly libFn: true;
|
|
3010
|
+
readonly props: number;
|
|
3011
|
+
readonly scope: {
|
|
3012
|
+
readonly state: "device";
|
|
3013
|
+
readonly params: readonly [".new", "...", ".local_envir"];
|
|
3014
|
+
};
|
|
3015
|
+
};
|
|
3016
|
+
readonly assumePrimitive: false;
|
|
2893
3017
|
}, {
|
|
2894
3018
|
readonly type: "function";
|
|
2895
3019
|
readonly names: [Identifier];
|
|
@@ -3077,7 +3201,9 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3077
3201
|
readonly names: [Identifier];
|
|
3078
3202
|
readonly processor: BuiltInProcName.Default;
|
|
3079
3203
|
readonly config: {
|
|
3080
|
-
readonly
|
|
3204
|
+
readonly ambient: {
|
|
3205
|
+
readonly type: AmbientStateAccessType.SetOptions;
|
|
3206
|
+
};
|
|
3081
3207
|
readonly props: number;
|
|
3082
3208
|
readonly sig: [["...", ArgProp.Forced]];
|
|
3083
3209
|
};
|
|
@@ -3389,6 +3515,11 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3389
3515
|
readonly type: "link-to-last-call";
|
|
3390
3516
|
readonly callName: RegExp;
|
|
3391
3517
|
};
|
|
3518
|
+
readonly ambient: {
|
|
3519
|
+
readonly type: AmbientStateAccessType.ReadOptions;
|
|
3520
|
+
readonly keys: readonly string[];
|
|
3521
|
+
readonly dispatchOn: 0;
|
|
3522
|
+
};
|
|
3392
3523
|
readonly props: number;
|
|
3393
3524
|
readonly tags: [SemanticCallTag.Prints];
|
|
3394
3525
|
readonly sig: [["x", number], ["...", number]];
|
|
@@ -3429,6 +3560,24 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3429
3560
|
readonly sig: [["x", number]];
|
|
3430
3561
|
};
|
|
3431
3562
|
readonly assumePrimitive: false;
|
|
3563
|
+
}, {
|
|
3564
|
+
readonly type: "function";
|
|
3565
|
+
readonly names: (string | Identifier)[];
|
|
3566
|
+
readonly processor: BuiltInProcName.Default;
|
|
3567
|
+
readonly config: {
|
|
3568
|
+
readonly ambient: {
|
|
3569
|
+
readonly type: AmbientStateAccessType.ReadGraphics;
|
|
3570
|
+
};
|
|
3571
|
+
readonly hasUnknownSideEffects: {
|
|
3572
|
+
readonly type: "link-to-last-call";
|
|
3573
|
+
readonly ignoreIf: (source: NodeId, graph: DataflowGraph) => boolean;
|
|
3574
|
+
readonly callName: RegExp;
|
|
3575
|
+
readonly cascadeIf: (target: DataflowGraphVertexInfo) => CascadeAction.Stop | CascadeAction.Block;
|
|
3576
|
+
};
|
|
3577
|
+
readonly tags: SemanticCallTags;
|
|
3578
|
+
readonly sig: FnSig;
|
|
3579
|
+
};
|
|
3580
|
+
readonly assumePrimitive: true;
|
|
3432
3581
|
}, {
|
|
3433
3582
|
readonly type: "function";
|
|
3434
3583
|
readonly names: (string | Identifier)[];
|
|
@@ -3438,6 +3587,7 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3438
3587
|
readonly type: "link-to-last-call";
|
|
3439
3588
|
readonly ignoreIf: (source: NodeId, graph: DataflowGraph) => boolean;
|
|
3440
3589
|
readonly callName: RegExp;
|
|
3590
|
+
readonly cascadeIf: (target: DataflowGraphVertexInfo) => CascadeAction.Stop | CascadeAction.Block;
|
|
3441
3591
|
};
|
|
3442
3592
|
readonly tags: SemanticCallTags;
|
|
3443
3593
|
readonly sig: FnSig;
|
|
@@ -3454,12 +3604,34 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3454
3604
|
readonly type: "link-to-last-call";
|
|
3455
3605
|
readonly ignoreIf: (source: NodeId, graph: DataflowGraph) => boolean;
|
|
3456
3606
|
readonly callName: RegExp;
|
|
3607
|
+
readonly cascadeIf: (target: DataflowGraphVertexInfo) => CascadeAction.Stop | CascadeAction.Block;
|
|
3457
3608
|
};
|
|
3458
3609
|
readonly sig: FnSig;
|
|
3459
3610
|
};
|
|
3460
3611
|
readonly assumePrimitive: true;
|
|
3461
3612
|
}, {
|
|
3462
3613
|
readonly overrides: true;
|
|
3614
|
+
readonly type: "function";
|
|
3615
|
+
readonly names: (string | Identifier)[];
|
|
3616
|
+
readonly processor: BuiltInProcName.Default;
|
|
3617
|
+
readonly config: {
|
|
3618
|
+
readonly ambient: {
|
|
3619
|
+
readonly type: AmbientStateAccessType.ReadGraphics;
|
|
3620
|
+
};
|
|
3621
|
+
readonly treatAsFnCall: {
|
|
3622
|
+
readonly facet_grid: readonly ["labeller"];
|
|
3623
|
+
};
|
|
3624
|
+
readonly hasUnknownSideEffects: {
|
|
3625
|
+
readonly type: "link-to-last-call";
|
|
3626
|
+
readonly callName: RegExp;
|
|
3627
|
+
readonly ignoreIf: (source: NodeId, graph: DataflowGraph) => boolean;
|
|
3628
|
+
readonly cascadeIf: (targetVertex: DataflowGraphVertexInfo, _: NodeId, graph: DataflowGraph) => CascadeAction.Stop | CascadeAction.Continue;
|
|
3629
|
+
};
|
|
3630
|
+
readonly tags: SemanticCallTags;
|
|
3631
|
+
readonly sig: FnSig;
|
|
3632
|
+
};
|
|
3633
|
+
readonly assumePrimitive: true;
|
|
3634
|
+
}, {
|
|
3463
3635
|
readonly type: "function";
|
|
3464
3636
|
readonly names: (string | Identifier)[];
|
|
3465
3637
|
readonly processor: BuiltInProcName.Default;
|
|
@@ -3557,7 +3729,11 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3557
3729
|
readonly names: Identifier[];
|
|
3558
3730
|
readonly processor: BuiltInProcName.Default;
|
|
3559
3731
|
readonly config: {
|
|
3732
|
+
readonly props: CallProp.Configures;
|
|
3560
3733
|
readonly libFn: true;
|
|
3734
|
+
readonly ambient: {
|
|
3735
|
+
readonly type: AmbientStateAccessType.CloseDevice;
|
|
3736
|
+
};
|
|
3561
3737
|
readonly hasUnknownSideEffects: {
|
|
3562
3738
|
readonly type: "link-to-last-call";
|
|
3563
3739
|
readonly callName: RegExp;
|
|
@@ -3566,6 +3742,39 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3566
3742
|
readonly sig: [["...", ArgProp.Forced]];
|
|
3567
3743
|
};
|
|
3568
3744
|
readonly assumePrimitive: true;
|
|
3745
|
+
}, {
|
|
3746
|
+
readonly type: "function";
|
|
3747
|
+
readonly names: Identifier[];
|
|
3748
|
+
readonly processor: BuiltInProcName.Default;
|
|
3749
|
+
readonly config: {
|
|
3750
|
+
readonly props: CallProp.Configures;
|
|
3751
|
+
readonly libFn: true;
|
|
3752
|
+
readonly ambient: {
|
|
3753
|
+
readonly type: AmbientStateAccessType.CloseDevice;
|
|
3754
|
+
readonly all: true;
|
|
3755
|
+
};
|
|
3756
|
+
readonly hasUnknownSideEffects: {
|
|
3757
|
+
readonly type: "link-to-last-call";
|
|
3758
|
+
readonly callName: RegExp;
|
|
3759
|
+
};
|
|
3760
|
+
readonly tags: [SemanticCallTag.Graphics, SemanticCallTag.Closes, SemanticCallTag.File, SemanticCallTag.Writes];
|
|
3761
|
+
readonly sig: [["...", ArgProp.Forced]];
|
|
3762
|
+
};
|
|
3763
|
+
readonly assumePrimitive: true;
|
|
3764
|
+
}, {
|
|
3765
|
+
readonly type: "function";
|
|
3766
|
+
readonly names: Identifier[];
|
|
3767
|
+
readonly processor: BuiltInProcName.Default;
|
|
3768
|
+
readonly config: {
|
|
3769
|
+
readonly props: CallProp.Configures;
|
|
3770
|
+
readonly libFn: true;
|
|
3771
|
+
readonly ambient: {
|
|
3772
|
+
readonly type: AmbientStateAccessType.SwitchDevice;
|
|
3773
|
+
};
|
|
3774
|
+
readonly tags: [SemanticCallTag.Graphics];
|
|
3775
|
+
readonly sig: [["which", ArgProp.Forced]];
|
|
3776
|
+
};
|
|
3777
|
+
readonly assumePrimitive: false;
|
|
3569
3778
|
}, {
|
|
3570
3779
|
readonly type: "function";
|
|
3571
3780
|
readonly names: ["("];
|
|
@@ -3678,6 +3887,10 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3678
3887
|
readonly type: "link-to-last-call";
|
|
3679
3888
|
readonly callName: RegExp;
|
|
3680
3889
|
};
|
|
3890
|
+
readonly ambient: {
|
|
3891
|
+
readonly type: AmbientStateAccessType.ReadOptions;
|
|
3892
|
+
readonly keys: readonly string[];
|
|
3893
|
+
};
|
|
3681
3894
|
readonly props: CallProp.Invisible;
|
|
3682
3895
|
readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes, SemanticCallTag.Prints];
|
|
3683
3896
|
readonly sig: [["...", number], ["file", number]];
|
|
@@ -3969,10 +4182,21 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3969
4182
|
readonly assumePrimitive: false;
|
|
3970
4183
|
}, {
|
|
3971
4184
|
readonly type: "function";
|
|
3972
|
-
readonly names: Identifier
|
|
4185
|
+
readonly names: [Identifier];
|
|
4186
|
+
readonly processor: BuiltInProcName.Library;
|
|
4187
|
+
readonly config: {
|
|
4188
|
+
readonly props: number;
|
|
4189
|
+
readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
|
|
4190
|
+
readonly sig: [["package", ArgProp.NoDefault], ["...", 0]];
|
|
4191
|
+
};
|
|
4192
|
+
readonly assumePrimitive: false;
|
|
4193
|
+
}, {
|
|
4194
|
+
readonly type: "function";
|
|
4195
|
+
readonly names: [Identifier];
|
|
3973
4196
|
readonly processor: BuiltInProcName.Library;
|
|
3974
4197
|
readonly config: {
|
|
3975
4198
|
readonly props: number;
|
|
4199
|
+
readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage, SemanticCallTag.ChecksPackage];
|
|
3976
4200
|
readonly sig: [["package", ArgProp.NoDefault], ["...", 0]];
|
|
3977
4201
|
};
|
|
3978
4202
|
readonly assumePrimitive: false;
|
|
@@ -3983,20 +4207,44 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3983
4207
|
readonly config: {
|
|
3984
4208
|
readonly characterOnly: true;
|
|
3985
4209
|
readonly props: number;
|
|
4210
|
+
readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
|
|
3986
4211
|
readonly sig: [["ns", ArgProp.NoDefault], ["pos", 0], ["depends", 0], ["exclude", ArgProp.NoDefault], ["include.only", ArgProp.NoDefault]];
|
|
3987
4212
|
};
|
|
3988
4213
|
readonly assumePrimitive: false;
|
|
3989
4214
|
}, {
|
|
3990
4215
|
readonly type: "function";
|
|
3991
|
-
readonly names: Identifier
|
|
4216
|
+
readonly names: [Identifier];
|
|
3992
4217
|
readonly processor: BuiltInProcName.Library;
|
|
3993
4218
|
readonly config: {
|
|
3994
4219
|
readonly namespaceOnly: true;
|
|
3995
4220
|
readonly characterOnly: true;
|
|
3996
4221
|
readonly props: number;
|
|
4222
|
+
readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.ChecksPackage];
|
|
3997
4223
|
readonly sig: [["package", ArgProp.NoDefault], ["...", 0]];
|
|
3998
4224
|
};
|
|
3999
4225
|
readonly assumePrimitive: false;
|
|
4226
|
+
}, {
|
|
4227
|
+
readonly type: "function";
|
|
4228
|
+
readonly names: [Identifier];
|
|
4229
|
+
readonly processor: BuiltInProcName.Library;
|
|
4230
|
+
readonly config: {
|
|
4231
|
+
readonly namespaceOnly: true;
|
|
4232
|
+
readonly characterOnly: true;
|
|
4233
|
+
readonly props: CallProp.Scope;
|
|
4234
|
+
readonly tags: [SemanticCallTag.LoadsPackage];
|
|
4235
|
+
readonly sig: [["package", ArgProp.NoDefault], ["...", 0]];
|
|
4236
|
+
};
|
|
4237
|
+
readonly assumePrimitive: false;
|
|
4238
|
+
}, {
|
|
4239
|
+
readonly type: "function";
|
|
4240
|
+
readonly names: [Identifier, ...Identifier[]];
|
|
4241
|
+
readonly processor: BuiltInProcName.Default;
|
|
4242
|
+
readonly config: {
|
|
4243
|
+
readonly props: CallProp.Ambient;
|
|
4244
|
+
readonly tags: [SemanticCallTag.ChecksPackage];
|
|
4245
|
+
readonly sig: [["...", ArgProp.Forced]];
|
|
4246
|
+
};
|
|
4247
|
+
readonly assumePrimitive: false;
|
|
4000
4248
|
}, {
|
|
4001
4249
|
readonly type: "function";
|
|
4002
4250
|
readonly names: [Identifier];
|
|
@@ -4004,6 +4252,7 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
4004
4252
|
readonly config: {
|
|
4005
4253
|
readonly fromImports: true;
|
|
4006
4254
|
readonly props: CallProp.Scope;
|
|
4255
|
+
readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
|
|
4007
4256
|
};
|
|
4008
4257
|
readonly assumePrimitive: false;
|
|
4009
4258
|
}, {
|
|
@@ -4013,6 +4262,7 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
4013
4262
|
readonly config: {
|
|
4014
4263
|
readonly boxUse: true;
|
|
4015
4264
|
readonly props: CallProp.Scope;
|
|
4265
|
+
readonly tags: [SemanticCallTag.LoadsPackage, SemanticCallTag.AttachesPackage];
|
|
4016
4266
|
readonly sig: [["package", ArgProp.NoDefault], ["include.only", ArgProp.NoDefault]];
|
|
4017
4267
|
};
|
|
4018
4268
|
readonly assumePrimitive: false;
|
|
@@ -4118,6 +4368,37 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
4118
4368
|
readonly sig: [["f", ArgProp.NoDefault], ["signature", 0], ["definition", ArgProp.NoDefault], ["where", 0], ["valueClass", 0], ["sealed", 0]];
|
|
4119
4369
|
};
|
|
4120
4370
|
readonly assumePrimitive: true;
|
|
4371
|
+
}, {
|
|
4372
|
+
readonly type: "function";
|
|
4373
|
+
readonly names: [Identifier];
|
|
4374
|
+
readonly processor: BuiltInProcName.ClassRelation;
|
|
4375
|
+
readonly config: {
|
|
4376
|
+
readonly assignmentLike: {
|
|
4377
|
+
readonly targetVariable: true;
|
|
4378
|
+
readonly canBeReplacement: false;
|
|
4379
|
+
readonly targetSuffix: "<-";
|
|
4380
|
+
readonly target: {
|
|
4381
|
+
readonly idx: 0;
|
|
4382
|
+
readonly name: "f";
|
|
4383
|
+
};
|
|
4384
|
+
readonly source: {
|
|
4385
|
+
readonly idx: 2;
|
|
4386
|
+
readonly name: "definition";
|
|
4387
|
+
};
|
|
4388
|
+
readonly modesForFn: ["s4"];
|
|
4389
|
+
};
|
|
4390
|
+
readonly genericArg: {
|
|
4391
|
+
readonly idx: 0;
|
|
4392
|
+
readonly name: "f";
|
|
4393
|
+
};
|
|
4394
|
+
readonly genericSuffix: "<-";
|
|
4395
|
+
readonly classArgs: readonly [{
|
|
4396
|
+
readonly idx: 1;
|
|
4397
|
+
readonly name: "signature";
|
|
4398
|
+
}];
|
|
4399
|
+
readonly sig: [["f", ArgProp.NoDefault], ["signature", 0], ["definition", ArgProp.NoDefault], ["where", 0], ["valueClass", 0], ["sealed", 0]];
|
|
4400
|
+
};
|
|
4401
|
+
readonly assumePrimitive: true;
|
|
4121
4402
|
}, {
|
|
4122
4403
|
readonly type: "function";
|
|
4123
4404
|
readonly names: [Identifier];
|
|
@@ -4136,10 +4417,13 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
4136
4417
|
readonly names: [Identifier];
|
|
4137
4418
|
readonly processor: BuiltInProcName.Assignment;
|
|
4138
4419
|
readonly config: {
|
|
4420
|
+
readonly keepEnvironment: true;
|
|
4139
4421
|
readonly quoteSource: true;
|
|
4140
4422
|
readonly targetVariable: true;
|
|
4423
|
+
readonly mayHaveMoreArgs: true;
|
|
4424
|
+
readonly environmentArg: "assign.env";
|
|
4141
4425
|
readonly props: number;
|
|
4142
|
-
readonly sig: [["x", ArgProp.NoDefault], ["value", number], ["eval.env",
|
|
4426
|
+
readonly sig: [["x", ArgProp.NoDefault], ["value", number], ["eval.env", number], ["assign.env", number]];
|
|
4143
4427
|
};
|
|
4144
4428
|
readonly assumePrimitive: true;
|
|
4145
4429
|
}, {
|
|
@@ -5328,11 +5612,45 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
5328
5612
|
readonly names: [Identifier, Identifier];
|
|
5329
5613
|
readonly processor: BuiltInProcName.Default;
|
|
5330
5614
|
readonly config: {
|
|
5331
|
-
readonly
|
|
5615
|
+
readonly props: CallProp.Configures;
|
|
5616
|
+
readonly ambient: {
|
|
5617
|
+
readonly type: AmbientStateAccessType.SetGraphics;
|
|
5618
|
+
readonly queryOnUnnamedStrings: true;
|
|
5619
|
+
readonly queryLinksTo: {
|
|
5620
|
+
readonly type: "link-to-last-call";
|
|
5621
|
+
readonly callName: RegExp;
|
|
5622
|
+
};
|
|
5623
|
+
};
|
|
5332
5624
|
readonly tags: [SemanticCallTag.Graphics];
|
|
5333
5625
|
readonly sig: [["...", 0], ["no.readonly", 0]];
|
|
5334
5626
|
};
|
|
5335
5627
|
readonly assumePrimitive: false;
|
|
5628
|
+
}, {
|
|
5629
|
+
readonly type: "function";
|
|
5630
|
+
readonly names: Identifier[];
|
|
5631
|
+
readonly processor: BuiltInProcName.Default;
|
|
5632
|
+
readonly config: {
|
|
5633
|
+
readonly props: CallProp.Configures;
|
|
5634
|
+
readonly ambient: {
|
|
5635
|
+
readonly type: AmbientStateAccessType.SetGraphics;
|
|
5636
|
+
};
|
|
5637
|
+
readonly tags: [SemanticCallTag.Graphics];
|
|
5638
|
+
readonly sig: [["...", ArgProp.Forced]];
|
|
5639
|
+
};
|
|
5640
|
+
readonly assumePrimitive: false;
|
|
5641
|
+
}, {
|
|
5642
|
+
readonly type: "function";
|
|
5643
|
+
readonly names: [Identifier];
|
|
5644
|
+
readonly processor: BuiltInProcName.Default;
|
|
5645
|
+
readonly config: {
|
|
5646
|
+
readonly props: CallProp.Configures;
|
|
5647
|
+
readonly ambient: {
|
|
5648
|
+
readonly type: AmbientStateAccessType.SetPalette;
|
|
5649
|
+
};
|
|
5650
|
+
readonly tags: [SemanticCallTag.Graphics];
|
|
5651
|
+
readonly sig: [["value", ArgProp.Forced]];
|
|
5652
|
+
};
|
|
5653
|
+
readonly assumePrimitive: false;
|
|
5336
5654
|
}, {
|
|
5337
5655
|
readonly type: "function";
|
|
5338
5656
|
readonly names: [Identifier, Identifier, Identifier, Identifier, Identifier, Identifier];
|
|
@@ -5479,6 +5797,9 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
5479
5797
|
readonly names: [Identifier];
|
|
5480
5798
|
readonly processor: BuiltInProcName.Default;
|
|
5481
5799
|
readonly config: {
|
|
5800
|
+
readonly ambient: {
|
|
5801
|
+
readonly type: AmbientStateAccessType.EvaluateQuoted;
|
|
5802
|
+
};
|
|
5482
5803
|
readonly props: CallProp.Lang;
|
|
5483
5804
|
readonly tags: [SemanticCallTag.Eval];
|
|
5484
5805
|
readonly sig: [["expr", number], ["envir", number]];
|
|
@@ -5560,6 +5881,18 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
5560
5881
|
readonly sig: [["...", ArgProp.Forced]];
|
|
5561
5882
|
};
|
|
5562
5883
|
readonly assumePrimitive: false;
|
|
5884
|
+
}, {
|
|
5885
|
+
readonly type: "function";
|
|
5886
|
+
readonly names: [Identifier];
|
|
5887
|
+
readonly processor: BuiltInProcName.Default;
|
|
5888
|
+
readonly config: {
|
|
5889
|
+
readonly ambient: {
|
|
5890
|
+
readonly type: AmbientStateAccessType.GetOption;
|
|
5891
|
+
};
|
|
5892
|
+
readonly props: CallProp.Ambient;
|
|
5893
|
+
readonly sig: [["...", ArgProp.Forced]];
|
|
5894
|
+
};
|
|
5895
|
+
readonly assumePrimitive: false;
|
|
5563
5896
|
}, {
|
|
5564
5897
|
readonly type: "function";
|
|
5565
5898
|
readonly names: [Identifier];
|
|
@@ -5831,6 +6164,11 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
5831
6164
|
readonly names: [Identifier];
|
|
5832
6165
|
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
5833
6166
|
readonly config: {
|
|
6167
|
+
readonly ambient: {
|
|
6168
|
+
readonly type: AmbientStateAccessType.ReadOptions;
|
|
6169
|
+
readonly keys: readonly string[];
|
|
6170
|
+
readonly dispatchOn: 0;
|
|
6171
|
+
};
|
|
5834
6172
|
readonly props: CallProp.Pure;
|
|
5835
6173
|
readonly sig: FnSig;
|
|
5836
6174
|
};
|
|
@@ -6323,6 +6661,46 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
6323
6661
|
readonly tags: [SemanticCallTag.Deprecated];
|
|
6324
6662
|
};
|
|
6325
6663
|
readonly names: Identifier[];
|
|
6664
|
+
}, {
|
|
6665
|
+
readonly overrides: true;
|
|
6666
|
+
readonly type: "function";
|
|
6667
|
+
readonly processor: BuiltInProcName.Default;
|
|
6668
|
+
readonly names: [Identifier];
|
|
6669
|
+
readonly config: {
|
|
6670
|
+
readonly deprInfo: {
|
|
6671
|
+
readonly whenArgs: [{
|
|
6672
|
+
readonly argName: "draw_quantiles";
|
|
6673
|
+
readonly state: DeprecationState.Deprecated;
|
|
6674
|
+
readonly replacedBy: "stat_ydensity(quantiles)";
|
|
6675
|
+
readonly sinceVersion: ">= 4.0.0";
|
|
6676
|
+
}];
|
|
6677
|
+
};
|
|
6678
|
+
readonly treatAsFnCall: {
|
|
6679
|
+
readonly facet_grid: readonly ["labeller"];
|
|
6680
|
+
};
|
|
6681
|
+
readonly hasUnknownSideEffects: {
|
|
6682
|
+
readonly type: "link-to-last-call";
|
|
6683
|
+
readonly callName: RegExp;
|
|
6684
|
+
readonly ignoreIf: (source: NodeId, graph: DataflowGraph) => boolean;
|
|
6685
|
+
readonly cascadeIf: (targetVertex: DataflowGraphVertexInfo, _: NodeId, graph: DataflowGraph) => CascadeAction.Stop | CascadeAction.Continue;
|
|
6686
|
+
};
|
|
6687
|
+
readonly tags: SemanticCallTags;
|
|
6688
|
+
readonly sig: FnSig;
|
|
6689
|
+
};
|
|
6690
|
+
}, {
|
|
6691
|
+
readonly type: "function";
|
|
6692
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
6693
|
+
readonly names: Identifier[];
|
|
6694
|
+
readonly config: {
|
|
6695
|
+
readonly deprInfo: {
|
|
6696
|
+
readonly whenArgs: [{
|
|
6697
|
+
readonly argName: "size";
|
|
6698
|
+
readonly state: DeprecationState.Deprecated;
|
|
6699
|
+
readonly replacedBy: "linewidth";
|
|
6700
|
+
readonly sinceVersion: ">= 3.4.0";
|
|
6701
|
+
}];
|
|
6702
|
+
};
|
|
6703
|
+
};
|
|
6326
6704
|
}];
|
|
6327
6705
|
/** Contains the built-in definitions recognized by flowR */
|
|
6328
6706
|
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>[];
|