You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/parser/samples/script-comment-only/output.json

55 lines
775 B

{
"html": {
"start": 45,
"end": 56,
"type": "Fragment",
"children": [
{
"start": 43,
"end": 45,
"type": "Text",
"raw": "\n\n",
"data": "\n\n"
},
{
"start": 45,
"end": 56,
"type": "Element",
"name": "div",
"attributes": [],
"children": []
}
]
},
"instance": {
"type": "Script",
"start": 0,
"end": 43,
"context": "default",
"content": {
"type": "Program",
"start": 8,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 0
}
},
"body": [],
"sourceType": "module",
"trailingComments": [
{
"type": "Line",
"value": " TODO write some code",
"start": 10,
"end": 33
}
]
}
}
}