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/textarea-children/output.json

59 lines
1.0 KiB

{
"html": {
"start": 0,
"end": 61,
"type": "Fragment",
"children": [
{
"start": 0,
"end": 61,
"type": "Element",
"name": "textarea",
"attributes": [
{
"type": "Attribute",
"name": "value",
"value": [
{
"start": 10,
"end": 41,
"type": "Text",
"raw": "\n\t<p>not actually an element. ",
"data": "\n\t<p>not actually an element. "
},
{
"start": 40,
"end": 45,
"type": "MustacheTag",
"expression": {
"type": "Identifier",
"start": 41,
"end": 44,
"loc": {
"start": {
"line": 2,
"column": 30
},
"end": {
"line": 2,
"column": 33
}
},
"name": "foo"
}
},
{
"start": 45,
"end": 50,
"type": "Text",
"raw": "</p>\n",
"data": "</p>\n"
}
]
}
],
"children": []
}
]
}
}