mirror of
https://github.com/hohn/codeql-javascript.git
synced 2025-12-16 14:23:04 +01:00
63 lines
1.8 KiB
Plaintext
63 lines
1.8 KiB
Plaintext
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"; ];
|
|
}
|