Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/smartcasts/tryWithLambdaInside.dot
T
2020-06-19 15:53:00 +03:00

215 lines
7.2 KiB
Plaintext
Vendored

digraph tryWithLambdaInside_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function notInPlaceFilter" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
2 [label="Enter block"];
3 [label="Access variable this@R|/notInPlaceFilter|"];
4 [label="Jump: ^notInPlaceFilter this@R|/notInPlaceFilter|"];
5 [label="Stub" style="filled" fillcolor=gray];
6 [label="Exit block" style="filled" fillcolor=gray];
}
1 [label="Exit function notInPlaceFilter" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {3};
3 -> {4};
4 -> {1};
4 -> {5} [style=dotted];
5 -> {6} [style=dotted];
6 -> {1} [style=dotted];
subgraph cluster_2 {
color=red
7 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
9 [label="Enter block"];
10 [label="Exit block"];
}
8 [label="Exit function foo" style="filled" fillcolor=red];
}
7 -> {9};
9 -> {10};
10 -> {8};
subgraph cluster_4 {
color=red
11 [label="Enter function testInPlace" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
13 [label="Enter block"];
subgraph cluster_6 {
color=blue
14 [label="Try expression enter"];
subgraph cluster_7 {
color=blue
16 [label="Try main block enter"];
subgraph cluster_8 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/list|"];
20 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
31 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
33 [label="Enter block"];
34 [label="Access variable R|<local>/it|"];
35 [label="Exit block"];
}
32 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
21 [label="Postponed exit from lambda"];
22 [label="Function call: R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(...)"];
23 [label="Exit block"];
}
24 [label="Try main block exit"];
}
subgraph cluster_11 {
color=blue
17 [label="Enter finally"];
subgraph cluster_12 {
color=blue
25 [label="Enter block"];
26 [label="Exit block"];
}
27 [label="Exit finally"];
}
15 [label="Try expression exit"];
}
28 [label="Jump: ^testInPlace try {
R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(<L> = filter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <kind=UNKNOWN> {
^ R|<local>/it|
}
)
}
finally {
}
"];
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit block" style="filled" fillcolor=gray];
}
12 [label="Exit function testInPlace" style="filled" fillcolor=red];
}
11 -> {13};
13 -> {14};
14 -> {16};
15 -> {28};
16 -> {12 17 18};
17 -> {25};
18 -> {19};
19 -> {20};
20 -> {31};
20 -> {21} [color=red];
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {15};
25 -> {26};
26 -> {27};
27 -> {15};
28 -> {12};
28 -> {29} [style=dotted];
29 -> {30} [style=dotted];
30 -> {12} [style=dotted];
31 -> {32 33};
32 -> {21} [color=green];
32 -> {31} [color=green style=dashed];
33 -> {34};
34 -> {35};
35 -> {32};
subgraph cluster_13 {
color=red
36 [label="Enter function testNotInPlace" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
38 [label="Enter block"];
subgraph cluster_15 {
color=blue
39 [label="Try expression enter"];
subgraph cluster_16 {
color=blue
41 [label="Try main block enter"];
subgraph cluster_17 {
color=blue
43 [label="Enter block"];
44 [label="Access variable R|<local>/list|"];
45 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
58 [label="Enter block"];
59 [label="Access variable R|<local>/it|"];
60 [label="Exit block"];
}
57 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
46 [label="Postponed exit from lambda"];
47 [label="Function call: R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(...)"];
48 [label="Exit block"];
}
49 [label="Try main block exit"];
}
subgraph cluster_20 {
color=blue
42 [label="Enter finally"];
subgraph cluster_21 {
color=blue
50 [label="Enter block"];
51 [label="Exit block"];
}
52 [label="Exit finally"];
}
40 [label="Try expression exit"];
}
53 [label="Jump: ^testNotInPlace try {
R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(<L> = notInPlaceFilter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| {
^ R|<local>/it|
}
)
}
finally {
}
"];
54 [label="Stub" style="filled" fillcolor=gray];
55 [label="Exit block" style="filled" fillcolor=gray];
}
37 [label="Exit function testNotInPlace" style="filled" fillcolor=red];
}
36 -> {38};
38 -> {39};
39 -> {41};
40 -> {53};
41 -> {37 42 43};
42 -> {50};
43 -> {44};
44 -> {45};
45 -> {46 56};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {40};
50 -> {51};
51 -> {52};
52 -> {40};
53 -> {37};
53 -> {54} [style=dotted];
54 -> {55} [style=dotted];
55 -> {37} [style=dotted];
56 -> {58};
58 -> {59};
59 -> {60};
60 -> {57};
}