241 lines
6.0 KiB
JSON
241 lines
6.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 61,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 61
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 61,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 61
|
|
}
|
|
},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start": 0,
|
|
"end": 61,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 61
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 9,
|
|
"end": 36,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 36
|
|
},
|
|
"identifierName": "multiElementWithInitializer"
|
|
},
|
|
"name": "multiElementWithInitializer"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "RestElement",
|
|
"start": 37,
|
|
"end": 57,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 57
|
|
}
|
|
},
|
|
"argument": {
|
|
"type": "ArrayPattern",
|
|
"start": 40,
|
|
"end": 57,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 57
|
|
}
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"start": 41,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 41,
|
|
"end": 42,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 42
|
|
},
|
|
"identifierName": "a"
|
|
},
|
|
"name": "a"
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start": 45,
|
|
"end": 46,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 46
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "0"
|
|
},
|
|
"value": 0
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 48,
|
|
"end": 49,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 49
|
|
},
|
|
"identifierName": "b"
|
|
},
|
|
"name": "b"
|
|
},
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"start": 51,
|
|
"end": 56,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 56
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start": 51,
|
|
"end": 52,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 51
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 52
|
|
},
|
|
"identifierName": "c"
|
|
},
|
|
"name": "c"
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start": 55,
|
|
"end": 56,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 56
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 59,
|
|
"end": 61,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 59
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 61
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |