Skip to content

Commit 11ee7c7

Browse files
committed
update expected output
1 parent f9f29f5 commit 11ee7c7

File tree

7 files changed

+3427
-3427
lines changed

7 files changed

+3427
-3427
lines changed

javascript/ql/test/library-tests/Arrays/printAst.expected

Lines changed: 631 additions & 631 deletions
Large diffs are not rendered by default.
Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,84 @@
11
nodes
2-
| tst.html:2:1:13:7 | [HTML::Element] <html>...</> | semmle.label | [HTML::Element] <html>...</> |
3-
| tst.html:2:1:13:7 | [HTML::Element] <html>...</> | semmle.order | 1 |
4-
| tst.html:3:5:9:11 | [HTML::Element] <head>...</> | semmle.label | [HTML::Element] <head>...</> |
5-
| tst.html:4:9:4:32 | [HTML::Element] <title>...</> | semmle.label | [HTML::Element] <title>...</> |
6-
| tst.html:5:9:5:43 | (Attributes) | semmle.label | (Attributes) |
7-
| tst.html:5:9:5:43 | [HTML::ScriptElement] <script>...</> | semmle.label | [HTML::ScriptElement] <script>...</> |
2+
| file://:0:0:0:0 | (Arguments) | semmle.label | (Arguments) |
3+
| file://:0:0:0:0 | (Arguments) | semmle.label | (Arguments) |
4+
| file://:0:0:0:0 | (Attributes) | semmle.label | (Attributes) |
5+
| file://:0:0:0:0 | (Attributes) | semmle.label | (Attributes) |
6+
| file://:0:0:0:0 | (Attributes) | semmle.label | (Attributes) |
7+
| tst.html:2:1:13:7 | [HTML::Element] <html ... | semmle.label | [HTML::Element] <html ... |
8+
| tst.html:2:1:13:7 | [HTML::Element] <html ... | semmle.order | 1 |
9+
| tst.html:3:5:9:11 | [HTML::Element] <head ... | semmle.label | [HTML::Element] <head ... |
10+
| tst.html:4:9:4:32 | [HTML::Element] <title ... | semmle.label | [HTML::Element] <title ... |
11+
| tst.html:5:9:5:43 | [HTML::ScriptElement] <script ... | semmle.label | [HTML::ScriptElement] <script ... |
812
| tst.html:5:17:5:33 | [HTML::Attribute] src=external.js | semmle.label | [HTML::Attribute] src=external.js |
9-
| tst.html:6:9:8:17 | [HTML::ScriptElement] <script>...</> | semmle.label | [HTML::ScriptElement] <script>...</> |
13+
| tst.html:6:9:8:17 | [HTML::ScriptElement] <script ... | semmle.label | [HTML::ScriptElement] <script ... |
1014
| tst.html:6:17:8:8 | (Script) | semmle.label | (Script) |
1115
| tst.html:7:13:7:17 | [VarRef] alert | semmle.label | [VarRef] alert |
12-
| tst.html:7:13:7:34 | (Arguments) | semmle.label | (Arguments) |
1316
| tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | semmle.label | [CallExpr] alert(" ... orld!") |
1417
| tst.html:7:13:7:35 | [ExprStmt] alert(" ... rld!"); | semmle.label | [ExprStmt] alert(" ... rld!"); |
1518
| tst.html:7:19:7:33 | [Literal] "Hello, world!" | semmle.label | [Literal] "Hello, world!" |
16-
| tst.html:10:5:12:11 | (Attributes) | semmle.label | (Attributes) |
17-
| tst.html:10:5:12:11 | [HTML::Element] <body>...</> | semmle.label | [HTML::Element] <body>...</> |
19+
| tst.html:10:5:12:11 | [HTML::Element] <body ... | semmle.label | [HTML::Element] <body ... |
1820
| tst.html:10:11:10:16 | [HTML::Attribute] ng-app= | semmle.label | [HTML::Attribute] ng-app= |
19-
| tst.html:11:9:11:64 | (Attributes) | semmle.label | (Attributes) |
20-
| tst.html:11:9:11:64 | [HTML::Element] <a>...</> | semmle.label | [HTML::Element] <a>...</> |
21+
| tst.html:11:9:11:64 | [HTML::Element] <a ... | semmle.label | [HTML::Element] <a ... |
2122
| tst.html:11:12:11:49 | [HTML::Attribute] href=javascript:void(alert('Nope!')) | semmle.label | [HTML::Attribute] href=javascript:void(alert('Nope!')) |
2223
| tst.html:11:29:11:48 | (Script) | semmle.label | (Script) |
2324
| tst.html:11:29:11:48 | [ExprStmt] void(alert('Nope!')) | semmle.label | [ExprStmt] void(alert('Nope!')) |
2425
| tst.html:11:29:11:48 | [UnaryExpr] void(alert('Nope!')) | semmle.label | [UnaryExpr] void(alert('Nope!')) |
2526
| tst.html:11:33:11:48 | [ParExpr] (alert('Nope!')) | semmle.label | [ParExpr] (alert('Nope!')) |
2627
| tst.html:11:34:11:38 | [VarRef] alert | semmle.label | [VarRef] alert |
27-
| tst.html:11:34:11:47 | (Arguments) | semmle.label | (Arguments) |
2828
| tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | semmle.label | [CallExpr] alert('Nope!') |
2929
| tst.html:11:40:11:46 | [Literal] 'Nope!' | semmle.label | [Literal] 'Nope!' |
3030
edges
31-
| tst.html:2:1:13:7 | [HTML::Element] <html>...</> | tst.html:3:5:9:11 | [HTML::Element] <head>...</> | semmle.label | 1 |
32-
| tst.html:2:1:13:7 | [HTML::Element] <html>...</> | tst.html:3:5:9:11 | [HTML::Element] <head>...</> | semmle.order | 1 |
33-
| tst.html:2:1:13:7 | [HTML::Element] <html>...</> | tst.html:10:5:12:11 | [HTML::Element] <body>...</> | semmle.label | 3 |
34-
| tst.html:2:1:13:7 | [HTML::Element] <html>...</> | tst.html:10:5:12:11 | [HTML::Element] <body>...</> | semmle.order | 3 |
35-
| tst.html:3:5:9:11 | [HTML::Element] <head>...</> | tst.html:4:9:4:32 | [HTML::Element] <title>...</> | semmle.label | 1 |
36-
| tst.html:3:5:9:11 | [HTML::Element] <head>...</> | tst.html:4:9:4:32 | [HTML::Element] <title>...</> | semmle.order | 1 |
37-
| tst.html:3:5:9:11 | [HTML::Element] <head>...</> | tst.html:5:9:5:43 | [HTML::ScriptElement] <script>...</> | semmle.label | 3 |
38-
| tst.html:3:5:9:11 | [HTML::Element] <head>...</> | tst.html:5:9:5:43 | [HTML::ScriptElement] <script>...</> | semmle.order | 3 |
39-
| tst.html:3:5:9:11 | [HTML::Element] <head>...</> | tst.html:6:9:8:17 | [HTML::ScriptElement] <script>...</> | semmle.label | 5 |
40-
| tst.html:3:5:9:11 | [HTML::Element] <head>...</> | tst.html:6:9:8:17 | [HTML::ScriptElement] <script>...</> | semmle.order | 5 |
41-
| tst.html:5:9:5:43 | (Attributes) | tst.html:5:17:5:33 | [HTML::Attribute] src=external.js | semmle.label | 0 |
42-
| tst.html:5:9:5:43 | (Attributes) | tst.html:5:17:5:33 | [HTML::Attribute] src=external.js | semmle.order | 0 |
43-
| tst.html:5:9:5:43 | [HTML::ScriptElement] <script>...</> | tst.html:5:9:5:43 | (Attributes) | semmle.label | -1 |
44-
| tst.html:5:9:5:43 | [HTML::ScriptElement] <script>...</> | tst.html:5:9:5:43 | (Attributes) | semmle.order | -1 |
45-
| tst.html:6:9:8:17 | [HTML::ScriptElement] <script>...</> | tst.html:6:17:8:8 | (Script) | semmle.label | -200 |
46-
| tst.html:6:9:8:17 | [HTML::ScriptElement] <script>...</> | tst.html:6:17:8:8 | (Script) | semmle.order | -200 |
31+
| file://:0:0:0:0 | (Arguments) | tst.html:7:19:7:33 | [Literal] "Hello, world!" | semmle.label | 0 |
32+
| file://:0:0:0:0 | (Arguments) | tst.html:7:19:7:33 | [Literal] "Hello, world!" | semmle.order | 0 |
33+
| file://:0:0:0:0 | (Arguments) | tst.html:11:40:11:46 | [Literal] 'Nope!' | semmle.label | 0 |
34+
| file://:0:0:0:0 | (Arguments) | tst.html:11:40:11:46 | [Literal] 'Nope!' | semmle.order | 0 |
35+
| file://:0:0:0:0 | (Attributes) | tst.html:5:17:5:33 | [HTML::Attribute] src=external.js | semmle.label | 0 |
36+
| file://:0:0:0:0 | (Attributes) | tst.html:5:17:5:33 | [HTML::Attribute] src=external.js | semmle.order | 0 |
37+
| file://:0:0:0:0 | (Attributes) | tst.html:10:11:10:16 | [HTML::Attribute] ng-app= | semmle.label | 0 |
38+
| file://:0:0:0:0 | (Attributes) | tst.html:10:11:10:16 | [HTML::Attribute] ng-app= | semmle.order | 0 |
39+
| file://:0:0:0:0 | (Attributes) | tst.html:11:12:11:49 | [HTML::Attribute] href=javascript:void(alert('Nope!')) | semmle.label | 0 |
40+
| file://:0:0:0:0 | (Attributes) | tst.html:11:12:11:49 | [HTML::Attribute] href=javascript:void(alert('Nope!')) | semmle.order | 0 |
41+
| tst.html:2:1:13:7 | [HTML::Element] <html ... | tst.html:3:5:9:11 | [HTML::Element] <head ... | semmle.label | 1 |
42+
| tst.html:2:1:13:7 | [HTML::Element] <html ... | tst.html:3:5:9:11 | [HTML::Element] <head ... | semmle.order | 1 |
43+
| tst.html:2:1:13:7 | [HTML::Element] <html ... | tst.html:10:5:12:11 | [HTML::Element] <body ... | semmle.label | 3 |
44+
| tst.html:2:1:13:7 | [HTML::Element] <html ... | tst.html:10:5:12:11 | [HTML::Element] <body ... | semmle.order | 3 |
45+
| tst.html:3:5:9:11 | [HTML::Element] <head ... | tst.html:4:9:4:32 | [HTML::Element] <title ... | semmle.label | 1 |
46+
| tst.html:3:5:9:11 | [HTML::Element] <head ... | tst.html:4:9:4:32 | [HTML::Element] <title ... | semmle.order | 1 |
47+
| tst.html:3:5:9:11 | [HTML::Element] <head ... | tst.html:5:9:5:43 | [HTML::ScriptElement] <script ... | semmle.label | 3 |
48+
| tst.html:3:5:9:11 | [HTML::Element] <head ... | tst.html:5:9:5:43 | [HTML::ScriptElement] <script ... | semmle.order | 3 |
49+
| tst.html:3:5:9:11 | [HTML::Element] <head ... | tst.html:6:9:8:17 | [HTML::ScriptElement] <script ... | semmle.label | 5 |
50+
| tst.html:3:5:9:11 | [HTML::Element] <head ... | tst.html:6:9:8:17 | [HTML::ScriptElement] <script ... | semmle.order | 5 |
51+
| tst.html:5:9:5:43 | [HTML::ScriptElement] <script ... | file://:0:0:0:0 | (Attributes) | semmle.label | -1 |
52+
| tst.html:5:9:5:43 | [HTML::ScriptElement] <script ... | file://:0:0:0:0 | (Attributes) | semmle.order | -1 |
53+
| tst.html:6:9:8:17 | [HTML::ScriptElement] <script ... | tst.html:6:17:8:8 | (Script) | semmle.label | -200 |
54+
| tst.html:6:9:8:17 | [HTML::ScriptElement] <script ... | tst.html:6:17:8:8 | (Script) | semmle.order | -200 |
4755
| tst.html:6:17:8:8 | (Script) | tst.html:7:13:7:35 | [ExprStmt] alert(" ... rld!"); | semmle.label | 0 |
4856
| tst.html:6:17:8:8 | (Script) | tst.html:7:13:7:35 | [ExprStmt] alert(" ... rld!"); | semmle.order | 0 |
49-
| tst.html:7:13:7:34 | (Arguments) | tst.html:7:19:7:33 | [Literal] "Hello, world!" | semmle.label | 0 |
50-
| tst.html:7:13:7:34 | (Arguments) | tst.html:7:19:7:33 | [Literal] "Hello, world!" | semmle.order | 0 |
57+
| tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | file://:0:0:0:0 | (Arguments) | semmle.label | 1 |
58+
| tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | file://:0:0:0:0 | (Arguments) | semmle.order | 1 |
5159
| tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | tst.html:7:13:7:17 | [VarRef] alert | semmle.label | 0 |
5260
| tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | tst.html:7:13:7:17 | [VarRef] alert | semmle.order | 0 |
53-
| tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | tst.html:7:13:7:34 | (Arguments) | semmle.label | 1 |
54-
| tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | tst.html:7:13:7:34 | (Arguments) | semmle.order | 1 |
55-
| tst.html:7:13:7:35 | [ExprStmt] alert(" ... rld!"); | tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | semmle.label | 0 |
56-
| tst.html:7:13:7:35 | [ExprStmt] alert(" ... rld!"); | tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | semmle.order | 0 |
57-
| tst.html:10:5:12:11 | (Attributes) | tst.html:10:11:10:16 | [HTML::Attribute] ng-app= | semmle.label | 0 |
58-
| tst.html:10:5:12:11 | (Attributes) | tst.html:10:11:10:16 | [HTML::Attribute] ng-app= | semmle.order | 0 |
59-
| tst.html:10:5:12:11 | [HTML::Element] <body>...</> | tst.html:10:5:12:11 | (Attributes) | semmle.label | -1 |
60-
| tst.html:10:5:12:11 | [HTML::Element] <body>...</> | tst.html:10:5:12:11 | (Attributes) | semmle.order | -1 |
61-
| tst.html:10:5:12:11 | [HTML::Element] <body>...</> | tst.html:11:9:11:64 | [HTML::Element] <a>...</> | semmle.label | 1 |
62-
| tst.html:10:5:12:11 | [HTML::Element] <body>...</> | tst.html:11:9:11:64 | [HTML::Element] <a>...</> | semmle.order | 1 |
63-
| tst.html:11:9:11:64 | (Attributes) | tst.html:11:12:11:49 | [HTML::Attribute] href=javascript:void(alert('Nope!')) | semmle.label | 0 |
64-
| tst.html:11:9:11:64 | (Attributes) | tst.html:11:12:11:49 | [HTML::Attribute] href=javascript:void(alert('Nope!')) | semmle.order | 0 |
65-
| tst.html:11:9:11:64 | [HTML::Element] <a>...</> | tst.html:11:9:11:64 | (Attributes) | semmle.label | -1 |
66-
| tst.html:11:9:11:64 | [HTML::Element] <a>...</> | tst.html:11:9:11:64 | (Attributes) | semmle.order | -1 |
61+
| tst.html:7:13:7:35 | [ExprStmt] alert(" ... rld!"); | tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | semmle.label | 1 |
62+
| tst.html:7:13:7:35 | [ExprStmt] alert(" ... rld!"); | tst.html:7:13:7:34 | [CallExpr] alert(" ... orld!") | semmle.order | 1 |
63+
| tst.html:10:5:12:11 | [HTML::Element] <body ... | file://:0:0:0:0 | (Attributes) | semmle.label | -1 |
64+
| tst.html:10:5:12:11 | [HTML::Element] <body ... | file://:0:0:0:0 | (Attributes) | semmle.order | -1 |
65+
| tst.html:10:5:12:11 | [HTML::Element] <body ... | tst.html:11:9:11:64 | [HTML::Element] <a ... | semmle.label | 1 |
66+
| tst.html:10:5:12:11 | [HTML::Element] <body ... | tst.html:11:9:11:64 | [HTML::Element] <a ... | semmle.order | 1 |
67+
| tst.html:11:9:11:64 | [HTML::Element] <a ... | file://:0:0:0:0 | (Attributes) | semmle.label | -1 |
68+
| tst.html:11:9:11:64 | [HTML::Element] <a ... | file://:0:0:0:0 | (Attributes) | semmle.order | -1 |
6769
| tst.html:11:12:11:49 | [HTML::Attribute] href=javascript:void(alert('Nope!')) | tst.html:11:29:11:48 | (Script) | semmle.label | 0 |
6870
| tst.html:11:12:11:49 | [HTML::Attribute] href=javascript:void(alert('Nope!')) | tst.html:11:29:11:48 | (Script) | semmle.order | 0 |
6971
| tst.html:11:29:11:48 | (Script) | tst.html:11:29:11:48 | [ExprStmt] void(alert('Nope!')) | semmle.label | 0 |
7072
| tst.html:11:29:11:48 | (Script) | tst.html:11:29:11:48 | [ExprStmt] void(alert('Nope!')) | semmle.order | 0 |
71-
| tst.html:11:29:11:48 | [ExprStmt] void(alert('Nope!')) | tst.html:11:29:11:48 | [UnaryExpr] void(alert('Nope!')) | semmle.label | 0 |
72-
| tst.html:11:29:11:48 | [ExprStmt] void(alert('Nope!')) | tst.html:11:29:11:48 | [UnaryExpr] void(alert('Nope!')) | semmle.order | 0 |
73-
| tst.html:11:29:11:48 | [UnaryExpr] void(alert('Nope!')) | tst.html:11:33:11:48 | [ParExpr] (alert('Nope!')) | semmle.label | 0 |
74-
| tst.html:11:29:11:48 | [UnaryExpr] void(alert('Nope!')) | tst.html:11:33:11:48 | [ParExpr] (alert('Nope!')) | semmle.order | 0 |
75-
| tst.html:11:33:11:48 | [ParExpr] (alert('Nope!')) | tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | semmle.label | 0 |
76-
| tst.html:11:33:11:48 | [ParExpr] (alert('Nope!')) | tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | semmle.order | 0 |
77-
| tst.html:11:34:11:47 | (Arguments) | tst.html:11:40:11:46 | [Literal] 'Nope!' | semmle.label | 0 |
78-
| tst.html:11:34:11:47 | (Arguments) | tst.html:11:40:11:46 | [Literal] 'Nope!' | semmle.order | 0 |
73+
| tst.html:11:29:11:48 | [ExprStmt] void(alert('Nope!')) | tst.html:11:29:11:48 | [UnaryExpr] void(alert('Nope!')) | semmle.label | 1 |
74+
| tst.html:11:29:11:48 | [ExprStmt] void(alert('Nope!')) | tst.html:11:29:11:48 | [UnaryExpr] void(alert('Nope!')) | semmle.order | 1 |
75+
| tst.html:11:29:11:48 | [UnaryExpr] void(alert('Nope!')) | tst.html:11:33:11:48 | [ParExpr] (alert('Nope!')) | semmle.label | 1 |
76+
| tst.html:11:29:11:48 | [UnaryExpr] void(alert('Nope!')) | tst.html:11:33:11:48 | [ParExpr] (alert('Nope!')) | semmle.order | 1 |
77+
| tst.html:11:33:11:48 | [ParExpr] (alert('Nope!')) | tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | semmle.label | 1 |
78+
| tst.html:11:33:11:48 | [ParExpr] (alert('Nope!')) | tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | semmle.order | 1 |
79+
| tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | file://:0:0:0:0 | (Arguments) | semmle.label | 1 |
80+
| tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | file://:0:0:0:0 | (Arguments) | semmle.order | 1 |
7981
| tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | tst.html:11:34:11:38 | [VarRef] alert | semmle.label | 0 |
8082
| tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | tst.html:11:34:11:38 | [VarRef] alert | semmle.order | 0 |
81-
| tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | tst.html:11:34:11:47 | (Arguments) | semmle.label | 1 |
82-
| tst.html:11:34:11:47 | [CallExpr] alert('Nope!') | tst.html:11:34:11:47 | (Arguments) | semmle.order | 1 |
8383
graphProperties
8484
| semmle.graphKind | tree |

0 commit comments

Comments
 (0)