35 lines
973 B
Plaintext
Vendored
35 lines
973 B
Plaintext
Vendored
digraph simple_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];
|
|
4 [label="Const: Int(1)"];
|
|
5 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
|
6 [label="Access variable R|<local>/x|"];
|
|
7 [label="Const: Int(1)"];
|
|
8 [label="Function call: R|<local>/x|.R|kotlin/Int.plus|(...)"];
|
|
9 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
|
10 [label="Function call: R|/foo|()"];
|
|
3 [label="Exit function test" style="filled" fillcolor=red];
|
|
}
|
|
2 -> {4};
|
|
4 -> {5};
|
|
5 -> {6};
|
|
6 -> {7};
|
|
7 -> {8};
|
|
8 -> {9};
|
|
9 -> {10};
|
|
10 -> {3};
|
|
|
|
}
|