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