test/script/basic/parser/useStrict.js.EXPECTED

Thu, 12 Sep 2013 22:16:40 +0530

author
sundar
date
Thu, 12 Sep 2013 22:16:40 +0530
changeset 551
917b16e509bd
parent 0
b1a7da25b547
permissions
-rw-r--r--

8024693: Various minor issues with JSONWriter used by script parser API
Reviewed-by: jlaskey, hannesw

aoqi@0 1 {
aoqi@0 2 "type": "Program",
aoqi@0 3 "body": [
aoqi@0 4 {
aoqi@0 5 "type": "ExpressionStatement",
aoqi@0 6 "expression": {
aoqi@0 7 "type": "Literal",
aoqi@0 8 "value": "use strict"
aoqi@0 9 }
aoqi@0 10 }
aoqi@0 11 ]
aoqi@0 12 }
aoqi@0 13 {
aoqi@0 14 "type": "Program",
aoqi@0 15 "body": [
aoqi@0 16 {
aoqi@0 17 "type": "FunctionDeclaration",
aoqi@0 18 "id": {
aoqi@0 19 "type": "Identifier",
aoqi@0 20 "name": "f"
aoqi@0 21 },
aoqi@0 22 "params": [],
aoqi@0 23 "defaults": [],
aoqi@0 24 "rest": null,
aoqi@0 25 "body": {
aoqi@0 26 "type": "BlockStatement",
aoqi@0 27 "body": [
aoqi@0 28 {
aoqi@0 29 "type": "ExpressionStatement",
aoqi@0 30 "expression": {
aoqi@0 31 "type": "Literal",
aoqi@0 32 "value": "use strict"
aoqi@0 33 }
aoqi@0 34 }
aoqi@0 35 ]
aoqi@0 36 },
aoqi@0 37 "generator": false,
aoqi@0 38 "expression": false
aoqi@0 39 }
aoqi@0 40 ]
aoqi@0 41 }

mercurial