@eagleoutice/flowr 2.15.10 → 2.16.0
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 +23 -26
- package/abstract-interpretation/data-frame/arguments.js +11 -7
- package/control-flow/happens-before.d.ts +5 -0
- package/control-flow/happens-before.js +48 -34
- package/control-flow/useless-loop.d.ts +1 -1
- package/control-flow/useless-loop.js +29 -42
- package/dataflow/environments/built-in-props.d.ts +9 -0
- package/dataflow/environments/built-in-props.js +25 -19
- package/dataflow/environments/built-in.d.ts +2 -2
- package/dataflow/environments/built-in.js +41 -77
- package/dataflow/environments/default-builtin-config.d.ts +181 -29
- package/dataflow/environments/default-builtin-config.js +38 -24
- package/dataflow/environments/environment.d.ts +6 -4
- package/dataflow/environments/environment.js +54 -121
- package/dataflow/environments/identifier.d.ts +4 -2
- package/dataflow/environments/identifier.js +23 -69
- package/dataflow/environments/reference-to-maybe.d.ts +9 -0
- package/dataflow/environments/reference-to-maybe.js +23 -51
- package/dataflow/environments/resolve-by-name.js +37 -76
- package/dataflow/eval/resolve/resolve-argument.d.ts +3 -1
- package/dataflow/eval/resolve/resolve-argument.js +61 -64
- package/dataflow/eval/resolve/resolve-working-directory.d.ts +8 -2
- package/dataflow/eval/resolve/resolve-working-directory.js +12 -20
- package/dataflow/eval/resolve/resolve.d.ts +4 -0
- package/dataflow/eval/resolve/resolve.js +23 -14
- package/dataflow/extractor.js +176 -59
- package/dataflow/fn/class-declaration.d.ts +8 -2
- package/dataflow/fn/class-declaration.js +96 -97
- package/dataflow/fn/exceptions-of-function.js +68 -37
- package/dataflow/fn/frame-reflection.d.ts +12 -4
- package/dataflow/fn/frame-reflection.js +51 -41
- package/dataflow/fn/function-props.js +15 -33
- package/dataflow/fn/function-semantics.d.ts +11 -3
- package/dataflow/fn/function-semantics.js +6 -0
- package/dataflow/fn/higher-order-function.js +13 -17
- package/dataflow/fn/strict-function.d.ts +13 -0
- package/dataflow/fn/strict-function.js +285 -122
- package/dataflow/graph/call-graph.d.ts +7 -6
- package/dataflow/graph/call-graph.js +35 -46
- package/dataflow/graph/graph.d.ts +6 -1
- package/dataflow/graph/graph.js +57 -66
- package/dataflow/info.d.ts +8 -1
- package/dataflow/info.js +24 -30
- package/dataflow/internal/control-flow.d.ts +31 -4
- package/dataflow/internal/control-flow.js +61 -39
- package/dataflow/internal/linker.d.ts +15 -9
- package/dataflow/internal/linker.js +253 -241
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.d.ts +80 -14
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.js +446 -78
- package/dataflow/internal/process/functions/call/built-in/built-in-apply.d.ts +3 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-apply.js +51 -48
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.d.ts +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +119 -185
- package/dataflow/internal/process/functions/call/built-in/built-in-class-generator.js +7 -9
- package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +122 -147
- package/dataflow/internal/process/functions/call/built-in/built-in-for-loop.js +55 -25
- package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +289 -251
- package/dataflow/internal/process/functions/call/built-in/built-in-get.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-get.js +30 -32
- package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.js +68 -67
- package/dataflow/internal/process/functions/call/built-in/built-in-library.js +72 -126
- package/dataflow/internal/process/functions/call/built-in/built-in-local.d.ts +1 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-local.js +10 -10
- package/dataflow/internal/process/functions/call/built-in/built-in-quote.d.ts +4 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-quote.js +9 -35
- package/dataflow/internal/process/functions/call/built-in/built-in-rm.js +8 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-s-four.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-s-four.js +12 -28
- package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-new-generic.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-new-generic.js +40 -118
- package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.d.ts +1 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.js +16 -24
- package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +2 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-source.js +93 -102
- package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.d.ts +7 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.js +173 -114
- package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.d.ts +1 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.js +22 -27
- package/dataflow/internal/process/functions/call/built-in/built-in-with.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-with.js +34 -9
- package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.js +119 -93
- package/dataflow/internal/process/functions/call/common.d.ts +1 -3
- package/dataflow/internal/process/functions/call/common.js +36 -76
- package/dataflow/internal/process/functions/call/deferred.d.ts +6 -2
- package/dataflow/internal/process/functions/call/deferred.js +54 -57
- package/dataflow/internal/process/functions/call/known-call-handling.d.ts +4 -2
- package/dataflow/internal/process/functions/call/known-call-handling.js +65 -68
- package/dataflow/internal/process/functions/call/named-call-handling.d.ts +3 -5
- package/dataflow/internal/process/functions/call/named-call-handling.js +35 -21
- package/dataflow/internal/process/functions/call/quoted.d.ts +2 -0
- package/dataflow/internal/process/functions/call/quoted.js +162 -172
- package/dataflow/internal/process/functions/call/unnamed-call-handling.js +17 -38
- package/dataflow/internal/process/functions/process-parameter.js +25 -32
- package/dataflow/internal/process/process-symbol.js +3 -6
- package/dataflow/internal/program-order.d.ts +26 -0
- package/dataflow/internal/program-order.js +49 -0
- package/documentation/wiki-setup.js +23 -0
- package/linter/linter-rules.d.ts +17 -8
- package/linter/rules/absolute-path.js +63 -87
- package/linter/rules/file-path-validity.d.ts +4 -2
- package/linter/rules/file-path-validity.js +114 -80
- package/linter/rules/namespace-access.js +21 -33
- package/linter/rules/naming-convention.d.ts +1 -1
- package/linter/rules/naming-convention.js +60 -48
- package/linter/rules/network-functions.js +11 -7
- package/linter/rules/no-leaked-credentials.js +15 -18
- package/linter/rules/problematic-inputs.d.ts +2 -1
- package/linter/rules/problematic-inputs.js +39 -59
- package/linter/rules/roxygen-arguments.d.ts +9 -4
- package/linter/rules/roxygen-arguments.js +29 -48
- package/linter/rules/seeded-randomness.d.ts +7 -4
- package/linter/rules/seeded-randomness.js +128 -89
- package/linter/rules/stop-with-call-arg.d.ts +4 -2
- package/linter/rules/stop-with-call-arg.js +25 -22
- package/linter/rules/unclosed-connection.js +31 -24
- package/linter/rules/undefined-symbol.d.ts +4 -6
- package/linter/rules/undefined-symbol.js +58 -75
- package/linter/rules/unescaped-arguments.js +18 -44
- package/linter/rules/unused-definition.d.ts +6 -0
- package/linter/rules/unused-definition.js +105 -145
- package/linter/rules/unused-import.d.ts +3 -0
- package/linter/rules/unused-import.js +25 -43
- package/package.json +5 -2
- package/project/flowr-analyzer.js +6 -2
- package/project/plugins/file-plugins/files/flowr-jupyter-file.d.ts +2 -2
- package/project/plugins/file-plugins/files/flowr-jupyter-file.js +8 -12
- package/project/plugins/file-plugins/files/flowr-rmarkdown-file.d.ts +7 -5
- package/project/plugins/file-plugins/files/flowr-rmarkdown-file.js +34 -56
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.js +16 -41
- package/queries/base-query-format.js +1 -2
- package/queries/catalog/absint-query/absint-query-format.js +1 -1
- package/queries/catalog/dataflow-query/dataflow-query-executor.js +2 -2
- package/queries/catalog/dataflow-query/dataflow-query-format.d.ts +2 -0
- package/queries/catalog/dataflow-query/dataflow-query-format.js +4 -7
- package/queries/catalog/dependencies-query/dependencies-query-executor.js +50 -114
- package/queries/catalog/dependencies-query/function-info/library-functions.d.ts +5 -9
- package/queries/catalog/dependencies-query/function-info/library-functions.js +6 -0
- package/queries/catalog/dependencies-query/function-info/read-functions.js +1 -1
- package/queries/catalog/dependencies-query/function-info/write-functions.js +7 -3
- package/queries/catalog/input-sources-query/simple-input-classifier.d.ts +4 -4
- package/queries/catalog/input-sources-query/simple-input-classifier.js +192 -301
- package/r-bridge/lang-4.x/ast/model/model.d.ts +3 -1
- package/r-bridge/lang-4.x/ast/model/model.js +19 -43
- package/r-bridge/lang-4.x/ast/model/nodes/r-access.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-argument.d.ts +3 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-argument.js +5 -12
- package/r-bridge/lang-4.x/ast/model/nodes/r-binary-op.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-break.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-comment.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-expression-list.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-for-loop.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-definition.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-if-then-else.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-line-directive.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-logical.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-next.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-number.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-parameter.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-pipe.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-repeat-loop.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-string.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-symbol.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-unary-op.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-while-loop.d.ts +1 -0
- package/r-bridge/roxygen2/roxygen-parse.js +28 -42
- package/r-bridge/shell.js +6 -0
- package/search/search-executor/search-enrichers.js +25 -37
- package/slicing/static/slice-call.d.ts +4 -3
- package/slicing/static/slice-call.js +56 -88
- package/slicing/static/static-slicer.js +115 -79
- package/slicing/static/visiting-queue.d.ts +4 -6
- package/slicing/static/visiting-queue.js +9 -13
- package/util/proc.js +2 -1
- package/util/r-base-packages.d.ts +2 -0
- package/util/r-base-packages.js +23 -13
- package/util/text/playground-link.d.ts +12 -3
- package/util/text/playground-link.js +18 -27
- package/util/version.js +4 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DataflowProcessorInformation } from '../processor';
|
|
2
2
|
import type { DataflowInformation } from '../info';
|
|
3
3
|
import { ExitPointType } from '../info';
|
|
4
|
-
import { NseArguments } from '../internal/process/functions/call/known-call-handling';
|
|
4
|
+
import { type NseArguments } from '../internal/process/functions/call/known-call-handling';
|
|
5
5
|
import { processAccess } from '../internal/process/functions/call/built-in/built-in-access';
|
|
6
6
|
import { processIfThenElse } from '../internal/process/functions/call/built-in/built-in-if-then-else';
|
|
7
7
|
import { processAssignment, processAssignmentLike, processDefineArgument } from '../internal/process/functions/call/built-in/built-in-assignment';
|
|
@@ -87,7 +87,7 @@ export interface DefaultBuiltInProcessorConfiguration extends BuiltInFnInfo {
|
|
|
87
87
|
readonly keepArgumentOut?: boolean;
|
|
88
88
|
readonly hasUnknownSideEffects?: boolean | LinkTo<RegExp | string>;
|
|
89
89
|
/** how the call reads or writes global state like the graphics parameters or the options, see {@link AmbientStateAccess} */
|
|
90
|
-
readonly ambient?: AmbientStateAccess;
|
|
90
|
+
readonly ambient?: AmbientStateAccess | readonly AmbientStateAccess[];
|
|
91
91
|
/** the call changes that state for a scope only, see {@link AmbientScope} */
|
|
92
92
|
readonly scope?: AmbientScope;
|
|
93
93
|
/** record mapping the actual function name called to the arguments that should be treated as function calls */
|
|
@@ -81,8 +81,8 @@ function dataArgumentSymbols(args, sig) {
|
|
|
81
81
|
if (r_argument_1.RArgument.isEmpty(arg) || (prop & built_in_props_1.ArgProp.Atomic) === 0 || (prop & (built_in_props_1.ArgProp.Callee | built_in_props_1.ArgProp.Nse)) !== 0) {
|
|
82
82
|
continue;
|
|
83
83
|
}
|
|
84
|
-
const value = r_argument_1.RArgument.
|
|
85
|
-
if (
|
|
84
|
+
const value = r_argument_1.RArgument.valueOf(arg);
|
|
85
|
+
if (r_symbol_1.RSymbol.is(value)) {
|
|
86
86
|
(symbols ??= new Set()).add(value.info.id);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -97,7 +97,7 @@ function defaultBuiltInProcessor(name, args, rootId, data, { useAsProcessor = bu
|
|
|
97
97
|
if (layout !== undefined) {
|
|
98
98
|
nse ??= (layout.any & built_in_props_1.ArgProp.Nse) !== 0 ? function_semantics_1.FunctionSemantics.call.signature.posWith(layout, args.length, built_in_props_1.ArgProp.Nse) : undefined;
|
|
99
99
|
}
|
|
100
|
-
const nsePositions =
|
|
100
|
+
const nsePositions = nse === undefined ? undefined : new Set((0, known_call_handling_1.nseArgumentPositions)(nse, args.length));
|
|
101
101
|
let lastEnv = data.environment;
|
|
102
102
|
/* `evalq(expr)` runs `expr` right here, in the frame it is called from */
|
|
103
103
|
const inPlace = args.length === 1 && identifier_1.Identifier.getName(name.content) === 'evalq';
|
|
@@ -122,88 +122,49 @@ function defaultBuiltInProcessor(name, args, rootId, data, { useAsProcessor = bu
|
|
|
122
122
|
if (keepArgumentOut) {
|
|
123
123
|
res.out = [...res.out, ...processedArguments.flatMap(arg => arg?.out ?? [])];
|
|
124
124
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
res.graph.addEdge(rootId, arg.entryPoint, edge_1.EdgeType.Returns);
|
|
129
|
-
}
|
|
125
|
+
const alias = layout !== undefined && layout.alias >= 0 ? processedArguments[layout.alias] : undefined;
|
|
126
|
+
if (alias !== undefined) {
|
|
127
|
+
res.graph.addEdge(rootId, alias.entryPoint, edge_1.EdgeType.Returns);
|
|
130
128
|
}
|
|
131
129
|
if (readAllArguments) {
|
|
132
|
-
|
|
133
|
-
if (arg) {
|
|
134
|
-
res.graph.addEdge(rootId, arg.entryPoint, edge_1.EdgeType.Reads);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
130
|
+
readArguments(res.graph, rootId, processedArguments);
|
|
137
131
|
}
|
|
138
132
|
else if (layout !== undefined && (layout.any & (built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Shape)) !== 0) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
if (arg) {
|
|
142
|
-
res.graph.addEdge(rootId, arg.entryPoint, edge_1.EdgeType.Reads);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
133
|
+
const valuePositions = function_semantics_1.FunctionSemantics.call.signature.posWith(layout, processedArguments.length, built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Shape);
|
|
134
|
+
readArguments(res.graph, rootId, valuePositions.map(i => processedArguments[i]));
|
|
145
135
|
}
|
|
146
136
|
if (hasUnknownSideEffects) {
|
|
147
|
-
|
|
148
|
-
(0, unknown_side_effect_1.handleUnknownSideEffect)(res.graph, res.environment, rootId);
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
(0, unknown_side_effect_1.handleUnknownSideEffect)(res.graph, res.environment, rootId, hasUnknownSideEffects);
|
|
152
|
-
}
|
|
137
|
+
(0, unknown_side_effect_1.handleUnknownSideEffect)(res.graph, res.environment, rootId, hasUnknownSideEffects === true ? undefined : hasUnknownSideEffects);
|
|
153
138
|
}
|
|
154
|
-
const fnCallNames = treatAsFnCall?.[identifier_1.Identifier.getName(name.content)];
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
else {
|
|
170
|
-
continue;
|
|
171
|
-
}
|
|
172
|
-
res.graph.updateToFunctionCall({
|
|
173
|
-
tag: vertex_1.VertexType.FunctionCall,
|
|
174
|
-
id: fnId,
|
|
175
|
-
name: fnName,
|
|
176
|
-
args: [],
|
|
177
|
-
environment: data.environment,
|
|
178
|
-
onlyBuiltin: false,
|
|
179
|
-
cds: data.cds,
|
|
180
|
-
origin: [useAsProcessor]
|
|
181
|
-
});
|
|
182
|
-
}
|
|
139
|
+
const fnCallNames = treatAsFnCall?.[identifier_1.Identifier.getName(name.content)] ?? [];
|
|
140
|
+
for (const arg of args) {
|
|
141
|
+
const rhs = arg !== r_function_call_1.EmptyArgument && fnCallNames.includes(arg.name?.content) ? arg.value : undefined;
|
|
142
|
+
if (r_string_1.RString.is(rhs) || r_symbol_1.RSymbol.is(rhs)) {
|
|
143
|
+
res.graph.updateToFunctionCall({
|
|
144
|
+
tag: vertex_1.VertexType.FunctionCall,
|
|
145
|
+
id: rhs.info.id,
|
|
146
|
+
name: r_string_1.RString.is(rhs) ? rhs.content.str : rhs.content,
|
|
147
|
+
args: [],
|
|
148
|
+
environment: data.environment,
|
|
149
|
+
onlyBuiltin: false,
|
|
150
|
+
cds: data.cds,
|
|
151
|
+
origin: [useAsProcessor]
|
|
152
|
+
});
|
|
183
153
|
}
|
|
184
154
|
}
|
|
185
155
|
if (cfg !== undefined) {
|
|
186
156
|
/* the call jumps, so it never falls through to whatever follows it */
|
|
187
157
|
const exitPoints = res.exitPoints.filter(e => e.type !== 0 /* ExitPointType.Default */ || e.nodeId !== rootId);
|
|
188
|
-
exitPoints
|
|
189
|
-
res.exitPoints = exitPoints;
|
|
158
|
+
res.exitPoints = [...exitPoints, { type: cfg, nodeId: rootId, cds: data.cds }];
|
|
190
159
|
}
|
|
191
160
|
return ambient === undefined ? res : (0, built_in_ambient_state_1.applyAmbientStateAccess)(res, args, rootId, data, ambient);
|
|
192
161
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
else if (typeof which !== 'string') {
|
|
199
|
-
return new Set(which);
|
|
200
|
-
}
|
|
201
|
-
const positions = new Set();
|
|
202
|
-
const end = which === known_call_handling_1.NseArguments.First ? Math.min(1, count) : count;
|
|
203
|
-
for (let i = which === known_call_handling_1.NseArguments.AllButFirst ? 1 : 0; i < end; i++) {
|
|
204
|
-
positions.add(i);
|
|
162
|
+
function readArguments(graph, rootId, args) {
|
|
163
|
+
for (const arg of args) {
|
|
164
|
+
if (arg) {
|
|
165
|
+
graph.addEdge(rootId, arg.entryPoint, edge_1.EdgeType.Reads);
|
|
166
|
+
}
|
|
205
167
|
}
|
|
206
|
-
return positions;
|
|
207
168
|
}
|
|
208
169
|
/** Whatever a quoted argument saw in its clean env must not be resolved in the caller's frame afterwards. */
|
|
209
170
|
function dropQuotedReferences(res, processedArguments, nsePositions, lastEnv) {
|
|
@@ -227,16 +188,18 @@ function defaultBuiltInProcessorReadallArgs(name, args, rootId, data, { useAsPro
|
|
|
227
188
|
const { information, processedArguments } = (0, known_call_handling_1.processKnownFunctionCall)({
|
|
228
189
|
name, args, rootId, data, sig, origin: useAsProcessor, nonFunction: dataArgumentSymbols(args, sig)
|
|
229
190
|
});
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
g.addEdge(rootId, arg.entryPoint, edge_1.EdgeType.Reads);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
(0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(g, rootId, processedArguments, nse);
|
|
237
|
-
(0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(g, rootId, processedArguments, masked, { kind: known_call_handling_1.NseKind.DataMasked });
|
|
191
|
+
readArguments(information.graph, rootId, processedArguments);
|
|
192
|
+
(0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(information.graph, rootId, processedArguments, nse);
|
|
193
|
+
(0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(information.graph, rootId, processedArguments, masked, { kind: known_call_handling_1.NseKind.DataMasked });
|
|
238
194
|
return ambient === undefined ? information : (0, built_in_ambient_state_1.applyAmbientStateAccess)(information, args, rootId, data, ambient);
|
|
239
195
|
}
|
|
196
|
+
/** A call that reads or writes the files its arguments name accesses the {@link AmbientStateName.files|files on disk} as well. */
|
|
197
|
+
function withFileAccess(config) {
|
|
198
|
+
const { tags, ambient, sig } = (config ?? {});
|
|
199
|
+
const type = !tags?.includes(built_in_props_1.SemanticCallTag.File) ? undefined : tags.includes(built_in_props_1.SemanticCallTag.Writes) ? "write-files" /* AmbientStateAccessType.WriteFiles */ : tags.includes(built_in_props_1.SemanticCallTag.Reads) ? "read-files" /* AmbientStateAccessType.ReadFiles */ : undefined;
|
|
200
|
+
const stated = [ambient ?? []].flat();
|
|
201
|
+
return type === undefined || stated.some(a => a.type === type) ? config : { ...config, ambient: [...stated, { type, sig: tags?.includes(built_in_props_1.SemanticCallTag.Glob) ? undefined : sig }] };
|
|
202
|
+
}
|
|
240
203
|
exports.BuiltInProcessorMapper = {
|
|
241
204
|
[built_in_proc_name_1.BuiltInProcName.Access]: built_in_access_1.processAccess,
|
|
242
205
|
[built_in_proc_name_1.BuiltInProcName.Apply]: built_in_apply_1.processApply,
|
|
@@ -334,6 +297,7 @@ class BuiltIns {
|
|
|
334
297
|
(0, assert_1.guard)(mappedProcessor !== undefined, () => `Processor for ${processor} is undefined! Please pass a valid builtin name ${JSON.stringify(Object.keys(exports.BuiltInProcessorMapper))}!`);
|
|
335
298
|
const mappedEval = evalHandler === undefined ? undefined : exports.BuiltInEvalHandlerMapper[evalHandler];
|
|
336
299
|
(0, assert_1.guard)(evalHandler === undefined || mappedEval !== undefined, () => `Eval handler ${evalHandler} is unknown! Please pass a valid one of ${JSON.stringify(Object.keys(exports.BuiltInEvalHandlerMapper))}!`);
|
|
300
|
+
config = withFileAccess(config);
|
|
337
301
|
for (const name of names) {
|
|
338
302
|
const n = identifier_1.Identifier.getName(name);
|
|
339
303
|
const id = node_id_1.NodeId.toBuiltIn(n);
|
|
@@ -191,6 +191,9 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
191
191
|
readonly processor: BuiltInProcName.Default;
|
|
192
192
|
readonly config: {
|
|
193
193
|
readonly markArgsAsMasked: NseArguments.AllButFirst;
|
|
194
|
+
readonly ambient: {
|
|
195
|
+
readonly type: AmbientStateAccessType.DrawRng;
|
|
196
|
+
};
|
|
194
197
|
readonly tags: [SemanticCallTag.Random];
|
|
195
198
|
};
|
|
196
199
|
readonly assumePrimitive: false;
|
|
@@ -287,6 +290,15 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
287
290
|
readonly sig: FnSig;
|
|
288
291
|
};
|
|
289
292
|
readonly assumePrimitive: true;
|
|
293
|
+
}, {
|
|
294
|
+
readonly type: "function";
|
|
295
|
+
readonly names: [Identifier];
|
|
296
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
297
|
+
readonly config: {
|
|
298
|
+
readonly props: CallProp.Pure;
|
|
299
|
+
readonly sig: [[".Data", number], ["...", number]];
|
|
300
|
+
};
|
|
301
|
+
readonly assumePrimitive: false;
|
|
290
302
|
}, {
|
|
291
303
|
readonly type: "function";
|
|
292
304
|
readonly names: [Identifier];
|
|
@@ -1215,6 +1227,26 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
1215
1227
|
readonly sig: [["dsn", number], ["...", number]];
|
|
1216
1228
|
};
|
|
1217
1229
|
readonly assumePrimitive: false;
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly type: "function";
|
|
1232
|
+
readonly names: [Identifier];
|
|
1233
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
1234
|
+
readonly config: {
|
|
1235
|
+
readonly libFn: true;
|
|
1236
|
+
readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
|
|
1237
|
+
readonly sig: [["...", number], ["out", number]];
|
|
1238
|
+
};
|
|
1239
|
+
readonly assumePrimitive: false;
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly type: "function";
|
|
1242
|
+
readonly names: Identifier[];
|
|
1243
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
1244
|
+
readonly config: {
|
|
1245
|
+
readonly libFn: true;
|
|
1246
|
+
readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
|
|
1247
|
+
readonly sig: [["l", number], ["file", number]];
|
|
1248
|
+
};
|
|
1249
|
+
readonly assumePrimitive: false;
|
|
1218
1250
|
}, {
|
|
1219
1251
|
readonly type: "function";
|
|
1220
1252
|
readonly names: [Identifier];
|
|
@@ -2572,13 +2604,25 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
2572
2604
|
readonly assumePrimitive: false;
|
|
2573
2605
|
}, {
|
|
2574
2606
|
readonly type: "function";
|
|
2575
|
-
readonly names: Identifier
|
|
2607
|
+
readonly names: [Identifier];
|
|
2576
2608
|
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
2577
2609
|
readonly config: {
|
|
2578
2610
|
readonly tags: [SemanticCallTag.Opens];
|
|
2579
2611
|
readonly sig: [["object", number]];
|
|
2580
2612
|
};
|
|
2581
2613
|
readonly assumePrimitive: false;
|
|
2614
|
+
}, {
|
|
2615
|
+
readonly type: "function";
|
|
2616
|
+
readonly names: [Identifier];
|
|
2617
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
2618
|
+
readonly config: {
|
|
2619
|
+
readonly ambient: {
|
|
2620
|
+
readonly type: AmbientStateAccessType.OpenTextConnection;
|
|
2621
|
+
};
|
|
2622
|
+
readonly tags: [SemanticCallTag.Opens];
|
|
2623
|
+
readonly sig: [["object", number]];
|
|
2624
|
+
};
|
|
2625
|
+
readonly assumePrimitive: false;
|
|
2582
2626
|
}, {
|
|
2583
2627
|
readonly type: "function";
|
|
2584
2628
|
readonly names: Identifier[];
|
|
@@ -2725,7 +2769,6 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
2725
2769
|
readonly processor: BuiltInProcName.Default;
|
|
2726
2770
|
readonly config: {
|
|
2727
2771
|
readonly libFn: true;
|
|
2728
|
-
readonly tags: [SemanticCallTag.Network, SemanticCallTag.Reads];
|
|
2729
2772
|
readonly sig: [["x", number], ["...", number]];
|
|
2730
2773
|
};
|
|
2731
2774
|
readonly assumePrimitive: false;
|
|
@@ -2878,10 +2921,38 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
2878
2921
|
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
2879
2922
|
readonly config: {
|
|
2880
2923
|
readonly props: number;
|
|
2924
|
+
readonly ambient: {
|
|
2925
|
+
readonly type: AmbientStateAccessType.WriteFiles;
|
|
2926
|
+
};
|
|
2881
2927
|
readonly tags: [SemanticCallTag.Closes];
|
|
2882
2928
|
readonly sig: [["con", number], ["...", number]];
|
|
2883
2929
|
};
|
|
2884
2930
|
readonly assumePrimitive: false;
|
|
2931
|
+
}, {
|
|
2932
|
+
readonly type: "function";
|
|
2933
|
+
readonly names: [Identifier];
|
|
2934
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
2935
|
+
readonly config: {
|
|
2936
|
+
readonly props: CallProp.Invisible;
|
|
2937
|
+
readonly ambient: {
|
|
2938
|
+
readonly type: AmbientStateAccessType.WriteFiles;
|
|
2939
|
+
};
|
|
2940
|
+
readonly tags: [SemanticCallTag.Closes];
|
|
2941
|
+
readonly sig: [["con", number], ["type", number], ["...", number]];
|
|
2942
|
+
};
|
|
2943
|
+
readonly assumePrimitive: false;
|
|
2944
|
+
}, {
|
|
2945
|
+
readonly type: "function";
|
|
2946
|
+
readonly names: [Identifier];
|
|
2947
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
2948
|
+
readonly config: {
|
|
2949
|
+
readonly props: number;
|
|
2950
|
+
readonly ambient: {
|
|
2951
|
+
readonly type: AmbientStateAccessType.WriteFiles;
|
|
2952
|
+
};
|
|
2953
|
+
readonly sig: [["con", number]];
|
|
2954
|
+
};
|
|
2955
|
+
readonly assumePrimitive: false;
|
|
2885
2956
|
}, {
|
|
2886
2957
|
readonly type: "function";
|
|
2887
2958
|
readonly names: [Identifier];
|
|
@@ -3014,6 +3085,35 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3014
3085
|
};
|
|
3015
3086
|
};
|
|
3016
3087
|
readonly assumePrimitive: false;
|
|
3088
|
+
}, {
|
|
3089
|
+
readonly type: "function";
|
|
3090
|
+
readonly names: [Identifier];
|
|
3091
|
+
readonly processor: BuiltInProcName.Default;
|
|
3092
|
+
readonly config: {
|
|
3093
|
+
readonly libFn: true;
|
|
3094
|
+
readonly props: CallProp.Configures;
|
|
3095
|
+
readonly tags: [SemanticCallTag.Random];
|
|
3096
|
+
readonly scope: {
|
|
3097
|
+
readonly state: "rng";
|
|
3098
|
+
readonly params: readonly ["seed", "code", ".rng_kind", ".rng_normal_kind", ".rng_sample_kind"];
|
|
3099
|
+
readonly code: "code";
|
|
3100
|
+
};
|
|
3101
|
+
};
|
|
3102
|
+
readonly assumePrimitive: false;
|
|
3103
|
+
}, {
|
|
3104
|
+
readonly type: "function";
|
|
3105
|
+
readonly names: [Identifier];
|
|
3106
|
+
readonly processor: BuiltInProcName.Default;
|
|
3107
|
+
readonly config: {
|
|
3108
|
+
readonly libFn: true;
|
|
3109
|
+
readonly props: number;
|
|
3110
|
+
readonly tags: [SemanticCallTag.Random];
|
|
3111
|
+
readonly scope: {
|
|
3112
|
+
readonly state: "rng";
|
|
3113
|
+
readonly params: readonly ["seed", ".local_envir", ".rng_kind", ".rng_normal_kind", ".rng_sample_kind"];
|
|
3114
|
+
};
|
|
3115
|
+
};
|
|
3116
|
+
readonly assumePrimitive: false;
|
|
3017
3117
|
}, {
|
|
3018
3118
|
readonly type: "function";
|
|
3019
3119
|
readonly names: [Identifier];
|
|
@@ -3046,7 +3146,7 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3046
3146
|
readonly assumePrimitive: false;
|
|
3047
3147
|
}, {
|
|
3048
3148
|
readonly type: "function";
|
|
3049
|
-
readonly names: [
|
|
3149
|
+
readonly names: Identifier[];
|
|
3050
3150
|
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
3051
3151
|
readonly config: {
|
|
3052
3152
|
readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
|
|
@@ -3103,6 +3203,24 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3103
3203
|
readonly sig: [["file", number]];
|
|
3104
3204
|
};
|
|
3105
3205
|
readonly assumePrimitive: false;
|
|
3206
|
+
}, {
|
|
3207
|
+
readonly type: "function";
|
|
3208
|
+
readonly names: [Identifier];
|
|
3209
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
3210
|
+
readonly config: {
|
|
3211
|
+
readonly tags: [SemanticCallTag.File, SemanticCallTag.Writes];
|
|
3212
|
+
readonly sig: [["...", number], ["file", number], ["append", number], ["type", number], ["split", number]];
|
|
3213
|
+
};
|
|
3214
|
+
readonly assumePrimitive: false;
|
|
3215
|
+
}, {
|
|
3216
|
+
readonly type: "function";
|
|
3217
|
+
readonly names: Identifier[];
|
|
3218
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
3219
|
+
readonly config: {
|
|
3220
|
+
readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
|
|
3221
|
+
readonly sig: [["...", number]];
|
|
3222
|
+
};
|
|
3223
|
+
readonly assumePrimitive: false;
|
|
3106
3224
|
}, {
|
|
3107
3225
|
readonly type: "function";
|
|
3108
3226
|
readonly names: Identifier[];
|
|
@@ -3166,6 +3284,9 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3166
3284
|
readonly names: [Identifier];
|
|
3167
3285
|
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
3168
3286
|
readonly config: {
|
|
3287
|
+
readonly ambient: {
|
|
3288
|
+
readonly type: AmbientStateAccessType.DrawRng;
|
|
3289
|
+
};
|
|
3169
3290
|
readonly tags: [SemanticCallTag.Random];
|
|
3170
3291
|
readonly sig: [["x", ArgProp.NoDefault], ["factor", 0], ["amount", 0]];
|
|
3171
3292
|
};
|
|
@@ -3175,6 +3296,9 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3175
3296
|
readonly names: Identifier[];
|
|
3176
3297
|
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
3177
3298
|
readonly config: {
|
|
3299
|
+
readonly ambient: {
|
|
3300
|
+
readonly type: AmbientStateAccessType.DrawRng;
|
|
3301
|
+
};
|
|
3178
3302
|
readonly tags: [SemanticCallTag.Random];
|
|
3179
3303
|
};
|
|
3180
3304
|
readonly assumePrimitive: false;
|
|
@@ -3187,6 +3311,28 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3187
3311
|
readonly sig: [["...", 0]];
|
|
3188
3312
|
};
|
|
3189
3313
|
readonly assumePrimitive: true;
|
|
3314
|
+
}, {
|
|
3315
|
+
readonly type: "function";
|
|
3316
|
+
readonly names: [Identifier];
|
|
3317
|
+
readonly processor: BuiltInProcName.Default;
|
|
3318
|
+
readonly config: {
|
|
3319
|
+
readonly ambient: {
|
|
3320
|
+
readonly type: AmbientStateAccessType.RegisterFinalizer;
|
|
3321
|
+
};
|
|
3322
|
+
readonly sig: [["e", ArgProp.Forced], ["f", ArgProp.Forced], ["onexit", number]];
|
|
3323
|
+
};
|
|
3324
|
+
readonly assumePrimitive: false;
|
|
3325
|
+
}, {
|
|
3326
|
+
readonly type: "function";
|
|
3327
|
+
readonly names: [Identifier];
|
|
3328
|
+
readonly processor: BuiltInProcName.Default;
|
|
3329
|
+
readonly config: {
|
|
3330
|
+
readonly ambient: {
|
|
3331
|
+
readonly type: AmbientStateAccessType.RunFinalizers;
|
|
3332
|
+
};
|
|
3333
|
+
readonly sig: [["verbose", number], ["reset", number], ["full", number]];
|
|
3334
|
+
};
|
|
3335
|
+
readonly assumePrimitive: false;
|
|
3190
3336
|
}, {
|
|
3191
3337
|
readonly type: "function";
|
|
3192
3338
|
readonly names: [Identifier];
|
|
@@ -3649,25 +3795,6 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3649
3795
|
readonly sig: FnSig;
|
|
3650
3796
|
};
|
|
3651
3797
|
readonly assumePrimitive: true;
|
|
3652
|
-
}, {
|
|
3653
|
-
readonly overrides: true;
|
|
3654
|
-
readonly type: "function";
|
|
3655
|
-
readonly names: Identifier[];
|
|
3656
|
-
readonly processor: BuiltInProcName.Default;
|
|
3657
|
-
readonly config: {
|
|
3658
|
-
readonly tags: SemanticCallTags;
|
|
3659
|
-
readonly treatAsFnCall: {
|
|
3660
|
-
readonly facet_grid: readonly ["labeller"];
|
|
3661
|
-
};
|
|
3662
|
-
readonly hasUnknownSideEffects: {
|
|
3663
|
-
readonly type: "link-to-last-call";
|
|
3664
|
-
readonly callName: RegExp;
|
|
3665
|
-
readonly ignoreIf: (source: NodeId, graph: DataflowGraph) => boolean;
|
|
3666
|
-
readonly cascadeIf: (targetVertex: DataflowGraphVertexInfo, _: NodeId, graph: DataflowGraph) => CascadeAction.Stop | CascadeAction.Continue;
|
|
3667
|
-
};
|
|
3668
|
-
readonly sig: FnSig;
|
|
3669
|
-
};
|
|
3670
|
-
readonly assumePrimitive: true;
|
|
3671
3798
|
}, {
|
|
3672
3799
|
readonly type: "function";
|
|
3673
3800
|
readonly names: (string | Identifier)[];
|
|
@@ -3811,10 +3938,26 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3811
3938
|
readonly names: [Identifier];
|
|
3812
3939
|
readonly processor: BuiltInProcName.Default;
|
|
3813
3940
|
readonly config: {
|
|
3814
|
-
readonly
|
|
3941
|
+
readonly ambient: {
|
|
3942
|
+
readonly type: AmbientStateAccessType.SetRng;
|
|
3943
|
+
};
|
|
3815
3944
|
readonly props: number;
|
|
3816
3945
|
readonly tags: [SemanticCallTag.Random];
|
|
3817
|
-
readonly sig: [["seed", number]];
|
|
3946
|
+
readonly sig: [["seed", number], ["kind", number], ["normal.kind", number], ["sample.kind", number]];
|
|
3947
|
+
};
|
|
3948
|
+
readonly assumePrimitive: false;
|
|
3949
|
+
}, {
|
|
3950
|
+
readonly type: "function";
|
|
3951
|
+
readonly names: [Identifier];
|
|
3952
|
+
readonly processor: BuiltInProcName.Default;
|
|
3953
|
+
readonly config: {
|
|
3954
|
+
readonly ambient: {
|
|
3955
|
+
readonly type: AmbientStateAccessType.SetRng;
|
|
3956
|
+
readonly kindFrom: 0;
|
|
3957
|
+
};
|
|
3958
|
+
readonly props: CallProp.Configures;
|
|
3959
|
+
readonly tags: [SemanticCallTag.Random];
|
|
3960
|
+
readonly sig: [["kind", number], ["normal.kind", number], ["sample.kind", number]];
|
|
3818
3961
|
};
|
|
3819
3962
|
readonly assumePrimitive: false;
|
|
3820
3963
|
}, {
|
|
@@ -3964,6 +4107,14 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
3964
4107
|
readonly sig: [["expr", number], ["...", ArgProp.Callee]];
|
|
3965
4108
|
};
|
|
3966
4109
|
readonly assumePrimitive: true;
|
|
4110
|
+
}, {
|
|
4111
|
+
readonly type: "function";
|
|
4112
|
+
readonly names: [Identifier];
|
|
4113
|
+
readonly processor: BuiltInProcName.Default;
|
|
4114
|
+
readonly config: {
|
|
4115
|
+
readonly sig: [["r", number], ["...", number]];
|
|
4116
|
+
};
|
|
4117
|
+
readonly assumePrimitive: true;
|
|
3967
4118
|
}, {
|
|
3968
4119
|
readonly type: "function";
|
|
3969
4120
|
readonly names: [Identifier, Identifier];
|
|
@@ -4466,7 +4617,7 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
4466
4617
|
readonly processor: BuiltInProcName.DefineArgument;
|
|
4467
4618
|
readonly config: {
|
|
4468
4619
|
readonly superAssignment: true;
|
|
4469
|
-
readonly sig: [["...", 0], ["list",
|
|
4620
|
+
readonly sig: [["...", 0], ["list", ArgProp.Value], ["package", 0], ["lib.loc", 0], ["verbose", 0], ["envir", 0], ["overwrite", 0]];
|
|
4470
4621
|
};
|
|
4471
4622
|
readonly assumePrimitive: false;
|
|
4472
4623
|
}, {
|
|
@@ -5001,7 +5152,6 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
5001
5152
|
readonly config: {
|
|
5002
5153
|
readonly open: "${";
|
|
5003
5154
|
readonly props: CallProp.MayPure;
|
|
5004
|
-
readonly tags: [SemanticCallTag.Deprecated];
|
|
5005
5155
|
};
|
|
5006
5156
|
readonly assumePrimitive: false;
|
|
5007
5157
|
}, {
|
|
@@ -6273,7 +6423,6 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
6273
6423
|
readonly config: {
|
|
6274
6424
|
readonly markArgsAsMasked: NseArguments.AllButFirst;
|
|
6275
6425
|
readonly props: CallProp.Pure;
|
|
6276
|
-
readonly tags: [SemanticCallTag.Deprecated];
|
|
6277
6426
|
readonly sig: FnSig;
|
|
6278
6427
|
};
|
|
6279
6428
|
readonly assumePrimitive: false;
|
|
@@ -6435,7 +6584,6 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
6435
6584
|
readonly config: {
|
|
6436
6585
|
readonly markArgsAsMasked: NseArguments.AllButFirst;
|
|
6437
6586
|
readonly props: CallProp.Pure;
|
|
6438
|
-
readonly tags: [SemanticCallTag.Deprecated];
|
|
6439
6587
|
readonly sig: [["data", ArgProp.Value], ["col", ArgProp.Value], ["into", ArgProp.Value], ["sep", ArgProp.Value], ["remove", ArgProp.Flag], ["convert", ArgProp.Flag]];
|
|
6440
6588
|
};
|
|
6441
6589
|
readonly assumePrimitive: false;
|
|
@@ -6609,7 +6757,6 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
6609
6757
|
readonly config: {
|
|
6610
6758
|
readonly markArgsAsMasked: NseArguments.AllButFirst;
|
|
6611
6759
|
readonly props: CallProp.Pure;
|
|
6612
|
-
readonly tags: [SemanticCallTag.Deprecated];
|
|
6613
6760
|
};
|
|
6614
6761
|
readonly names: Identifier[];
|
|
6615
6762
|
}, {
|
|
@@ -6661,6 +6808,11 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
6661
6808
|
readonly tags: [SemanticCallTag.Deprecated];
|
|
6662
6809
|
};
|
|
6663
6810
|
readonly names: Identifier[];
|
|
6811
|
+
}, {
|
|
6812
|
+
readonly type: "function";
|
|
6813
|
+
readonly processor: BuiltInProcName.DefaultReadAllArgs;
|
|
6814
|
+
readonly config: {};
|
|
6815
|
+
readonly names: Identifier[];
|
|
6664
6816
|
}, {
|
|
6665
6817
|
readonly overrides: true;
|
|
6666
6818
|
readonly type: "function";
|