swc/crates/swc_ecma_parser/tests/tsc/propertyAccessChain.json

1763 lines
54 KiB
JSON

{
"type": "Script",
"span": {
"start": 19,
"end": 489,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 19,
"end": 63,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 33,
"end": 62,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 33,
"end": 35,
"ctxt": 0
},
"value": "o1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 35,
"end": 62,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 37,
"end": 62,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 37,
"end": 46,
"ctxt": 0
},
"kind": "undefined"
},
{
"type": "TsTypeLiteral",
"span": {
"start": 49,
"end": 62,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 51,
"end": 60,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 51,
"end": 52,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 52,
"end": 60,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 54,
"end": 60,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 64,
"end": 70,
"ctxt": 0
},
"expression": {
"type": "OptionalChainingExpression",
"span": {
"start": 64,
"end": 69,
"ctxt": 0
},
"questionDotToken": {
"start": 66,
"end": 67,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 64,
"end": 69,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 64,
"end": 66,
"ctxt": 0
},
"value": "o1",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 68,
"end": 69,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 72,
"end": 123,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 86,
"end": 122,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 86,
"end": 88,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 88,
"end": 122,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 90,
"end": 122,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 90,
"end": 99,
"ctxt": 0
},
"kind": "undefined"
},
{
"type": "TsTypeLiteral",
"span": {
"start": 102,
"end": 122,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 104,
"end": 120,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 104,
"end": 105,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 105,
"end": 120,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 107,
"end": 120,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 109,
"end": 118,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 109,
"end": 110,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 110,
"end": 118,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 112,
"end": 118,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 124,
"end": 132,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 124,
"end": 131,
"ctxt": 0
},
"object": {
"type": "OptionalChainingExpression",
"span": {
"start": 124,
"end": 129,
"ctxt": 0
},
"questionDotToken": {
"start": 126,
"end": 127,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 124,
"end": 129,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 124,
"end": 126,
"ctxt": 0
},
"value": "o2",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 128,
"end": 129,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
"property": {
"type": "Identifier",
"span": {
"start": 130,
"end": 131,
"ctxt": 0
},
"value": "c",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 134,
"end": 185,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 148,
"end": 184,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 148,
"end": 150,
"ctxt": 0
},
"value": "o3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 150,
"end": 184,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 152,
"end": 184,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 154,
"end": 182,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 154,
"end": 155,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 155,
"end": 182,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 157,
"end": 182,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 157,
"end": 166,
"ctxt": 0
},
"kind": "undefined"
},
{
"type": "TsTypeLiteral",
"span": {
"start": 169,
"end": 182,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 171,
"end": 180,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 171,
"end": 172,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 172,
"end": 180,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 174,
"end": 180,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 186,
"end": 194,
"ctxt": 0
},
"expression": {
"type": "OptionalChainingExpression",
"span": {
"start": 186,
"end": 193,
"ctxt": 0
},
"questionDotToken": {
"start": 190,
"end": 191,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 186,
"end": 193,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 186,
"end": 190,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 186,
"end": 188,
"ctxt": 0
},
"value": "o3",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 189,
"end": 190,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 192,
"end": 193,
"ctxt": 0
},
"value": "c",
"optional": false
}
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 196,
"end": 251,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 210,
"end": 250,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 210,
"end": 212,
"ctxt": 0
},
"value": "o4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 212,
"end": 250,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 214,
"end": 250,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 216,
"end": 248,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 216,
"end": 217,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 218,
"end": 248,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 220,
"end": 248,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 222,
"end": 246,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 222,
"end": 223,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 223,
"end": 246,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 225,
"end": 246,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 227,
"end": 244,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 227,
"end": 228,
"ctxt": 0
},
"value": "d",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 229,
"end": 244,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 231,
"end": 244,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 233,
"end": 242,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 233,
"end": 234,
"ctxt": 0
},
"value": "e",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 234,
"end": 242,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 236,
"end": 242,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 252,
"end": 265,
"ctxt": 0
},
"expression": {
"type": "OptionalChainingExpression",
"span": {
"start": 252,
"end": 264,
"ctxt": 0
},
"questionDotToken": {
"start": 261,
"end": 262,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 252,
"end": 264,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 252,
"end": 261,
"ctxt": 0
},
"object": {
"type": "OptionalChainingExpression",
"span": {
"start": 252,
"end": 259,
"ctxt": 0
},
"questionDotToken": {
"start": 256,
"end": 257,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 252,
"end": 259,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 252,
"end": 256,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 252,
"end": 254,
"ctxt": 0
},
"value": "o4",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 255,
"end": 256,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 258,
"end": 259,
"ctxt": 0
},
"value": "c",
"optional": false
}
}
},
"property": {
"type": "Identifier",
"span": {
"start": 260,
"end": 261,
"ctxt": 0
},
"value": "d",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 263,
"end": 264,
"ctxt": 0
},
"value": "e",
"optional": false
}
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 267,
"end": 324,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 281,
"end": 323,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 281,
"end": 283,
"ctxt": 0
},
"value": "o5",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 283,
"end": 323,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 285,
"end": 323,
"ctxt": 0
},
"members": [
{
"type": "TsMethodSignature",
"span": {
"start": 287,
"end": 321,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 287,
"end": 288,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": true,
"params": [],
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 291,
"end": 321,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 293,
"end": 321,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 295,
"end": 319,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 295,
"end": 296,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 296,
"end": 319,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 298,
"end": 319,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 300,
"end": 317,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 300,
"end": 301,
"ctxt": 0
},
"value": "d",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 302,
"end": 317,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 304,
"end": 317,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 306,
"end": 315,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 306,
"end": 307,
"ctxt": 0
},
"value": "e",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 307,
"end": 315,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 309,
"end": 315,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 325,
"end": 341,
"ctxt": 0
},
"expression": {
"type": "OptionalChainingExpression",
"span": {
"start": 325,
"end": 340,
"ctxt": 0
},
"questionDotToken": {
"start": 337,
"end": 338,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 325,
"end": 340,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 325,
"end": 337,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 325,
"end": 335,
"ctxt": 0
},
"object": {
"type": "OptionalChainingExpression",
"span": {
"start": 325,
"end": 333,
"ctxt": 0
},
"questionDotToken": {
"start": 329,
"end": 330,
"ctxt": 0
},
"base": {
"type": "CallExpression",
"span": {
"start": 325,
"end": 333,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 325,
"end": 329,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 325,
"end": 327,
"ctxt": 0
},
"value": "o5",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 328,
"end": 329,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
"property": {
"type": "Identifier",
"span": {
"start": 334,
"end": 335,
"ctxt": 0
},
"value": "c",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 336,
"end": 337,
"ctxt": 0
},
"value": "d",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 339,
"end": 340,
"ctxt": 0
},
"value": "e",
"optional": false
}
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 355,
"end": 410,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 369,
"end": 409,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 369,
"end": 371,
"ctxt": 0
},
"value": "o6",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 371,
"end": 409,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 373,
"end": 409,
"ctxt": 0
},
"params": [],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 373,
"end": 376,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 374,
"end": 375,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 374,
"end": 375,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 379,
"end": 409,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 382,
"end": 409,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 382,
"end": 391,
"ctxt": 0
},
"kind": "undefined"
},
{
"type": "TsParenthesizedType",
"span": {
"start": 394,
"end": 409,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 395,
"end": 408,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 397,
"end": 406,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 397,
"end": 398,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 398,
"end": 406,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 400,
"end": 406,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
]
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 411,
"end": 427,
"ctxt": 0
},
"expression": {
"type": "OptionalChainingExpression",
"span": {
"start": 411,
"end": 426,
"ctxt": 0
},
"questionDotToken": {
"start": 423,
"end": 424,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 411,
"end": 426,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 411,
"end": 423,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 411,
"end": 413,
"ctxt": 0
},
"value": "o6",
"optional": false
},
"arguments": [],
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 413,
"end": 421,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 414,
"end": 420,
"ctxt": 0
},
"kind": "number"
}
]
}
},
"property": {
"type": "Identifier",
"span": {
"start": 425,
"end": 426,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 441,
"end": 455,
"ctxt": 0
},
"expression": {
"type": "ConditionalExpression",
"span": {
"start": 441,
"end": 454,
"ctxt": 0
},
"test": {
"type": "OptionalChainingExpression",
"span": {
"start": 441,
"end": 446,
"ctxt": 0
},
"questionDotToken": {
"start": 443,
"end": 444,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 441,
"end": 446,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 441,
"end": 443,
"ctxt": 0
},
"value": "o1",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 445,
"end": 446,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
"consequent": {
"type": "NumericLiteral",
"span": {
"start": 449,
"end": 450,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"alternate": {
"type": "NumericLiteral",
"span": {
"start": 453,
"end": 454,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 469,
"end": 478,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 469,
"end": 477,
"ctxt": 0
},
"object": {
"type": "TsNonNullExpression",
"span": {
"start": 469,
"end": 475,
"ctxt": 0
},
"expression": {
"type": "OptionalChainingExpression",
"span": {
"start": 469,
"end": 474,
"ctxt": 0
},
"questionDotToken": {
"start": 471,
"end": 472,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 469,
"end": 474,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 469,
"end": 471,
"ctxt": 0
},
"value": "o2",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 473,
"end": 474,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
}
},
"property": {
"type": "Identifier",
"span": {
"start": 476,
"end": 477,
"ctxt": 0
},
"value": "c",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 479,
"end": 489,
"ctxt": 0
},
"expression": {
"type": "TsNonNullExpression",
"span": {
"start": 479,
"end": 488,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 479,
"end": 487,
"ctxt": 0
},
"object": {
"type": "TsNonNullExpression",
"span": {
"start": 479,
"end": 485,
"ctxt": 0
},
"expression": {
"type": "OptionalChainingExpression",
"span": {
"start": 479,
"end": 484,
"ctxt": 0
},
"questionDotToken": {
"start": 481,
"end": 482,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 479,
"end": 484,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 479,
"end": 481,
"ctxt": 0
},
"value": "o2",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 483,
"end": 484,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
}
},
"property": {
"type": "Identifier",
"span": {
"start": 486,
"end": 487,
"ctxt": 0
},
"value": "c",
"optional": false
}
}
}
}
],
"interpreter": null
}