2022-02-04 11:08:38 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 133,
|
|
|
|
"end": 228,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsEnumDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 133,
|
|
|
|
"end": 228,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": true,
|
|
|
|
"isConst": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 146,
|
|
|
|
"end": 147,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "E",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 154,
|
|
|
|
"end": 160,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 154,
|
|
|
|
"end": 155,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "a",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 158,
|
|
|
|
"end": 160,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 10.0,
|
|
|
|
"raw": "10"
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 166,
|
|
|
|
"end": 176,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 166,
|
|
|
|
"end": 167,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "b",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "BinaryExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 170,
|
|
|
|
"end": 176,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "+",
|
|
|
|
"left": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 170,
|
|
|
|
"end": 172,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 10.0,
|
|
|
|
"raw": "10"
|
2022-02-04 11:08:38 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 175,
|
|
|
|
"end": 176,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 182,
|
|
|
|
"end": 187,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 182,
|
|
|
|
"end": 183,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "c",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 186,
|
|
|
|
"end": 187,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "b",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 193,
|
|
|
|
"end": 204,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 193,
|
|
|
|
"end": 194,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "d",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "BinaryExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 197,
|
|
|
|
"end": 204,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "+",
|
|
|
|
"left": {
|
|
|
|
"type": "ParenthesisExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 197,
|
|
|
|
"end": 200,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 198,
|
|
|
|
"end": 199,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "c",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 203,
|
|
|
|
"end": 204,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 210,
|
|
|
|
"end": 225,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 210,
|
|
|
|
"end": 211,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "BinaryExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 214,
|
|
|
|
"end": 225,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "<<",
|
|
|
|
"left": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 214,
|
|
|
|
"end": 216,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 10.0,
|
|
|
|
"raw": "10"
|
2022-02-04 11:08:38 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "BinaryExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 220,
|
|
|
|
"end": 225,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "*",
|
|
|
|
"left": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 220,
|
|
|
|
"end": 221,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 2.0,
|
|
|
|
"raw": "2"
|
2022-02-04 11:08:38 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 224,
|
|
|
|
"end": 225,
|
2022-02-04 11:08:38 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 8.0,
|
|
|
|
"raw": "8"
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|