2015-08-11 00:59:15 +01:00

158 lines
3.2 KiB
JSON

{
"type": "File",
"start": 0,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 42
}
},
"program": {
"type": "Program",
"start": 0,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 42
}
},
"sourceType": "script",
"body": [
{
"type": "IfStatement",
"start": 0,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 42
}
},
"test": {
"type": "Identifier",
"start": 4,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 11
}
},
"name": "morning"
},
"consequent": {
"type": "ExpressionStatement",
"start": 13,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 13,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 26
}
},
"callee": {
"type": "Identifier",
"start": 13,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 24
}
},
"name": "goodMorning"
},
"arguments": []
}
},
"alternate": {
"type": "ExpressionStatement",
"start": 33,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 33,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 33,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 40
}
},
"name": "goodDay"
},
"arguments": []
}
}
}
]
}
}