Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/smartcasts/tryWithLambdaInside.dot
T

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