@eagleoutice/flowr - v2.13.16
Preparing search index...
src/core/steps/pipeline/default-pipelines
DEFAULT_SLICING_PIPELINE
Variable DEFAULT_SLICING_PIPELINE
Const
DEFAULT_SLICING_PIPELINE
:
Pipeline
<
|
{
dependencies
:
readonly
[
]
;
description
:
"Parse the given R code into an AST"
;
executed
:
OncePerFile
;
humanReadableName
:
"parse with R shell"
;
name
:
"parse"
;
printer
:
{
"0"
:
<
Input
>
(
input
:
...
)
=>
...
;
"2"
:
{
(
value
:
...
,
replacer
?:
...
,
space
?:
...
)
:
...
;
(
value
:
...
,
replacer
?:
...
,
space
?:
...
)
:
...
;
}
;
"5"
:
(
p
:
...
,
config
:
...
)
=>
...
;
}
;
processor
:
(
_results
:
unknown
,
input
:
Partial
<
(...)
>
)
=>
Promise
<
(...)
>
;
requiredInput
:
ParseRequiredInput
<
string
>
;
}
|
{
dependencies
:
readonly
[
"parse"
]
;
description
:
"Normalize the AST to flowR's AST"
;
executed
:
OncePerFile
;
humanReadableName
:
"normalize"
;
name
:
"normalize"
;
printer
:
{
"0"
:
<
Input
>
(
input
:
...
)
=>
...
;
"2"
:
(
ast
:
...
)
=>
...
;
"3"
:
(
ast
:
...
)
=>
...
;
"4"
:
(
ast
:
...
)
=>
...
;
"5"
:
(
ast
:
...
,
config
:
...
)
=>
...
;
}
;
processor
:
(
results
:
{
parse
?:
...
}
,
input
:
Partial
<
(...)
>
,
)
=>
NormalizedAst
<
(...)
,
(...)
>
;
requiredInput
:
NormalizeRequiredInput
;
}
|
{
dependencies
:
readonly
[
"normalize"
]
;
description
:
"Construct the dataflow graph"
;
executed
:
OncePerFile
;
humanReadableName
:
"dataflow"
;
name
:
"dataflow"
;
printer
:
{
"0"
:
<
Input
>
(
input
:
...
)
=>
...
;
"2"
:
(
df
:
...
)
=>
...
;
"3"
:
(
this
:
...
,
graph
:
...
,
includeEnvironments
?:
...
,
mark
?:
...
,
simplified
?:
...
,
qualifyBaseR
?:
...
,
)
=>
...
;
"4"
:
(
this
:
...
,
graph
:
...
,
includeEnvironments
?:
...
,
mark
?:
...
,
simplified
?:
...
,
qualifyBaseR
?:
...
,
)
=>
...
;
"5"
:
(
df
:
...
,
config
:
...
)
=>
...
;
}
;
processor
:
(
results
:
{
normalize
?:
...
}
,
input
:
{
context
?:
...
;
parser
?:
...
}
,
)
=>
(...)
&
(...)
;
requiredInput
:
{}
;
}
|
{
dependencies
:
readonly
[
"dataflow"
]
;
description
:
"Calculate the actual static slice from the dataflow graph and the given slicing criteria"
;
executed
:
OncePerRequest
;
humanReadableName
:
"static slice"
;
name
:
"slice"
;
printer
:
{
"0"
:
<
Input
>
(
input
:
...
)
=>
...
}
;
processor
:
(
results
:
{
dataflow
?:
...
;
normalize
?:
...
}
,
input
:
Partial
<
(...)
>
,
)
=>
Readonly
<
(...)
>
;
requiredInput
:
SliceRequiredInput
;
}
|
{
dependencies
:
readonly
[
"slice"
]
;
description
:
"Reconstruct R code from the static slice"
;
executed
:
OncePerRequest
;
humanReadableName
:
"static code reconstruction"
;
name
:
"reconstruct"
;
printer
:
{
"0"
:
<
Input
>
(
input
:
...
)
=>
...
}
;
processor
:
(
results
:
{
dataflow
?:
...
;
normalize
?:
...
;
slice
?:
...
}
,
input
:
Partial
<
(...)
>
,
)
=>
ReconstructionResult
;
requiredInput
:
ReconstructRequiredInput
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@eagleoutice/flowr - v2.13.16
Loading...