Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/cfg/postponedLambdaInConstructor.dot
T

116 lines
3.7 KiB
Plaintext
Vendored

digraph postponedLambdaInConstructor_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
subgraph cluster_1 {
color=red
3 [label="Enter class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
subgraph cluster_2 {
color=red
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Access variable R|<local>/s|"];
7 [label="Postponed enter to lambda"];
subgraph cluster_3 {
color=blue
13 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
14 [label="Enter block"];
15 [label="Postponed enter to lambda"];
subgraph cluster_5 {
color=blue
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
20 [label="Enter block"];
21 [label="Access variable R|<local>/it|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
16 [label="Postponed exit from lambda"];
17 [label="Exit block"];
}
18 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
8 [label="Postponed exit from lambda"];
9 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
10 [label="Call arguments union" style="filled" fillcolor=yellow];
11 [label="Delegated constructor call: super<R|A|>(...)"];
12 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
7 -> {13};
7 -> {8} [color=red];
7 -> {13} [style=dashed];
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
13 -> {14};
14 -> {15};
15 -> {16 19};
15 -> {19} [style=dashed];
16 -> {17};
17 -> {18};
18 -> {10} [color=red];
18 -> {8} [color=green];
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
subgraph cluster_7 {
color=red
24 [label="Enter property" style="filled" fillcolor=red];
25 [label="Access variable R|<local>/s|"];
26 [label="Exit property" style="filled" fillcolor=red];
}
24 -> {25};
25 -> {26};
26 -> {34} [color=green];
subgraph cluster_8 {
color=red
27 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
28 [label="Enter block"];
29 [label="Function call: this@R|/B|.R|/B.foo|()"];
30 [label="Exit block"];
}
31 [label="Exit function foo" style="filled" fillcolor=red];
}
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
subgraph cluster_10 {
color=red
32 [label="Enter class B" style="filled" fillcolor=red];
33 [label="Part of class initialization"];
34 [label="Exit class B" style="filled" fillcolor=red];
}
32 -> {33} [color=green];
33 -> {34} [style=dotted];
33 -> {24} [color=green];
33 -> {24} [style=dashed];
}