K2 Scripting: fix CFG processing related testdata in compiler
This commit is contained in:
committed by
Space Team
parent
ff4f30ddc1
commit
90a7f7beac
@@ -0,0 +1,38 @@
|
||||
digraph LateInit_kts {
|
||||
graph [nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter file LateInit.kts [1]" style="filled" fillcolor=red];
|
||||
1 [label="Exit file LateInit.kts [1]" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1} [color=green];
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter class <script-LateInit.kts> [2]" style="filled" fillcolor=red];
|
||||
3 [label="Exit class <script-LateInit.kts> [2]" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3} [color=green];
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
4 [label="Enter function foo [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
5 [label="Enter block [3]"];
|
||||
6 [label="Const: String(Hello) [3]"];
|
||||
7 [label="Assignment: R|/s| [3]"];
|
||||
8 [label="Exit block [3]"];
|
||||
}
|
||||
9 [label="Exit function foo [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user