Files
kotlin-fork/compiler/testData/diagnostics/tests/script/ComplexScript.dot
T
Dmitrii Gridin 2f8026f335 [LL FIR] add missed diagnostic tests for scripts
^KT-62840
^KT-62841
^KT-62861
2023-10-24 19:32:54 +00:00

55 lines
1.6 KiB
Plaintext
Vendored

digraph ComplexScript_kts {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter file ComplexScript.kts [1]" style="filled" fillcolor=red];
1 [label="Exit file ComplexScript.kts [1]" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter function foo [3]" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter block [3]"];
4 [label="Const: Int(1) [3]"];
5 [label="Jump: ^foo Int(1) [3]"];
6 [label="Stub [3]" style="filled" fillcolor=gray];
7 [label="Exit block [3]" style="filled" fillcolor=gray];
}
8 [label="Exit function foo [3]" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {8};
5 -> {6} [style=dotted];
6 -> {7} [style=dotted];
7 -> {8} [style=dotted];
subgraph cluster_3 {
color=red
9 [label="Enter property [3]" style="filled" fillcolor=red];
10 [label="Const: Int(2) [3]"];
11 [label="Exit property [3]" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
subgraph cluster_4 {
color=red
12 [label="Enter property [3]" style="filled" fillcolor=red];
13 [label="Access variable R|/y| [3]"];
14 [label="Function call: R|/foo|(...) [3]" style="filled" fillcolor=yellow];
15 [label="Exit property [3]" style="filled" fillcolor=red];
}
12 -> {13};
13 -> {14};
14 -> {15};
}