Debian Codegraph @

tests/fixtures/ecma-version/6/modules/import-module.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 1,
10 "column": 13
11 }
12 },
13 "range": [
14 0,
15 13
16 ],
17 "body": [
18 {
19 "type": "ImportDeclaration",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 13
28 }
29 },
30 "range": [
31 0,
32 13
33 ],
34 "specifiers": [],
35 "source": {
36 "type": "Literal",
37 "loc": {
38 "start": {
39 "line": 1,
40 "column": 7
41 },
42 "end": {
43 "line": 1,
44 "column": 12
45 }
46 },
47 "range": [
48 7,
49 12
50 ],
51 "value": "foo",
52 "raw": "\"foo\""
53 }
54 }
55 ],
56 "sourceType": "module",
57 "tokens": [
58 {
59 "type": "Keyword",
60 "value": "import",
61 "loc": {
62 "start": {
63 "line": 1,
64 "column": 0
65 },
66 "end": {
67 "line": 1,
68 "column": 6
69 }
70 },
71 "range": [
72 0,
73 6
74 ]
75 },
76 {
77 "type": "String",
78 "value": "\"foo\"",
79 "loc": {
80 "start": {
81 "line": 1,
82 "column": 7
83 },
84 "end": {
85 "line": 1,
86 "column": 12
87 }
88 },
89 "range": [
90 7,
91 12
92 ]
93 },
94 {
95 "type": "Punctuator",
96 "value": ";",
97 "loc": {
98 "start": {
99 "line": 1,
100 "column": 12
101 },
102 "end": {
103 "line": 1,
104 "column": 13
105 }
106 },
107 "range": [
108 12,
109 13
110 ]
111 }
112 ]
113 };