update babylon fixtures to use File as the root node rather than Program

This commit is contained in:
Sebastian McKenzie
2015-07-25 05:24:58 +01:00
parent b088f8e6ef
commit 006f3db76a
800 changed files with 121059 additions and 73665 deletions

View File

@@ -1,62 +1,104 @@
{
"type": "Program",
"body": [
{
"type": "DeclareClass",
"id": {
"type": "Identifier",
"name": "A",
"range": [
14,
15
],
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 15
}
}
"type": "File",
"start": 0,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 18
}
},
"range": [
0,
18
],
"program": {
"type": "Program",
"start": 0,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 0
},
"typeParameters": null,
"body": {
"type": "ObjectTypeAnnotation",
"properties": [],
"indexers": [],
"callProperties": [],
"range": [
16,
18
],
"end": {
"line": 1,
"column": 18
}
},
"range": [
0,
18
],
"sourceType": "module",
"body": [
{
"type": "DeclareClass",
"start": 0,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 16
"column": 0
},
"end": {
"line": 1,
"column": 18
}
}
},
"extends": [],
"range": [
0,
18
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 18
"range": [
0,
18
],
"id": {
"type": "Identifier",
"start": 14,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 15
}
},
"range": [
14,
15
],
"name": "A"
},
"typeParameters": null,
"extends": [],
"body": {
"type": "ObjectTypeAnnotation",
"start": 16,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 18
}
},
"range": [
16,
18
],
"callProperties": [],
"properties": [],
"indexers": []
}
}
}
]
]
}
}