Debian Codegraph @

tests/fixtures/ecma-version/11/optional-chaining/qdot-call.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": 8
11 }
12 },
13 "range": [
14 0,
15 8
16 ],
17 "body": [
18 {
19 "type": "ExpressionStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 8
28 }
29 },
30 "range": [
31 0,
32 8
33 ],
34 "expression": {
35 "type": "ChainExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 8
44 }
45 },
46 "range": [
47 0,
48 8
49 ],
50 "expression": {
51 "type": "CallExpression",
52 "loc": {
53 "start": {
54 "line": 1,
55 "column": 0
56 },
57 "end": {
58 "line": 1,
59 "column": 8
60 }
61 },
62 "range": [
63 0,
64 8
65 ],
66 "callee": {
67 "type": "Identifier",
68 "loc": {
69 "start": {
70 "line": 1,
71 "column": 0
72 },
73 "end": {
74 "line": 1,
75 "column": 4
76 }
77 },
78 "range": [
79 0,
80 4
81 ],
82 "name": "func"
83 },
84 "arguments": [],
85 "optional": true
86 }
87 }
88 }
89 ],
90 "sourceType": "script",
91 "tokens": [
92 {
93 "type": "Identifier",
94 "value": "func",
95 "loc": {
96 "start": {
97 "line": 1,
98 "column": 0
99 },
100 "end": {
101 "line": 1,
102 "column": 4
103 }
104 },
105 "range": [
106 0,
107 4
108 ]
109 },
110 {
111 "type": "Punctuator",
112 "value": "?.",
113 "loc": {
114 "start": {
115 "line": 1,
116 "column": 4
117 },
118 "end": {
119 "line": 1,
120 "column": 6
121 }
122 },
123 "range": [
124 4,
125 6
126 ]
127 },
128 {
129 "type": "Punctuator",
130 "value": "(",
131 "loc": {
132 "start": {
133 "line": 1,
134 "column": 6
135 },
136 "end": {
137 "line": 1,
138 "column": 7
139 }
140 },
141 "range": [
142 6,
143 7
144 ]
145 },
146 {
147 "type": "Punctuator",
148 "value": ")",
149 "loc": {
150 "start": {
151 "line": 1,
152 "column": 7
153 },
154 "end": {
155 "line": 1,
156 "column": 8
157 }
158 },
159 "range": [
160 7,
161 8
162 ]
163 }
164 ]
165 };