Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/cfg/innerClassInAnonymousObject.dot
T
pyos 4bb7b1ac9f FIR DFA: use class enter node as data flow source for members
Also fix graphs for enums with specialized entries - since we don't
create property subgraphs for FirEnumEntry, there is no body to insert
AnonymousObjectEnterNode, AnonymousObjectExitNode, and
AnonymousObjectExpressionExitNode into.
2023-01-10 15:40:49 +02:00

69 lines
2.2 KiB
Plaintext
Vendored

digraph innerClassInAnonymousObject_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
14 [label="Enter property" style="filled" fillcolor=red];
15 [label="Enter anonymous object"];
subgraph cluster_1 {
color=blue
12 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
13 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
16 [label="Exit anonymous object"];
17 [label="Exit anonymous object expression"];
18 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
10 [label="Enter class Nested" style="filled" fillcolor=red];
11 [label="Exit class Nested" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
6 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
8 [label="Exit block"];
}
9 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
3 [label="Enter function <init>" style="filled" fillcolor=red];
4 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
5 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {12};
15 -> {16} [color=red];
15 -> {12} [style=dashed];
16 -> {17};
17 -> {18};
12 -> {13} [color=green];
12 -> {0 10} [color=red];
13 -> {0 10 16} [color=green];
13 -> {0 10} [style=dashed];
0 -> {1};
1 -> {2};
10 -> {11} [color=green];
10 -> {3 6} [color=red];
11 -> {3 6} [color=green];
11 -> {3 6} [style=dashed];
3 -> {4};
4 -> {5};
6 -> {7};
7 -> {8};
8 -> {9};
}