295 lines
7.9 KiB
JSON

{
"type": "File",
"start": 0,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 59
}
},
"program": {
"type": "Program",
"start": 0,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 59
}
},
"sourceType": "script",
"body": [
{
"type": "FunctionDeclaration",
"start": 0,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 59
}
},
"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": 59,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 59
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 32,
"end": 57,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 57
}
},
"expression": {
"type": "ObjectExpression",
"start": 33,
"end": 55,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 55
}
},
"properties": [
{
"type": "Property",
"start": 35,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 35,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 36
}
},
"name": "i"
},
"value": {
"type": "NumericLiteral",
"start": 38,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 40
}
},
"value": 10,
"rawValue": 10,
"raw": "10"
},
"kind": "init"
},
{
"type": "Property",
"start": 42,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 53
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 42,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 43
}
},
"name": "s"
},
"kind": "init",
"value": {
"type": "FunctionExpression",
"start": 43,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 43
},
"end": {
"line": 1,
"column": 53
}
},
"id": null,
"generator": false,
"expression": false,
"params": [
{
"type": "Identifier",
"start": 44,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 44
},
"end": {
"line": 1,
"column": 48
}
},
"name": "eval"
}
],
"body": {
"type": "BlockStatement",
"start": 50,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 50
},
"end": {
"line": 1,
"column": 53
}
},
"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": []
}
}