@eagleoutice/flowr 2.9.13 → 2.10.1
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 +52 -28
- package/abstract-interpretation/absint-visitor.d.ts +1 -1
- package/abstract-interpretation/absint-visitor.js +20 -20
- package/abstract-interpretation/data-frame/mappers/replacement-mapper.js +2 -2
- package/benchmark/slicer.d.ts +1 -1
- package/benchmark/slicer.js +7 -5
- package/benchmark/stats/stats.d.ts +2 -2
- package/cli/repl/commands/repl-dataflow.js +5 -5
- package/cli/repl/parser/slice-query-parser.d.ts +3 -3
- package/cli/repl/parser/slice-query-parser.js +2 -2
- package/cli/repl/server/connection.js +2 -2
- package/cli/repl/server/messages/message-slice.d.ts +1 -1
- package/cli/repl/server/messages/message-slice.js +2 -2
- package/config.d.ts +12 -8
- package/config.js +5 -3
- package/control-flow/extract-cfg.js +2 -2
- package/control-flow/semantic-cfg-guided-visitor.d.ts +1 -1
- package/control-flow/semantic-cfg-guided-visitor.js +43 -43
- package/control-flow/useless-loop.d.ts +1 -1
- package/control-flow/useless-loop.js +3 -3
- package/core/print/dataflow-printer.d.ts +0 -14
- package/core/print/dataflow-printer.js +0 -21
- package/core/steps/all/core/20-dataflow.d.ts +3 -3
- package/core/steps/all/core/20-dataflow.js +3 -2
- package/core/steps/all/static-slicing/00-slice.d.ts +2 -5
- package/core/steps/all/static-slicing/00-slice.js +6 -8
- package/core/steps/pipeline/default-pipelines.d.ts +89 -89
- package/dataflow/environments/built-in-proc-name.d.ts +83 -0
- package/dataflow/environments/built-in-proc-name.js +88 -0
- package/dataflow/environments/built-in.d.ts +1 -83
- package/dataflow/environments/built-in.js +37 -120
- package/dataflow/environments/default-builtin-config.d.ts +1 -1
- package/dataflow/environments/default-builtin-config.js +75 -75
- package/dataflow/environments/identifier.d.ts +5 -0
- package/dataflow/environments/identifier.js +18 -0
- package/dataflow/eval/resolve/resolve.js +2 -2
- package/dataflow/fn/exceptions-of-function.d.ts +1 -1
- package/dataflow/fn/exceptions-of-function.js +2 -2
- package/dataflow/graph/call-graph.d.ts +46 -19
- package/dataflow/graph/call-graph.js +95 -114
- package/dataflow/graph/dataflowgraph-builder.d.ts +1 -1
- package/dataflow/graph/dataflowgraph-builder.js +2 -2
- package/dataflow/graph/df-helper.d.ts +133 -0
- package/dataflow/graph/df-helper.js +138 -0
- package/dataflow/graph/diff-dataflow-graph.d.ts +5 -10
- package/dataflow/graph/diff-dataflow-graph.js +3 -28
- package/dataflow/graph/edge.d.ts +1 -0
- package/dataflow/graph/edge.js +1 -0
- package/dataflow/graph/graph-helper.d.ts +60 -0
- package/dataflow/graph/graph-helper.js +128 -0
- package/dataflow/graph/graph.d.ts +19 -3
- package/dataflow/graph/graph.js +32 -5
- package/dataflow/graph/vertex.d.ts +3 -1
- package/dataflow/info.d.ts +14 -4
- package/dataflow/info.js +28 -16
- package/dataflow/internal/linker.d.ts +14 -10
- package/dataflow/internal/linker.js +29 -32
- package/dataflow/internal/process/functions/call/built-in/built-in-access.js +5 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-apply.js +5 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +8 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-eval.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-eval.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-for-loop.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +6 -6
- package/dataflow/internal/process/functions/call/built-in/built-in-get.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-library.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-list.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-local.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-local.js +5 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-pipe.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-quote.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-recall.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-register-hook.js +5 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-repeat-loop.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-replacement.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-replacement.js +5 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-rm.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-dispatch.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-new-generic.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.js +7 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-source.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-special-bin-op.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-stop-if-not.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.js +6 -9
- package/dataflow/internal/process/functions/call/built-in/built-in-vector.js +2 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.js +2 -2
- package/dataflow/internal/process/functions/call/common.js +2 -1
- package/dataflow/internal/process/functions/call/known-call-handling.js +2 -2
- package/dataflow/internal/process/functions/call/named-call-handling.d.ts +1 -1
- package/dataflow/internal/process/functions/call/named-call-handling.js +1 -1
- package/dataflow/internal/process/functions/call/unnamed-call-handling.js +2 -2
- package/dataflow/internal/process/functions/process-parameter.js +1 -1
- package/dataflow/internal/process/process-uninteresting-leaf.d.ts +1 -1
- package/dataflow/internal/process/process-uninteresting-leaf.js +1 -1
- package/dataflow/origin/dfg-get-origin.d.ts +1 -1
- package/dataflow/origin/dfg-get-symbol-refs.js +6 -6
- package/documentation/doc-readme.js +2 -1
- package/documentation/doc-util/doc-dfg.d.ts +3 -0
- package/documentation/doc-util/doc-dfg.js +5 -7
- package/documentation/doc-util/doc-normalized-ast.d.ts +0 -6
- package/documentation/doc-util/doc-normalized-ast.js +0 -23
- package/documentation/doc-util/doc-structure.js +3 -3
- package/documentation/doc-util/doc-types.js +3 -3
- package/documentation/wiki-core.js +5 -4
- package/documentation/wiki-dataflow-graph.js +14 -12
- package/documentation/wiki-interface.js +3 -3
- package/documentation/wiki-linter.js +6 -0
- package/documentation/wiki-normalized-ast.js +5 -4
- package/documentation/wiki-query.js +28 -3
- package/linter/linter-rules.d.ts +49 -1
- package/linter/linter-rules.js +5 -1
- package/linter/rules/problematic-eval.d.ts +44 -0
- package/linter/rules/problematic-eval.js +83 -0
- package/linter/rules/seeded-randomness.js +2 -2
- package/linter/rules/stop-with-call-arg.d.ts +35 -0
- package/linter/rules/stop-with-call-arg.js +72 -0
- package/linter/rules/useless-loop.d.ts +1 -1
- package/package.json +7 -7
- package/project/cache/flowr-analyzer-cache.d.ts +1 -1
- package/project/cache/flowr-analyzer-cache.js +1 -1
- package/project/flowr-analyzer-builder.d.ts +3 -0
- package/project/flowr-analyzer.d.ts +1 -1
- package/queries/catalog/call-context-query/identify-link-to-nested-call-relation.js +2 -2
- package/queries/catalog/call-graph-query/call-graph-query-format.d.ts +1 -1
- package/queries/catalog/call-graph-query/call-graph-query-format.js +2 -2
- package/queries/catalog/cluster-query/cluster-query-format.js +2 -2
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.js +2 -2
- package/queries/catalog/dataflow-query/dataflow-query-format.js +2 -2
- package/queries/catalog/df-shape-query/df-shape-query-executor.js +1 -2
- package/queries/catalog/df-shape-query/df-shape-query-format.d.ts +3 -3
- package/queries/catalog/does-call-query/does-call-query-executor.js +2 -2
- package/queries/catalog/does-call-query/does-call-query-format.d.ts +2 -2
- package/queries/catalog/happens-before-query/happens-before-query-executor.js +2 -2
- package/queries/catalog/happens-before-query/happens-before-query-format.d.ts +3 -3
- package/queries/catalog/input-sources-query/input-sources-query-executor.d.ts +6 -0
- package/queries/catalog/input-sources-query/input-sources-query-executor.js +66 -0
- package/queries/catalog/input-sources-query/input-sources-query-format.d.ts +36 -0
- package/queries/catalog/input-sources-query/input-sources-query-format.js +63 -0
- package/queries/catalog/input-sources-query/simple-input-classifier.d.ts +90 -0
- package/queries/catalog/input-sources-query/simple-input-classifier.js +308 -0
- package/queries/catalog/inspect-exceptions-query/inspect-exception-query-executor.d.ts +2 -2
- package/queries/catalog/inspect-exceptions-query/inspect-exception-query-executor.js +1 -1
- package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.d.ts +2 -2
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-executor.js +3 -3
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.d.ts +2 -2
- package/queries/catalog/inspect-recursion-query/inspect-recursion-query-format.d.ts +2 -2
- package/queries/catalog/location-map-query/location-map-query-executor.js +2 -2
- package/queries/catalog/location-map-query/location-map-query-format.d.ts +2 -2
- package/queries/catalog/origin-query/origin-query-executor.d.ts +2 -2
- package/queries/catalog/origin-query/origin-query-executor.js +3 -3
- package/queries/catalog/origin-query/origin-query-format.d.ts +3 -3
- package/queries/catalog/provenance-query/provenance-query-executor.d.ts +6 -0
- package/queries/catalog/provenance-query/provenance-query-executor.js +34 -0
- package/queries/catalog/provenance-query/provenance-query-format.d.ts +35 -0
- package/queries/catalog/provenance-query/provenance-query-format.js +62 -0
- package/queries/catalog/resolve-value-query/resolve-value-query-executor.js +2 -2
- package/queries/catalog/search-query/search-query-format.js +1 -1
- package/queries/catalog/static-slice-query/static-slice-query-executor.js +4 -2
- package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +2 -2
- package/queries/catalog/static-slice-query/static-slice-query-format.js +3 -3
- package/queries/query.d.ts +17 -1
- package/queries/query.js +4 -0
- package/r-bridge/lang-4.x/ast/model/model.d.ts +9 -0
- package/r-bridge/lang-4.x/ast/model/model.js +10 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-access.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-access.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-argument.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-argument.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-binary-op.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-binary-op.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-break.d.ts +15 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-break.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-comment.d.ts +15 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-comment.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-expression-list.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-expression-list.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-for-loop.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-for-loop.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-definition.d.ts +29 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-definition.js +29 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-if-then-else.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-if-then-else.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-line-directive.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-line-directive.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-logical.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-logical.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-next.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-next.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-number.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-number.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-parameter.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-parameter.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-pipe.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-pipe.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-repeat-loop.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-repeat-loop.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-string.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-string.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-symbol.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-symbol.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-unary-op.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-unary-op.js +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-while-loop.d.ts +16 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-while-loop.js +2 -0
- package/search/flowr-search-filters.d.ts +1 -1
- package/search/flowr-search-printer.js +3 -3
- package/search/search-executor/search-enrichers.js +2 -2
- package/search/search-executor/search-generators.js +1 -1
- package/slicing/criterion/parse.d.ts +43 -18
- package/slicing/criterion/parse.js +68 -63
- package/slicing/static/slicer-types.d.ts +2 -3
- package/slicing/static/static-slicer.d.ts +3 -4
- package/slicing/static/static-slicer.js +32 -12
- package/util/collections/arrays.d.ts +4 -0
- package/util/collections/arrays.js +7 -0
- package/util/diff.d.ts +2 -2
- package/util/mermaid/ast.js +4 -4
- package/util/mermaid/cfg.js +5 -5
- package/util/mermaid/dfg.d.ts +33 -18
- package/util/mermaid/dfg.js +47 -31
- package/util/mermaid/mermaid.d.ts +57 -12
- package/util/mermaid/mermaid.js +74 -67
- package/util/range.d.ts +8 -0
- package/util/range.js +13 -1
- package/util/slice-direction.d.ts +7 -0
- package/util/slice-direction.js +12 -0
- package/util/version.js +1 -1
- package/dataflow/graph/invert-dfg.d.ts +0 -6
- package/dataflow/graph/invert-dfg.js +0 -20
- package/dataflow/graph/resolve-graph.d.ts +0 -8
- package/dataflow/graph/resolve-graph.js +0 -59
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { RAstNodeBase, Location, NoInfo,
|
|
1
|
+
import type { RAstNodeBase, Location, NoInfo, WithChildren } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
import type { RSymbol } from './r-symbol';
|
|
4
5
|
/**
|
|
@@ -31,4 +32,18 @@ export declare const RExpressionList: {
|
|
|
31
32
|
* Returns the grouping symbol at the end of the expression list, if it exists. For example, for an expression list created by `{ ... }`, this would return the symbol for `}`.
|
|
32
33
|
*/
|
|
33
34
|
readonly groupEnd: <Info = object>(this: void, node: RExpressionList<Info>) => RSymbol<Info> | undefined;
|
|
35
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
36
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
37
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
38
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
39
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
40
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
41
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
42
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
43
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
44
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
45
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
46
|
+
lexeme: string;
|
|
47
|
+
} ? string : string | undefined;
|
|
48
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
34
49
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RExpressionList = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RExpressionList} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RExpressionList = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RExpressionList',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for {@link RExpressionList} nodes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { RAstNodeBase, Location, NoInfo
|
|
1
|
+
import type { RAstNodeBase, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
import type { RSymbol } from './r-symbol';
|
|
4
5
|
import type { RExpressionList } from './r-expression-list';
|
|
@@ -25,4 +26,18 @@ export declare const RForLoop: {
|
|
|
25
26
|
* Type guard for RForLoop nodes.
|
|
26
27
|
*/
|
|
27
28
|
readonly is: <Info = object>(this: void, node: RNode<Info> | undefined) => node is RForLoop<Info>;
|
|
29
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
30
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
31
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
32
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
33
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
34
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
35
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
36
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
37
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
38
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
39
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
40
|
+
lexeme: string;
|
|
41
|
+
} ? string : string | undefined;
|
|
42
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
28
43
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RForLoop = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RForLoop} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RForLoop = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RForLoop',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for RForLoop nodes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { RAstNodeBase, Location, NoInfo
|
|
1
|
+
import type { RAstNodeBase, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
import type { RSymbol } from './r-symbol';
|
|
4
5
|
import type { RArgument } from './r-argument';
|
|
@@ -46,4 +47,18 @@ export declare const RFunctionCall: {
|
|
|
46
47
|
* Type guard for {@link RUnnamedFunctionCall} nodes.
|
|
47
48
|
*/
|
|
48
49
|
readonly isUnnamed: <Info = object>(this: void, node: RNode<Info> | undefined) => node is RUnnamedFunctionCall<Info>;
|
|
50
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
51
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
52
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
53
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
54
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
55
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof EmptyArgument)[];
|
|
56
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
57
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
58
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
59
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
60
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
61
|
+
lexeme: string;
|
|
62
|
+
} ? string : string | undefined;
|
|
63
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
49
64
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RFunctionCall = exports.EmptyArgument = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
exports.EmptyArgument = '<>';
|
|
6
7
|
/**
|
|
7
8
|
* Helper for working with {@link RFunctionCall} AST nodes.
|
|
8
9
|
*/
|
|
9
10
|
exports.RFunctionCall = {
|
|
11
|
+
...model_1.RNode,
|
|
10
12
|
name: 'RFunctionCall',
|
|
11
13
|
/**
|
|
12
14
|
* Type guard for {@link RFunctionCall} nodes.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import type { RAstNodeBase, Location, NoInfo
|
|
1
|
+
import type { RAstNodeBase, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
import type { RParameter } from './r-parameter';
|
|
5
|
+
import type { AstIdMap, ParentInformation } from '../processing/decorate';
|
|
4
6
|
/**
|
|
5
7
|
* ```r
|
|
6
8
|
* function(<parameters>) <body>
|
|
@@ -25,4 +27,30 @@ export declare const RFunctionDefinition: {
|
|
|
25
27
|
* Type guard for {@link RFunctionDefinition} nodes.
|
|
26
28
|
*/
|
|
27
29
|
readonly is: <Info = object>(this: void, node: RNode<Info> | undefined) => node is RFunctionDefinition<Info>;
|
|
30
|
+
/**
|
|
31
|
+
* Checks whether the given id is part of a function definition, and if so, this returns the id of the
|
|
32
|
+
* inner-most function definition.
|
|
33
|
+
* @see {@link RFunctionDefinition.rootFunctionDefinition} - for the outer-most function definition
|
|
34
|
+
*/
|
|
35
|
+
readonly wrappingFunctionDefinition: <Info = object>(this: void, n: RNode<ParentInformation & Info> | undefined, idMap: AstIdMap<ParentInformation & Info>) => RFunctionDefinition<ParentInformation & Info> | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Checks whether the given id is part of a function definition, and if so, this returns the id of the
|
|
38
|
+
* outer-most function definition.
|
|
39
|
+
* @see {@link RFunctionDefinition.wrappingFunctionDefinition} - for the inner-most function definition
|
|
40
|
+
*/
|
|
41
|
+
readonly rootFunctionDefinition: <Info = object>(this: void, n: RNode<ParentInformation & Info> | undefined, idMap: AstIdMap<ParentInformation & Info>) => RFunctionDefinition<ParentInformation & Info> | undefined;
|
|
42
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
43
|
+
readonly getId: (this: void, node: RNode<ParentInformation>) => import("../processing/node-id").NodeId;
|
|
44
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
45
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
46
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
47
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
48
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & ParentInformation>>) => RNode<OtherInfo & ParentInformation> | undefined;
|
|
49
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & ParentInformation>>) => Generator<RNode<OtherInfo & ParentInformation>>;
|
|
50
|
+
readonly depth: (this: void, node: RNode<ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<ParentInformation>>) => number;
|
|
51
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & ParentInformation>>, stop: (node: RNode<OtherInfo & ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
52
|
+
readonly lexeme: <R extends RNode<ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
53
|
+
lexeme: string;
|
|
54
|
+
} ? string : string | undefined;
|
|
55
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
28
56
|
};
|
|
@@ -1,17 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RFunctionDefinition = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RFunctionDefinition} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RFunctionDefinition = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RFunctionDefinition',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for {@link RFunctionDefinition} nodes.
|
|
12
14
|
*/
|
|
13
15
|
is(node) {
|
|
14
16
|
return node?.type === type_1.RType.FunctionDefinition;
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* Checks whether the given id is part of a function definition, and if so, this returns the id of the
|
|
20
|
+
* inner-most function definition.
|
|
21
|
+
* @see {@link RFunctionDefinition.rootFunctionDefinition} - for the outer-most function definition
|
|
22
|
+
*/
|
|
23
|
+
wrappingFunctionDefinition(n, idMap) {
|
|
24
|
+
for (const p of model_1.RNode.iterateParents(n, idMap)) {
|
|
25
|
+
if (exports.RFunctionDefinition.is(p)) {
|
|
26
|
+
return p;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return undefined;
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* Checks whether the given id is part of a function definition, and if so, this returns the id of the
|
|
33
|
+
* outer-most function definition.
|
|
34
|
+
* @see {@link RFunctionDefinition.wrappingFunctionDefinition} - for the inner-most function definition
|
|
35
|
+
*/
|
|
36
|
+
rootFunctionDefinition(n, idMap) {
|
|
37
|
+
let root = undefined;
|
|
38
|
+
for (const p of model_1.RNode.iterateParents(n, idMap)) {
|
|
39
|
+
if (exports.RFunctionDefinition.is(p)) {
|
|
40
|
+
root = p;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return root;
|
|
15
44
|
}
|
|
16
45
|
};
|
|
17
46
|
//# sourceMappingURL=r-function-definition.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { RAstNodeBase, Location, NoInfo
|
|
1
|
+
import type { RAstNodeBase, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
import type { RExpressionList } from './r-expression-list';
|
|
4
5
|
/**
|
|
@@ -21,4 +22,18 @@ export declare const RIfThenElse: {
|
|
|
21
22
|
* Type guard for {@link RIfThenElse} nodes.
|
|
22
23
|
*/
|
|
23
24
|
readonly is: <Info = object>(this: void, node: RNode<Info> | undefined) => node is RIfThenElse<Info>;
|
|
25
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
26
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
27
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
28
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
29
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
30
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
31
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
32
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
33
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
34
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
35
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
36
|
+
lexeme: string;
|
|
37
|
+
} ? string : string | undefined;
|
|
38
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
24
39
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RIfThenElse = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RIfThenElse} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RIfThenElse = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RIfThenElse',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for {@link RIfThenElse} nodes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { Leaf, Location, NoInfo
|
|
1
|
+
import type { Leaf, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
/**
|
|
4
5
|
* Special comment to signal line mappings (e.g., in generated code) to the interpreter.
|
|
@@ -17,4 +18,18 @@ export declare const RLineDirective: {
|
|
|
17
18
|
* Type guard for {@link RLineDirective} nodes.
|
|
18
19
|
*/
|
|
19
20
|
readonly is: <Info = object>(this: void, node: RNode<Info> | undefined) => node is RLineDirective<Info>;
|
|
21
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
22
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
23
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
24
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
25
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
26
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
27
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
28
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
29
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
30
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
31
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
32
|
+
lexeme: string;
|
|
33
|
+
} ? string : string | undefined;
|
|
34
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
20
35
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RLineDirective = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RLineDirective} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RLineDirective = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RLineDirective',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for {@link RLineDirective} nodes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { Leaf, Location, NoInfo
|
|
1
|
+
import type { Leaf, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
export type RLogicalValue = boolean;
|
|
4
5
|
/**
|
|
@@ -25,4 +26,18 @@ export declare const RLogical: {
|
|
|
25
26
|
* Checks whether a node is a logical constant with value `FALSE`.
|
|
26
27
|
*/
|
|
27
28
|
readonly isFalse: <Info = object>(this: void, node: RNode<Info> | undefined) => boolean;
|
|
29
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
30
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
31
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
32
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
33
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
34
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
35
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
36
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
37
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
38
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
39
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
40
|
+
lexeme: string;
|
|
41
|
+
} ? string : string | undefined;
|
|
42
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
28
43
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RLogical = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RLogical} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RLogical = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RLogical',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for {@link RLogical} nodes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { Leaf, Location, NoInfo
|
|
1
|
+
import type { Leaf, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
/**
|
|
4
5
|
* A `next` statement.
|
|
@@ -15,4 +16,18 @@ export declare const RNext: {
|
|
|
15
16
|
* Type guard for {@link RNext} nodes.
|
|
16
17
|
*/
|
|
17
18
|
readonly is: <Info = object>(this: void, node: RNode<Info> | undefined) => node is RNext<Info>;
|
|
19
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
20
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
21
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
22
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
23
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
24
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
25
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
26
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
27
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
28
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
29
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
30
|
+
lexeme: string;
|
|
31
|
+
} ? string : string | undefined;
|
|
32
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
18
33
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RNext = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RNext} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RNext = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RNext',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for {@link RNext} nodes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { Leaf, Location, NoInfo
|
|
1
|
+
import type { Leaf, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
import type { RNumberValue } from '../../../convert-values';
|
|
4
5
|
/**
|
|
@@ -19,4 +20,18 @@ export declare const RNumber: {
|
|
|
19
20
|
* Type guard for {@link RNumber} nodes.
|
|
20
21
|
*/
|
|
21
22
|
readonly is: <Info = object>(this: void, node: RNode<Info> | undefined) => node is RNumber<Info>;
|
|
23
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
24
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
25
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
26
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
27
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
28
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
29
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
30
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
31
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
32
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
33
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
34
|
+
lexeme: string;
|
|
35
|
+
} ? string : string | undefined;
|
|
36
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
22
37
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RNumber = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RNumber} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RNumber = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RNumber',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for {@link RNumber} nodes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { RAstNodeBase, Location, NoInfo
|
|
1
|
+
import type { RAstNodeBase, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
import type { RSymbol } from './r-symbol';
|
|
4
5
|
import type { BrandedIdentifier } from '../../../../../dataflow/environments/identifier';
|
|
@@ -27,4 +28,18 @@ export declare const RParameter: {
|
|
|
27
28
|
* @see {@link RParameter.is} - to check whether a node is a parameter at all
|
|
28
29
|
*/
|
|
29
30
|
readonly isDotDotDotDot: <Info = object>(this: void, node: RNode<Info> | undefined) => node is RParameter<Info>;
|
|
31
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
32
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
33
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
34
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
35
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
36
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
37
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
38
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
39
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
40
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
41
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
42
|
+
lexeme: string;
|
|
43
|
+
} ? string : string | undefined;
|
|
44
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
30
45
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RParameter = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RParameter} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RParameter = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RParameter',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for {@link RParameter} nodes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { RAstNodeBase, Location, NoInfo
|
|
1
|
+
import type { RAstNodeBase, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
import { SemVer } from 'semver';
|
|
4
5
|
/**
|
|
@@ -22,4 +23,18 @@ export declare const RPipe: {
|
|
|
22
23
|
* Returns the minimum R version that supports the pipe operator.
|
|
23
24
|
*/
|
|
24
25
|
readonly availableFromRVersion: (this: void) => SemVer;
|
|
26
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
27
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
28
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
29
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
30
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
31
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
32
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
33
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
34
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
35
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
36
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
37
|
+
lexeme: string;
|
|
38
|
+
} ? string : string | undefined;
|
|
39
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
25
40
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RPipe = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
const semver_1 = require("semver");
|
|
6
7
|
const versions_1 = require("../versions");
|
|
@@ -8,6 +9,7 @@ const versions_1 = require("../versions");
|
|
|
8
9
|
* Helper for working with {@link RPipe} AST nodes.
|
|
9
10
|
*/
|
|
10
11
|
exports.RPipe = {
|
|
12
|
+
...model_1.RNode,
|
|
11
13
|
name: 'RPipe',
|
|
12
14
|
/**
|
|
13
15
|
* Type guard for {@link RPipe} nodes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { RAstNodeBase, Location, NoInfo
|
|
1
|
+
import type { RAstNodeBase, Location, NoInfo } from '../model';
|
|
2
|
+
import { RNode } from '../model';
|
|
2
3
|
import { RType } from '../type';
|
|
3
4
|
import type { RExpressionList } from './r-expression-list';
|
|
4
5
|
/**
|
|
@@ -19,4 +20,18 @@ export declare const RRepeatLoop: {
|
|
|
19
20
|
* Type guard for RRepeatLoop nodes.
|
|
20
21
|
*/
|
|
21
22
|
readonly is: <Info = object>(this: void, node: RNode<Info> | undefined) => node is RRepeatLoop<Info>;
|
|
23
|
+
readonly getLocation: (this: void, node: RNode) => import("../../../../../util/range").SourceLocation | undefined;
|
|
24
|
+
readonly getId: (this: void, node: RNode<import("../processing/decorate").ParentInformation>) => import("../processing/node-id").NodeId;
|
|
25
|
+
readonly getType: (this: void, node: RNode) => RType;
|
|
26
|
+
readonly visitAst: <OtherInfo = object>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo>>, onVisit?: import("../processing/visitor").OnEnter<OtherInfo>, onExit?: import("../processing/visitor").OnExit<OtherInfo>) => void;
|
|
27
|
+
readonly collectAllIds: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Set<import("../processing/node-id").NodeId>;
|
|
28
|
+
readonly directChildren: <OtherInfo>(this: void, node: RNode<OtherInfo>) => readonly (RNode<OtherInfo> | typeof import("./r-function-call").EmptyArgument)[];
|
|
29
|
+
readonly directParent: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined;
|
|
30
|
+
readonly iterateParents: <OtherInfo>(this: void, node: RNode<OtherInfo & import("../processing/decorate").ParentInformation> | undefined, idMap: Map<import("../processing/node-id").NodeId, RNode<OtherInfo & import("../processing/decorate").ParentInformation>>) => Generator<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>;
|
|
31
|
+
readonly depth: (this: void, node: RNode<import("../processing/decorate").ParentInformation>, idMap: Map<import("../processing/node-id").NodeId, RNode<import("../processing/decorate").ParentInformation>>) => number;
|
|
32
|
+
readonly collectAllIdsWithStop: <OtherInfo>(this: void, nodes: import("../../../../../abstract-interpretation/normalized-ast-fold").SingleOrArrayOrNothing<RNode<OtherInfo & import("../processing/decorate").ParentInformation>>, stop: (node: RNode<OtherInfo & import("../processing/decorate").ParentInformation>) => boolean) => Set<import("../processing/node-id").NodeId>;
|
|
33
|
+
readonly lexeme: <R extends RNode<import("../processing/decorate").ParentInformation>>(this: void, node: R | undefined) => R extends {
|
|
34
|
+
lexeme: string;
|
|
35
|
+
} ? string : string | undefined;
|
|
36
|
+
readonly documentation: typeof import("../../../../roxygen2/documentation-provider").getDocumentationOf;
|
|
22
37
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RRepeatLoop = void 0;
|
|
4
|
+
const model_1 = require("../model");
|
|
4
5
|
const type_1 = require("../type");
|
|
5
6
|
/**
|
|
6
7
|
* Helper for working with {@link RRepeatLoop} AST nodes.
|
|
7
8
|
*/
|
|
8
9
|
exports.RRepeatLoop = {
|
|
10
|
+
...model_1.RNode,
|
|
9
11
|
name: 'RRepeatLoop',
|
|
10
12
|
/**
|
|
11
13
|
* Type guard for RRepeatLoop nodes.
|