Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/smartcasts/loops/dataFlowInfoFromWhileCondition.dot
T
2020-03-19 09:51:01 +03:00

78 lines
2.2 KiB
Plaintext
Vendored

digraph dataFlowInfoFromWhileCondition_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter function test" style="filled" fillcolor=red];
3 [label="Const: Null(null)"];
4 [label="Variable declaration: lvar a: R|A?|"];
subgraph cluster_2 {
color=blue
5 [label="Enter while loop"];
subgraph cluster_3 {
color=blue
6 [label="Enter loop condition"];
subgraph cluster_4 {
color=blue
7 [label="Enter ||"];
8 [label="Access variable R|<local>/a|"];
9 [label="Type operator: (R|<local>/a| is R|B|)"];
10 [label="Exit left part of ||"];
11 [label="Enter right part of ||"];
12 [label="Access variable R|<local>/a|"];
13 [label="Type operator: (R|<local>/a| is R|C|)"];
14 [label="Exit ||"];
}
15 [label="Exit loop condition"];
}
subgraph cluster_5 {
color=blue
16 [label="Enter loop block"];
subgraph cluster_6 {
color=blue
17 [label="Enter block"];
18 [label="Access variable R|<local>/a|"];
19 [label="Function call: R|<local>/a|.R|/A.foo|()"];
20 [label="Exit block"];
}
21 [label="Exit loop block"];
}
22 [label="Exit whileloop"];
}
23 [label="Exit function test" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {14 11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {22 16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {6};
22 -> {23};
}