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,57 +1,85 @@
{
"type": "Program",
"body": [
{
"type": "InterfaceDeclaration",
"id": {
"type": "Identifier",
"name": "A",
"range": [
10,
11
],
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 11
}
}
"type": "File",
"start": 0,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 24
}
},
"range": [
0,
24
],
"program": {
"type": "Program",
"start": 0,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 0
},
"typeParameters": null,
"body": {
"type": "ObjectTypeAnnotation",
"properties": [],
"indexers": [],
"callProperties": [],
"range": [
22,
24
],
"end": {
"line": 1,
"column": 24
}
},
"range": [
0,
24
],
"sourceType": "module",
"body": [
{
"type": "InterfaceDeclaration",
"start": 0,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 22
"column": 0
},
"end": {
"line": 1,
"column": 24
}
}
},
"extends": [
{
"type": "InterfaceExtends",
"id": {
"type": "Identifier",
"name": "B",
"range": [
20,
21
],
},
"range": [
0,
24
],
"id": {
"type": "Identifier",
"start": 10,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 11
}
},
"range": [
10,
11
],
"name": "A"
},
"typeParameters": null,
"extends": [
{
"type": "InterfaceExtends",
"start": 20,
"end": 21,
"loc": {
"start": {
"line": 1,
@@ -61,39 +89,57 @@
"line": 1,
"column": 21
}
}
},
"typeParameters": null,
"range": [
20,
21
],
},
"range": [
20,
21
],
"id": {
"type": "Identifier",
"start": 20,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 21
}
},
"range": [
20,
21
],
"name": "B"
},
"typeParameters": null
}
],
"body": {
"type": "ObjectTypeAnnotation",
"start": 22,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 20
"column": 22
},
"end": {
"line": 1,
"column": 21
"column": 24
}
}
}
],
"range": [
0,
24
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 24
},
"range": [
22,
24
],
"callProperties": [],
"properties": [],
"indexers": []
}
}
}
]
]
}
}