Files

104 lines
3.9 KiB
JSON

{
"type": "File",
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":10,"index":30}},
"program": {
"type": "Program",
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":10,"index":30}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
"expression": {
"type": "BinaryExpression",
"start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
"left": {
"type": "BinaryExpression",
"start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
"left": {
"type": "Identifier",
"start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3},"identifierName":"foo"},
"name": "foo"
},
"operator": "<",
"right": {
"type": "Identifier",
"start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"x"},
"name": "x"
}
},
"operator": ">",
"right": {
"type": "Identifier",
"start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"y"},
"name": "y",
"extra": {
"parenthesized": true,
"parenStart": 6
}
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": " @flow",
"start":11,"end":19,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":2,"column":8,"index":19}}
}
]
},
{
"type": "ExpressionStatement",
"start":20,"end":30,"loc":{"start":{"line":3,"column":0,"index":20},"end":{"line":3,"column":10,"index":30}},
"expression": {
"type": "BinaryExpression",
"start":20,"end":29,"loc":{"start":{"line":3,"column":0,"index":20},"end":{"line":3,"column":9,"index":29}},
"left": {
"type": "BinaryExpression",
"start":20,"end":25,"loc":{"start":{"line":3,"column":0,"index":20},"end":{"line":3,"column":5,"index":25}},
"left": {
"type": "Identifier",
"start":20,"end":23,"loc":{"start":{"line":3,"column":0,"index":20},"end":{"line":3,"column":3,"index":23},"identifierName":"foo"},
"name": "foo"
},
"operator": "<",
"right": {
"type": "Identifier",
"start":24,"end":25,"loc":{"start":{"line":3,"column":4,"index":24},"end":{"line":3,"column":5,"index":25},"identifierName":"x"},
"name": "x"
}
},
"operator": ">",
"right": {
"type": "Identifier",
"start":27,"end":28,"loc":{"start":{"line":3,"column":7,"index":27},"end":{"line":3,"column":8,"index":28},"identifierName":"y"},
"name": "y",
"extra": {
"parenthesized": true,
"parenStart": 26
}
}
},
"leadingComments": [
{
"type": "CommentLine",
"value": " @flow",
"start":11,"end":19,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":2,"column":8,"index":19}}
}
]
}
],
"directives": [],
"extra": {
"topLevelAwait": false
}
},
"comments": [
{
"type": "CommentLine",
"value": " @flow",
"start":11,"end":19,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":2,"column":8,"index":19}}
}
]
}