2015-10-05 16:40:43 +01:00

242 lines
6.2 KiB
JSON

{
"type": "File",
"start": 0,
"end": 56,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 56
}
},
"program": {
"type": "Program",
"start": 0,
"end": 56,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 56
}
},
"sourceType": "script",
"body": [
{
"type": "FunctionDeclaration",
"start": 0,
"end": 56,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 56
}
},
"id": {
"type": "Identifier",
"start": 9,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 14
}
},
"name": "hello"
},
"generator": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 17,
"end": 56,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 56
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 32,
"end": 54,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 54
}
},
"expression": {
"type": "ObjectExpression",
"start": 33,
"end": 52,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 52
}
},
"properties": [
{
"type": "Property",
"start": 35,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 50
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 39,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 39
},
"end": {
"line": 1,
"column": 40
}
},
"name": "s"
},
"kind": "set",
"value": {
"type": "FunctionExpression",
"start": 40,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 40
},
"end": {
"line": 1,
"column": 50
}
},
"id": null,
"generator": false,
"expression": false,
"params": [
{
"type": "Identifier",
"start": 41,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 41
},
"end": {
"line": 1,
"column": 45
}
},
"name": "eval"
}
],
"body": {
"type": "BlockStatement",
"start": 47,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 47
},
"end": {
"line": 1,
"column": 50
}
},
"body": [],
"directives": []
}
}
}
],
"extra": {
"parenthesized": true
}
}
}
],
"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": []
}
}