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

281 lines
9.4 KiB
Plaintext
Vendored

digraph propertiesAndInitBlocks_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function run" style="filled" fillcolor=red];
2 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
1 [label="Exit function run" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {1};
subgraph cluster_1 {
color=red
5 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Exit function getter" style="filled" fillcolor=red];
}
7 [label="Const: Int(1)"];
6 [label="Exit property" style="filled" fillcolor=red];
}
5 -> {7};
7 -> {6};
3 -> {4};
subgraph cluster_3 {
color=red
17 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
13 [label="Enter function setter" style="filled" fillcolor=red];
15 [label="Const: Int(1)"];
16 [label="Assignment: F|/x2|"];
14 [label="Exit function setter" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
8 [label="Enter function getter" style="filled" fillcolor=red];
10 [label="Const: Int(1)"];
11 [label="Jump: ^ Int(1)"];
12 [label="Stub" style="filled" fillcolor=gray];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
19 [label="Const: Int(1)"];
18 [label="Exit property" style="filled" fillcolor=red];
}
17 -> {19};
19 -> {18};
8 -> {10};
10 -> {11};
11 -> {9};
11 -> {12} [style=dotted];
12 -> {9} [style=dotted];
13 -> {15};
15 -> {16};
16 -> {14};
subgraph cluster_6 {
color=red
29 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
30 [label="Exit function <init>" style="filled" fillcolor=red];
}
29 -> {31};
31 -> {30};
subgraph cluster_7 {
color=red
40 [label="Enter class LocalClass" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
32 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
34 [label="Enter block"];
35 [label="Function call: R|java/lang/Exception.Exception|()"];
36 [label="Throw: throw R|java/lang/Exception.Exception|()"];
37 [label="Stub" style="filled" fillcolor=gray];
38 [label="Const: Int(1)" style="filled" fillcolor=gray];
39 [label="Exit block" style="filled" fillcolor=gray];
}
33 [label="Exit init block" style="filled" fillcolor=red];
}
41 [label="Exit class LocalClass" style="filled" fillcolor=red];
}
40 -> {32} [color=green];
32 -> {34};
33 -> {41} [color=green];
34 -> {35};
35 -> {36};
36 -> {33};
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
39 -> {33} [style=dotted];
subgraph cluster_10 {
color=red
45 [label="Enter function <init>" style="filled" fillcolor=red];
47 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
46 [label="Exit function <init>" style="filled" fillcolor=red];
}
45 -> {47};
47 -> {46};
subgraph cluster_11 {
color=red
55 [label="Enter class LocalClass" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
48 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
50 [label="Enter block"];
51 [label="Function call: R|java/lang/Exception.Exception|()"];
52 [label="Throw: throw R|java/lang/Exception.Exception|()"];
53 [label="Stub" style="filled" fillcolor=gray];
54 [label="Exit block" style="filled" fillcolor=gray];
}
49 [label="Exit init block" style="filled" fillcolor=red];
}
56 [label="Exit class LocalClass" style="filled" fillcolor=red];
}
55 -> {48} [color=green];
48 -> {50};
49 -> {56} [color=green];
50 -> {51};
51 -> {52};
52 -> {49};
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
54 -> {49} [style=dotted];
subgraph cluster_14 {
color=red
57 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
42 [label="Enter function getter" style="filled" fillcolor=red];
44 [label="Exit local class <getter>"];
43 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_16 {
color=blue
45 [label="Enter function <init>" style="filled" fillcolor=red];
47 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
46 [label="Exit function <init>" style="filled" fillcolor=red];
}
59 [label="Postponed enter to lambda"];
subgraph cluster_17 {
color=blue
61 [label="Enter function anonymousFunction"];
63 [label="Exit local class val x3"];
64 [label="Function call: R|java/lang/Exception.Exception|()"];
65 [label="Throw: throw R|java/lang/Exception.Exception|()"];
66 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_18 {
color=blue
29 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
30 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_19 {
color=blue
20 [label="Enter function foo" style="filled" fillcolor=red];
22 [label="Const: Int(1)"];
23 [label="Const: Int(1)"];
24 [label="Function call: Int(1).R|kotlin/Int.plus|(...)"];
25 [label="Variable declaration: lval c: R|kotlin/Int|"];
26 [label="Function call: R|java/lang/Exception.Exception|()"];
27 [label="Throw: throw R|java/lang/Exception.Exception|()"];
28 [label="Stub" style="filled" fillcolor=gray];
21 [label="Exit function foo" style="filled" fillcolor=red];
}
62 [label="Exit function anonymousFunction"];
}
60 [label="Postponed exit from lambda"];
67 [label="Function call: R|/run|(...)"];
58 [label="Exit property" style="filled" fillcolor=red];
}
57 -> {59};
59 -> {61};
59 -> {60} [color=red];
60 -> {67};
61 -> {62 63};
61 -> {20 29} [color=red];
62 -> {61};
62 -> {60} [color=green];
63 -> {64};
64 -> {65};
65 -> {58};
65 -> {66} [style=dotted];
66 -> {62} [style=dotted];
67 -> {58};
20 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {21};
27 -> {28} [style=dotted];
28 -> {21} [style=dotted];
42 -> {44};
42 -> {45} [color=red];
44 -> {43};
subgraph cluster_20 {
color=red
70 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
68 [label="Enter function getter" style="filled" fillcolor=red];
69 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_22 {
color=blue
72 [label="Try expression enter"];
subgraph cluster_23 {
color=blue
74 [label="Try main block enter"];
subgraph cluster_24 {
color=blue
77 [label="Enter block"];
78 [label="Const: Int(1)"];
79 [label="Exit block"];
}
80 [label="Try main block exit"];
}
subgraph cluster_25 {
color=blue
76 [label="Enter finally"];
subgraph cluster_26 {
color=blue
85 [label="Enter block"];
86 [label="Const: Int(0)"];
87 [label="Exit block"];
}
88 [label="Exit finally"];
}
subgraph cluster_27 {
color=blue
75 [label="Catch enter"];
subgraph cluster_28 {
color=blue
81 [label="Enter block"];
82 [label="Const: Int(2)"];
83 [label="Exit block"];
}
84 [label="Catch exit"];
}
73 [label="Try expression exit"];
}
71 [label="Exit property" style="filled" fillcolor=red];
}
70 -> {72};
72 -> {74};
73 -> {71};
74 -> {71 75 76 77};
75 -> {71 81};
76 -> {85};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {73};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {73};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {73};
68 -> {69};
}