swc/crates/swc_ecma_parser/tests/tsc/propertyAccessNumericLiterals.es6.json

237 lines
4.9 KiB
JSON

{
"type": "Script",
"span": {
"start": 16,
"end": 115,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 16,
"end": 38,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 16,
"end": 37,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 16,
"end": 35,
"ctxt": 0
},
"object": {
"type": "NumericLiteral",
"span": {
"start": 16,
"end": 26,
"ctxt": 0
},
"value": 4294967295.0
},
"property": {
"type": "Identifier",
"span": {
"start": 27,
"end": 35,
"ctxt": 0
},
"value": "toString",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 39,
"end": 58,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 39,
"end": 57,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 39,
"end": 55,
"ctxt": 0
},
"object": {
"type": "NumericLiteral",
"span": {
"start": 39,
"end": 46,
"ctxt": 0
},
"value": 668.0
},
"property": {
"type": "Identifier",
"span": {
"start": 47,
"end": 55,
"ctxt": 0
},
"value": "toString",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 59,
"end": 81,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 59,
"end": 80,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 59,
"end": 78,
"ctxt": 0
},
"object": {
"type": "NumericLiteral",
"span": {
"start": 59,
"end": 69,
"ctxt": 0
},
"value": 109.0
},
"property": {
"type": "Identifier",
"span": {
"start": 70,
"end": 78,
"ctxt": 0
},
"value": "toString",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 82,
"end": 99,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 82,
"end": 98,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 82,
"end": 96,
"ctxt": 0
},
"object": {
"type": "NumericLiteral",
"span": {
"start": 82,
"end": 87,
"ctxt": 0
},
"value": 1234.0
},
"property": {
"type": "Identifier",
"span": {
"start": 88,
"end": 96,
"ctxt": 0
},
"value": "toString",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 100,
"end": 115,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 100,
"end": 114,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 100,
"end": 112,
"ctxt": 0
},
"object": {
"type": "NumericLiteral",
"span": {
"start": 100,
"end": 103,
"ctxt": 0
},
"value": 1.0
},
"property": {
"type": "Identifier",
"span": {
"start": 104,
"end": 112,
"ctxt": 0
},
"value": "toString",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}