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

169 lines
3.7 KiB
JSON

{
"type": "File",
"start": 0,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 45
}
},
"program": {
"type": "Program",
"start": 0,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 45
}
},
"sourceType": "script",
"body": [
{
"type": "FunctionDeclaration",
"start": 0,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 45
}
},
"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": 45,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 45
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 33,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 43
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 37,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 37
},
"end": {
"line": 1,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 37,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 37
},
"end": {
"line": 1,
"column": 42
}
},
"name": "yield"
},
"init": null
}
],
"kind": "var"
}
],
"directives": [
{
"type": "Directive",
"start": 19,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 32
}
},
"value": {
"type": "DirectiveLiteral",
"start": 19,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 31
}
},
"raw": "\"use strict\"",
"value": "use strict"
}
}
]
}
}
],
"directives": []
}
}