Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/smartcasts/controlStructures/simpleIf.dot
T
2020-04-03 10:08:23 +03:00

187 lines
5.7 KiB
Plaintext
Vendored

digraph simpleIf_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
2 [label="Enter when"];
subgraph cluster_2 {
color=blue
4 [label="Enter when branch condition "];
5 [label="Access variable R|<local>/x|"];
6 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
7 [label="Exit when branch condition"];
}
14 [label="Synthetic else branch"];
8 [label="Enter when branch result"];
subgraph cluster_3 {
color=blue
9 [label="Enter block"];
10 [label="Access variable R|<local>/x|"];
11 [label="Access variable R|kotlin/String.length|"];
12 [label="Exit block"];
}
13 [label="Exit when branch result"];
3 [label="Exit when"];
}
15 [label="Access variable R|<local>/x|"];
16 [label="Access variable <Unresolved name: length>#"];
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {4};
3 -> {15};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8 14};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {3};
14 -> {3};
15 -> {16};
16 -> {1};
subgraph cluster_4 {
color=red
17 [label="Enter function test_2" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/x|"];
20 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
21 [label="Variable declaration: lval b: R|kotlin/Boolean|"];
subgraph cluster_5 {
color=blue
22 [label="Enter when"];
subgraph cluster_6 {
color=blue
24 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/b|"];
26 [label="Exit when branch condition"];
}
33 [label="Synthetic else branch"];
27 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
28 [label="Enter block"];
29 [label="Access variable R|<local>/x|"];
30 [label="Access variable R|kotlin/String.length|"];
31 [label="Exit block"];
}
32 [label="Exit when branch result"];
23 [label="Exit when"];
}
34 [label="Access variable R|<local>/x|"];
35 [label="Access variable <Unresolved name: length>#"];
18 [label="Exit function test_2" style="filled" fillcolor=red];
}
17 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {24};
23 -> {34};
24 -> {25};
25 -> {26};
26 -> {27 33};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {23};
33 -> {23};
34 -> {35};
35 -> {18};
subgraph cluster_8 {
color=red
36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
38 [label="Enter when"];
subgraph cluster_10 {
color=blue
40 [label="Enter when branch condition "];
41 [label="Access variable R|<local>/x|"];
42 [label="Type operator: (R|<local>/x| !is R|kotlin/String|)"];
43 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
48 [label="Enter when branch condition "];
49 [label="Access variable R|<local>/x|"];
50 [label="Type operator: (R|<local>/x| !is R|kotlin/Int|)"];
51 [label="Exit when branch condition"];
}
subgraph cluster_12 {
color=blue
56 [label="Enter when branch condition else"];
57 [label="Exit when branch condition"];
}
58 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
59 [label="Enter block"];
60 [label="Access variable R|<local>/x|"];
61 [label="Access variable R|kotlin/String.length|"];
62 [label="Access variable R|<local>/x|"];
63 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
64 [label="Exit block"];
}
65 [label="Exit when branch result"];
52 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
53 [label="Enter block"];
54 [label="Exit block"];
}
55 [label="Exit when branch result"];
44 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
45 [label="Enter block"];
46 [label="Exit block"];
}
47 [label="Exit when branch result"];
39 [label="Exit when"];
}
37 [label="Exit function test_3" style="filled" fillcolor=red];
}
36 -> {38};
38 -> {40};
39 -> {37};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44 48};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {39};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52 56};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {39};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {39};
}