1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/script/basic/parser/withStat.js.EXPECTED Wed Apr 27 01:36:41 2016 +0800 1.3 @@ -0,0 +1,32 @@ 1.4 +{ 1.5 + "type": "Program", 1.6 + "body": [ 1.7 + { 1.8 + "type": "WithStatement", 1.9 + "object": { 1.10 + "type": "Identifier", 1.11 + "name": "scope" 1.12 + }, 1.13 + "body": { 1.14 + "type": "BlockStatement", 1.15 + "body": [ 1.16 + { 1.17 + "type": "ExpressionStatement", 1.18 + "expression": { 1.19 + "type": "AssignmentExpression", 1.20 + "operator": "=", 1.21 + "left": { 1.22 + "type": "Identifier", 1.23 + "name": "x" 1.24 + }, 1.25 + "right": { 1.26 + "type": "Identifier", 1.27 + "name": "y" 1.28 + } 1.29 + } 1.30 + } 1.31 + ] 1.32 + } 1.33 + } 1.34 + ] 1.35 +}