mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
d1097ccb59
**Description:** For now, we leave every comment as a leading comment. As logic for determining leading vs trailing is quite complex, I'll do it with another PR.
14 lines
166 B
JSON
14 lines
166 B
JSON
{
|
|
"17": [
|
|
{
|
|
"kind": "Line",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"text": " Line comment\n"
|
|
}
|
|
]
|
|
}
|