185 lines
4.6 KiB
JSON

{
"type": "File",
"start": 0,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 45
}
},
"program": {
"type": "Program",
"start": 0,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 45
}
},
"sourceType": "script",
"body": [
{
"type": "VariableDeclaration",
"start": 0,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 45
}
},
"id": {
"type": "ObjectPattern",
"start": 4,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 39
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 5,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 5
},
"end": {
"line": 1,
"column": 38
}
},
"method": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 5
},
"end": {
"line": 1,
"column": 13
},
"identifierName": "propName"
},
"name": "propName"
},
"shorthand": false,
"value": {
"type": "AssignmentPattern",
"start": 15,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 38
}
},
"left": {
"type": "Identifier",
"start": 15,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "localVar"
},
"name": "localVar"
},
"right": {
"type": "Identifier",
"start": 26,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 38
},
"identifierName": "defaultValue"
},
"name": "defaultValue"
}
}
}
]
},
"init": {
"type": "Identifier",
"start": 42,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 45
},
"identifierName": "obj"
},
"name": "obj"
}
}
],
"kind": "var"
}
],
"directives": []
}
}