update babylon tests

This commit is contained in:
Sebastian McKenzie
2015-10-05 16:40:43 +01:00
parent 6d6ddf0bcd
commit 9908dc6f50
892 changed files with 28000 additions and 5962 deletions

View File

@@ -0,0 +1,151 @@
{
"type": "File",
"start": 0,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 32
}
},
"program": {
"type": "Program",
"start": 0,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 32
}
},
"sourceType": "script",
"body": [
{
"type": "FunctionDeclaration",
"start": 0,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 32
}
},
"id": {
"type": "Identifier",
"start": 9,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 10
}
},
"name": "a"
},
"generator": false,
"expression": false,
"params": [
{
"type": "Identifier",
"start": 11,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 11
},
"end": {
"line": 1,
"column": 12
}
},
"name": "x"
},
{
"type": "Identifier",
"start": 14,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 15
}
},
"name": "x"
}
],
"body": {
"type": "BlockStatement",
"start": 17,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 32
}
},
"body": [],
"directives": [
{
"type": "Directive",
"start": 18,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 31
}
},
"value": {
"type": "DirectiveLiteral",
"start": 18,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 30
}
},
"raw": "'use strict'",
"value": "use strict"
}
}
]
}
}
],
"directives": []
}
}

View File

@@ -108,9 +108,10 @@
"column": 34
}
},
"body": [
"body": [],
"directives": [
{
"type": "ExpressionStatement",
"type": "Directive",
"start": 20,
"end": 33,
"loc": {
@@ -123,8 +124,8 @@
"column": 33
}
},
"expression": {
"type": "StringLiteral",
"value": {
"type": "DirectiveLiteral",
"start": 20,
"end": 32,
"loc": {
@@ -138,13 +139,16 @@
}
},
"value": "use strict",
"rawValue": "use strict",
"raw": "'use strict'"
"extra": {
"raw": "'use strict'",
"rawValue": "use strict"
}
}
}
]
}
}
]
],
"directives": []
}
}

View File

@@ -122,11 +122,15 @@
"column": 24
}
},
"body": []
"body": [],
"directives": []
},
"parenthesizedExpression": true
"extra": {
"parenthesized": true
}
}
}
]
],
"directives": []
}
}

View File

@@ -123,9 +123,10 @@
"column": 51
}
},
"body": [
"body": [],
"directives": [
{
"type": "ExpressionStatement",
"type": "Directive",
"start": 37,
"end": 49,
"loc": {
@@ -138,8 +139,8 @@
"column": 49
}
},
"expression": {
"type": "StringLiteral",
"value": {
"type": "DirectiveLiteral",
"start": 37,
"end": 49,
"loc": {
@@ -153,16 +154,20 @@
}
},
"value": "use strict",
"rawValue": "use strict",
"raw": "\"use strict\""
"extra": {
"raw": "\"use strict\"",
"rawValue": "use strict"
}
}
}
]
}
}
]
],
"directives": []
}
}
]
],
"directives": []
}
}

View File

@@ -74,11 +74,15 @@
"column": 13
}
},
"body": []
"body": [],
"directives": []
},
"parenthesizedExpression": true
"extra": {
"parenthesized": true
}
}
}
]
],
"directives": []
}
}

View File

@@ -118,9 +118,11 @@
"column": 30
}
},
"value": "use strict",
"rawValue": "use strict",
"raw": "\"use strict\""
"extra": {
"rawValue": "use strict",
"raw": "\"use strict\""
},
"value": "use strict"
},
"operator": "+",
"right": {
@@ -137,15 +139,19 @@
"column": 35
}
},
"value": 42,
"rawValue": 42,
"raw": "42"
"extra": {
"rawValue": 42,
"raw": "42"
},
"value": 42
}
}
}
]
],
"directives": []
}
}
]
],
"directives": []
}
}