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,59 +1,102 @@
{
"type": "Program",
"body": [
{
"type": "DeclareModule",
"id": {
"type": "Literal",
"value": "./a/b.js",
"raw": "\"./a/b.js\"",
"range": [
15,
25
],
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 25
}
}
"type": "File",
"start": 0,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 28
}
},
"range": [
0,
28
],
"program": {
"type": "Program",
"start": 0,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 0
},
"body": {
"type": "BlockStatement",
"body": [],
"range": [
26,
28
],
"end": {
"line": 1,
"column": 28
}
},
"range": [
0,
28
],
"sourceType": "module",
"body": [
{
"type": "DeclareModule",
"start": 0,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 26
"column": 0
},
"end": {
"line": 1,
"column": 28
}
}
},
"range": [
0,
28
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 28
"range": [
0,
28
],
"id": {
"type": "Literal",
"start": 15,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 25
}
},
"range": [
15,
25
],
"value": "./a/b.js",
"rawValue": "./a/b.js",
"raw": "\"./a/b.js\""
},
"body": {
"type": "BlockStatement",
"start": 26,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 28
}
},
"range": [
26,
28
],
"body": []
}
}
}
]
]
}
}