babel/test/fixtures/flow/tuples/1/expected.json

161 lines
3.3 KiB
JSON

{
"type": "File",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"range": [
0,
16
],
"program": {
"type": "Program",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"range": [
0,
16
],
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"range": [
0,
16
],
"declarations": [
{
"type": "VariableDeclarator",
"start": 4,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 15
}
},
"range": [
4,
15
],
"id": {
"type": "Identifier",
"start": 4,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 10
}
},
"range": [
4,
10
],
"name": "a",
"typeAnnotation": {
"type": "TypeAnnotation",
"start": 6,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 10
}
},
"range": [
6,
10
],
"typeAnnotation": {
"type": "TupleTypeAnnotation",
"start": 8,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 10
}
},
"range": [
8,
10
],
"types": []
}
}
},
"init": {
"type": "ArrayExpression",
"start": 13,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 15
}
},
"range": [
13,
15
],
"elements": []
}
}
],
"kind": "var"
}
]
}
}