You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/fixture/es6-import.output.json
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -644,26 +644,26 @@
644
644
],
645
645
"loc": {
646
646
"start": {
647
-
"line": 3,
647
+
"line": 4,
648
648
"column": 0
649
649
},
650
650
"end": {
651
-
"line": 6,
651
+
"line": 7,
652
652
"column": 3
653
653
}
654
654
},
655
655
"context": {
656
656
"loc": {
657
657
"start": {
658
-
"line": 7,
658
+
"line": 8,
659
659
"column": 0
660
660
},
661
661
"end": {
662
-
"line": 7,
662
+
"line": 8,
663
663
"column": 43
664
664
}
665
665
},
666
-
"code": "import multiply from \"./es6.input.js\";\n\n/**\n * This function returns the number one.\n * @returns {Number} numberone\n */\nvar multiplyTwice = (a) => a * multiply(a);\n\nexport default multiplyTwice;\n"
666
+
"code": "import multiply from \"./es6.input.js\";\nimport * as foo from \"some-other-module\";\n\n/**\n * This function returns the number one.\n * @returns {Number} numberone\n */\nvar multiplyTwice = (a) => a * multiply(a);\n\nexport default multiplyTwice;\n"
"description": "This function returns the number one.",
4
+
"tags": [
5
+
{
6
+
"title": "returns",
7
+
"description": "numberone",
8
+
"lineNumber": 2,
9
+
"type": {
10
+
"type": "NameExpression",
11
+
"name": "Number"
12
+
}
13
+
},
14
+
{
15
+
"title": "example",
16
+
"description": "foo(1);",
17
+
"lineNumber": 3,
18
+
"caption": "demonstrates how to run foo"
19
+
}
20
+
],
21
+
"loc": {
22
+
"start": {
23
+
"line": 1,
24
+
"column": 0
25
+
},
26
+
"end": {
27
+
"line": 6,
28
+
"column": 3
29
+
}
30
+
},
31
+
"context": {
32
+
"loc": {
33
+
"start": {
34
+
"line": 7,
35
+
"column": 0
36
+
},
37
+
"end": {
38
+
"line": 10,
39
+
"column": 1
40
+
}
41
+
},
42
+
"code": "/**\n * This function returns the number one.\n * @returns {Number} numberone\n * @example <caption>demonstrates how to run foo</caption>\n * foo(1);\n */\nfunction foo() {\n // this returns 1\n return 1;\n}\n"
0 commit comments