* Test runner: Detect extra property in 'actual' but not in 'expected'. Also update all expected.json where this would result in errors. * Include rmExpected.js script in case it is needed again
396 lines
12 KiB
JSON
396 lines
12 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"sourceType": "script",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 0,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "LogicalExpression",
|
|
"start": 0,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 0,
|
|
"end": 1,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 1
|
|
},
|
|
"identifierName": "a"
|
|
},
|
|
"name": "a"
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"start": 5,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 5,
|
|
"end": 6,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 6
|
|
},
|
|
"identifierName": "b"
|
|
},
|
|
"name": "b"
|
|
},
|
|
"operator": "&&",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 10,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 10,
|
|
"end": 11,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 11
|
|
},
|
|
"identifierName": "c"
|
|
},
|
|
"name": "c"
|
|
},
|
|
"operator": "|",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 14,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 14,
|
|
"end": 15,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 15
|
|
},
|
|
"identifierName": "d"
|
|
},
|
|
"name": "d"
|
|
},
|
|
"operator": "^",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 18,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 18,
|
|
"end": 19,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 19
|
|
},
|
|
"identifierName": "e"
|
|
},
|
|
"name": "e"
|
|
},
|
|
"operator": "&",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 22,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 22,
|
|
"end": 23,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 23
|
|
},
|
|
"identifierName": "f"
|
|
},
|
|
"name": "f"
|
|
},
|
|
"operator": "==",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 27,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 27,
|
|
"end": 28,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 28
|
|
},
|
|
"identifierName": "g"
|
|
},
|
|
"name": "g"
|
|
},
|
|
"operator": "<",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 31,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 31,
|
|
"end": 32,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 32
|
|
},
|
|
"identifierName": "h"
|
|
},
|
|
"name": "h"
|
|
},
|
|
"operator": ">>>",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 37,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 37,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 38
|
|
},
|
|
"identifierName": "i"
|
|
},
|
|
"name": "i"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start": 41,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 41,
|
|
"end": 42,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 42
|
|
},
|
|
"identifierName": "j"
|
|
},
|
|
"name": "j"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 45,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
},
|
|
"identifierName": "k"
|
|
},
|
|
"name": "k"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |