* fix(babel-parser): Move storage of expressionValue in DirectiveLiteral to main parser so it is accessible to others. Closes #13953. Reviewed by @tolmasky. * Add results from running `OVERWRITE=true yarn jest babel-parser`. Reviewed by @tolmasky.
27 lines
917 B
JSON
27 lines
917 B
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [],
|
|
"directives": [
|
|
{
|
|
"type": "Directive",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}},
|
|
"value": {
|
|
"type": "DirectiveLiteral",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}},
|
|
"extra": {
|
|
"rawValue": "\\\\u{20BB7}\\\\u{91CE}\\\\u{5BB6}",
|
|
"raw": "\"\\\\u{20BB7}\\\\u{91CE}\\\\u{5BB6}\"",
|
|
"expressionValue": "\\u{20BB7}\\u{91CE}\\u{5BB6}"
|
|
},
|
|
"value": "\\\\u{20BB7}\\\\u{91CE}\\\\u{5BB6}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |