Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/problems/secondaryConstructorCfg.dot
T
pyos c6e9afb788 FIR CFA: remove class initializer part nodes
Instead, attach subgraphs directly to the class enter node.
2023-01-10 15:40:50 +02:00

91 lines
2.9 KiB
Plaintext
Vendored

digraph secondaryConstructorCfg_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter class B" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter property" style="filled" fillcolor=red];
2 [label="Access variable R|<local>/p0|"];
3 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
4 [label="Enter property" style="filled" fillcolor=red];
5 [label="Access variable R|<local>/p0|"];
6 [label="Access variable R|kotlin/String.length|"];
7 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
8 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
9 [label="Enter block"];
10 [label="Access variable R|<local>/p0|"];
11 [label="Access variable R|kotlin/String.length|"];
12 [label="Assignment: R|/B.p1|"];
13 [label="Const: String()"];
14 [label="Assignment: R|/B.p3|"];
15 [label="Exit block"];
}
16 [label="Exit init block" style="filled" fillcolor=red];
}
17 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
18 [label="Enter function <init>" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/p0|"];
20 [label="Delegated constructor call: this<R|B|>(...)" style="filled" fillcolor=yellow];
subgraph cluster_6 {
color=blue
21 [label="Enter block"];
22 [label="Access variable R|<local>/p1|"];
23 [label="Assignment: R|/B.p3|"];
24 [label="Exit block"];
}
25 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
26 [label="Enter function <init>" style="filled" fillcolor=red];
27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
28 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
0 -> {17} [style=dotted];
0 -> {1 4 8} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4} [color=green];
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8} [color=green];
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17} [color=green];
17 -> {18 26} [color=green];
17 -> {18 26} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
26 -> {27};
27 -> {28};
}