Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/cfg/propertiesAndInitBlocks.dot
T
2020-06-19 15:53:04 +03:00

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