-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnull.dot
62 lines (62 loc) · 1.83 KB
/
null.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
digraph {
compound=true;
0[label="(Parameters)"; ];
1[label="(Arguments)"; ];
2[label="(Arguments)"; ];
3[label="[VariableDeclarator] arr = [1, 2, 3]"; ];
4[label="[VarDecl] arr"; ];
5[label="[ArrayExpr] [1, 2, 3]"; ];
6[label="[Literal] 1"; ];
7[label="[Literal] 2"; ];
8[label="[Literal] 3"; ];
9[label="[VariableDeclarator] result ... > 3; })"; ];
10[label="[VarDecl] result"; ];
11[label="[MethodCallExpr] arr.som ... > 3; })"; ];
12[label="[DotExpr] arr.some"; ];
13[label="[VarRef] arr"; ];
14[label="[Label] some"; ];
15[label="[ArrowFunctionExpr] x => { ... > 3; }"; ];
16[label="[SimpleParameter] x"; ];
17[label="[BlockStmt] { return x > 3; }"; ];
18[label="[ReturnStmt] return x > 3;"; ];
19[label="[BinaryExpr] x > 3"; ];
20[label="[VarRef] x"; ];
21[label="[Literal] 3"; ];
22[label="[MethodCallExpr] console ... result)"; ];
23[label="[DotExpr] console.log"; ];
24[label="[VarRef] console"; ];
25[label="[Label] log"; ];
26[label="[Literal] \"result: \""; ];
27[label="[VarRef] result"; ];
28[label="[DeclStmt] var arr = ..."; ];
29[label="[DeclStmt] var result = ..."; ];
30[label="[ExprStmt] console ... result)"; ];
0 -> 16[label="0"; ];
1 -> 15[label="0"; ];
2 -> 26[label="0"; ];
11 -> 12[label="0"; ];
22 -> 23[label="0"; ];
2 -> 27[label="1"; ];
28 -> 3[label="1"; ];
3 -> 4[label="1"; ];
5 -> 6[label="1"; ];
29 -> 9[label="1"; ];
9 -> 10[label="1"; ];
11 -> 1[label="1"; ];
12 -> 13[label="1"; ];
15 -> 0[label="1"; ];
17 -> 18[label="1"; ];
18 -> 19[label="1"; ];
19 -> 20[label="1"; ];
30 -> 22[label="1"; ];
22 -> 2[label="1"; ];
23 -> 24[label="1"; ];
3 -> 5[label="2"; ];
5 -> 7[label="2"; ];
9 -> 11[label="2"; ];
12 -> 14[label="2"; ];
19 -> 21[label="2"; ];
23 -> 25[label="2"; ];
5 -> 8[label="3"; ];
15 -> 17[label="5"; ];
}