| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":7,"index":35}}, |
| 4 |
"range": [ |
| 5 |
0, |
| 6 |
35 |
| 7 |
], |
| 8 |
"program": { |
| 9 |
"type": "Program", |
| 10 |
"start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":7,"index":35}}, |
| 11 |
"range": [ |
| 12 |
0, |
| 13 |
35 |
| 14 |
], |
| 15 |
"sourceType": "script", |
| 16 |
"interpreter": null, |
| 17 |
"body": [ |
| 18 |
{ |
| 19 |
"type": "VariableDeclaration", |
| 20 |
"start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}}, |
| 21 |
"range": [ |
| 22 |
0, |
| 23 |
10 |
| 24 |
], |
| 25 |
"declarations": [ |
| 26 |
{ |
| 27 |
"type": "VariableDeclarator", |
| 28 |
"start":4,"end":9,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":9,"index":9}}, |
| 29 |
"range": [ |
| 30 |
4, |
| 31 |
9 |
| 32 |
], |
| 33 |
"id": { |
| 34 |
"type": "Identifier", |
| 35 |
"start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"a"}, |
| 36 |
"range": [ |
| 37 |
4, |
| 38 |
5 |
| 39 |
], |
| 40 |
"name": "a" |
| 41 |
}, |
| 42 |
"init": { |
| 43 |
"type": "NumericLiteral", |
| 44 |
"start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9}}, |
| 45 |
"range": [ |
| 46 |
8, |
| 47 |
9 |
| 48 |
], |
| 49 |
"extra": { |
| 50 |
"rawValue": 1, |
| 51 |
"raw": "1" |
| 52 |
}, |
| 53 |
"value": 1 |
| 54 |
} |
| 55 |
} |
| 56 |
], |
| 57 |
"kind": "var" |
| 58 |
}, |
| 59 |
{ |
| 60 |
"type": "VariableDeclaration", |
| 61 |
"start":12,"end":26,"loc":{"start":{"line":3,"column":0,"index":12},"end":{"line":3,"column":14,"index":26}}, |
| 62 |
"range": [ |
| 63 |
12, |
| 64 |
26 |
| 65 |
], |
| 66 |
"declarations": [ |
| 67 |
{ |
| 68 |
"type": "VariableDeclarator", |
| 69 |
"start":16,"end":25,"loc":{"start":{"line":3,"column":4,"index":16},"end":{"line":3,"column":13,"index":25}}, |
| 70 |
"range": [ |
| 71 |
16, |
| 72 |
25 |
| 73 |
], |
| 74 |
"id": { |
| 75 |
"type": "Identifier", |
| 76 |
"start":16,"end":17,"loc":{"start":{"line":3,"column":4,"index":16},"end":{"line":3,"column":5,"index":17},"identifierName":"b"}, |
| 77 |
"range": [ |
| 78 |
16, |
| 79 |
17 |
| 80 |
], |
| 81 |
"name": "b" |
| 82 |
}, |
| 83 |
"init": { |
| 84 |
"type": "BinaryExpression", |
| 85 |
"start":20,"end":25,"loc":{"start":{"line":3,"column":8,"index":20},"end":{"line":3,"column":13,"index":25}}, |
| 86 |
"range": [ |
| 87 |
20, |
| 88 |
25 |
| 89 |
], |
| 90 |
"left": { |
| 91 |
"type": "Identifier", |
| 92 |
"start":20,"end":21,"loc":{"start":{"line":3,"column":8,"index":20},"end":{"line":3,"column":9,"index":21},"identifierName":"a"}, |
| 93 |
"range": [ |
| 94 |
20, |
| 95 |
21 |
| 96 |
], |
| 97 |
"name": "a" |
| 98 |
}, |
| 99 |
"operator": "+", |
| 100 |
"right": { |
| 101 |
"type": "NumericLiteral", |
| 102 |
"start":24,"end":25,"loc":{"start":{"line":3,"column":12,"index":24},"end":{"line":3,"column":13,"index":25}}, |
| 103 |
"range": [ |
| 104 |
24, |
| 105 |
25 |
| 106 |
], |
| 107 |
"extra": { |
| 108 |
"rawValue": 1, |
| 109 |
"raw": "1" |
| 110 |
}, |
| 111 |
"value": 1 |
| 112 |
} |
| 113 |
} |
| 114 |
} |
| 115 |
], |
| 116 |
"kind": "var" |
| 117 |
}, |
| 118 |
{ |
| 119 |
"type": "ExpressionStatement", |
| 120 |
"start":28,"end":35,"loc":{"start":{"line":5,"column":0,"index":28},"end":{"line":5,"column":7,"index":35}}, |
| 121 |
"range": [ |
| 122 |
28, |
| 123 |
35 |
| 124 |
], |
| 125 |
"expression": { |
| 126 |
"type": "SequenceExpression", |
| 127 |
"start":29,"end":33,"loc":{"start":{"line":5,"column":1,"index":29},"end":{"line":5,"column":5,"index":33}}, |
| 128 |
"range": [ |
| 129 |
29, |
| 130 |
33 |
| 131 |
], |
| 132 |
"expressions": [ |
| 133 |
{ |
| 134 |
"type": "NumericLiteral", |
| 135 |
"start":29,"end":30,"loc":{"start":{"line":5,"column":1,"index":29},"end":{"line":5,"column":2,"index":30}}, |
| 136 |
"range": [ |
| 137 |
29, |
| 138 |
30 |
| 139 |
], |
| 140 |
"extra": { |
| 141 |
"rawValue": 1, |
| 142 |
"raw": "1" |
| 143 |
}, |
| 144 |
"value": 1 |
| 145 |
}, |
| 146 |
{ |
| 147 |
"type": "NumericLiteral", |
| 148 |
"start":32,"end":33,"loc":{"start":{"line":5,"column":4,"index":32},"end":{"line":5,"column":5,"index":33}}, |
| 149 |
"range": [ |
| 150 |
32, |
| 151 |
33 |
| 152 |
], |
| 153 |
"extra": { |
| 154 |
"rawValue": 2, |
| 155 |
"raw": "2" |
| 156 |
}, |
| 157 |
"value": 2 |
| 158 |
} |
| 159 |
], |
| 160 |
"extra": { |
| 161 |
"parenthesized": true, |
| 162 |
"parenStart": 28 |
| 163 |
} |
| 164 |
} |
| 165 |
} |
| 166 |
], |
| 167 |
"directives": [] |
| 168 |
} |
| 169 |
} |