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,135 +1,7 @@
{
"type": "Program",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "private",
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 11
}
}
},
"init": null,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 11
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "protected",
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 22
}
}
},
"init": null,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 22
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "public",
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 30
}
}
},
"init": null,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 30
}
}
},
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "static",
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 38
}
}
},
"init": null,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 38
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 38
}
}
}
],
"type": "File",
"start": 0,
"end": 38,
"loc": {
"start": {
"line": 1,
@@ -139,5 +11,169 @@
"line": 1,
"column": 38
}
},
"program": {
"type": "Program",
"start": 0,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 38
}
},
"sourceType": "script",
"body": [
{
"type": "VariableDeclaration",
"start": 0,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 11
}
},
"id": {
"type": "Identifier",
"start": 4,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 11
}
},
"name": "private"
},
"init": null
},
{
"type": "VariableDeclarator",
"start": 13,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 13,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 22
}
},
"name": "protected"
},
"init": null
},
{
"type": "VariableDeclarator",
"start": 24,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 24,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 30
}
},
"name": "public"
},
"init": null
},
{
"type": "VariableDeclarator",
"start": 32,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 32,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 38
}
},
"name": "static"
},
"init": null
}
],
"kind": "var"
}
]
}
}