86 lines
3.1 KiB
JSON
86 lines
3.1 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":35,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":35,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ForStatement",
|
|
"start":0,"end":35,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}},
|
|
"init": {
|
|
"type": "AssignmentExpression",
|
|
"start":4,"end":9,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":9}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":4,"end":5,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start":8,"end":9,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "0"
|
|
},
|
|
"value": 0
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"start":11,"end":17,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":17}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":11,"end":12,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"operator": "<",
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start":15,"end":17,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}},
|
|
"extra": {
|
|
"rawValue": 42,
|
|
"raw": "42"
|
|
},
|
|
"value": 42
|
|
}
|
|
},
|
|
"update": {
|
|
"type": "UpdateExpression",
|
|
"start":19,"end":22,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":22}},
|
|
"operator": "++",
|
|
"prefix": false,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start":19,"end":20,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
},
|
|
"body": {
|
|
"type": "ExpressionStatement",
|
|
"start":24,"end":35,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":35}},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start":24,"end":34,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":34}},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start":24,"end":31,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":31},"identifierName":"process"},
|
|
"name": "process"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":32,"end":33,"loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":33},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |