71 lines
2.6 KiB
JSON
71 lines
2.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":41,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":41,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":0,"end":41,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":4,"end":40,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":40}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":4,"end":24,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":24},"identifierName":"a"},
|
|
"name": "a",
|
|
"typeAnnotation": {
|
|
"type": "TypeAnnotation",
|
|
"start":6,"end":24,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":24}},
|
|
"typeAnnotation": {
|
|
"type": "TupleTypeAnnotation",
|
|
"start":8,"end":24,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":24}},
|
|
"types": [
|
|
{
|
|
"type": "NumberTypeAnnotation",
|
|
"start":9,"end":15,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":15}}
|
|
},
|
|
{
|
|
"type": "StringTypeAnnotation",
|
|
"start":17,"end":23,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":23}}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "ArrayExpression",
|
|
"start":27,"end":40,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":40}},
|
|
"elements": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"start":28,"end":31,"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":31}},
|
|
"extra": {
|
|
"rawValue": 123,
|
|
"raw": "123"
|
|
},
|
|
"value": 123
|
|
},
|
|
{
|
|
"type": "StringLiteral",
|
|
"start":33,"end":39,"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":39}},
|
|
"extra": {
|
|
"rawValue": "duck",
|
|
"raw": "\"duck\""
|
|
},
|
|
"value": "duck"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"kind": "var"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |