mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* breaking: store BigIntLiteral#value as bigint * update babel-types test cases * update babel-parser test fixtures * feat: support bigint and deprecate string in the bigIntLiteral builder * make node 8 happy * update NodePart typing * address review comments
33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
|
|
"expression": {
|
|
"type": "BigIntLiteral",
|
|
"start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9}},
|
|
"extra": {
|
|
"rawValue": {
|
|
"$$ babel internal serialized type": "bigint",
|
|
"value": "16773411"
|
|
},
|
|
"raw": "0xFFF123n"
|
|
},
|
|
"value": {
|
|
"$$ babel internal serialized type": "bigint",
|
|
"value": "16773411"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|