Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/cfg/safeCalls.dot
T
2020-04-03 10:08:17 +03:00

114 lines
2.9 KiB
Plaintext
Vendored

digraph safeCalls_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter function bar" style="filled" fillcolor=red];
3 [label="Exit function bar" style="filled" fillcolor=red];
}
2 -> {3};
subgraph cluster_2 {
color=red
4 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
subgraph cluster_3 {
color=red
6 [label="Enter function getter" style="filled" fillcolor=red];
7 [label="Exit function getter" style="filled" fillcolor=red];
}
6 -> {7};
subgraph cluster_4 {
color=red
8 [label="Enter property" style="filled" fillcolor=red];
9 [label="Exit property" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_5 {
color=red
10 [label="Enter function getter" style="filled" fillcolor=red];
11 [label="Exit function getter" style="filled" fillcolor=red];
}
10 -> {11};
subgraph cluster_6 {
color=red
12 [label="Enter property" style="filled" fillcolor=red];
13 [label="Exit property" style="filled" fillcolor=red];
}
12 -> {13};
subgraph cluster_7 {
color=red
14 [label="Enter class B" style="filled" fillcolor=red];
15 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_8 {
color=red
16 [label="Enter function test_1" style="filled" fillcolor=red];
17 [label="Access variable R|<local>/x|"];
18 [label="Enter safe call"];
19 [label="Function call: R|<local>/x|?.R|/A.foo|()"];
20 [label="Exit safe call"];
21 [label="Enter safe call"];
22 [label="Function call: R|<local>/x|?.R|/A.foo|()?.R|/A.bar|()"];
23 [label="Exit safe call"];
24 [label="Exit function test_1" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18 20};
18 -> {19};
19 -> {20};
20 -> {21 23};
21 -> {22};
22 -> {23};
23 -> {24};
subgraph cluster_9 {
color=red
25 [label="Enter function test_2" style="filled" fillcolor=red];
26 [label="Access variable R|<local>/x|"];
27 [label="Enter safe call"];
28 [label="Access variable R|/B.foo|"];
29 [label="Exit safe call"];
30 [label="Enter safe call"];
31 [label="Access variable R|/B.bar|"];
32 [label="Exit safe call"];
33 [label="Exit function test_2" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27 29};
27 -> {28};
28 -> {29};
29 -> {30 32};
30 -> {31};
31 -> {32};
32 -> {33};
}