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

54 lines
875 B

{
"html": {
"start": 0,
"end": 61,
"type": "Fragment",
"children": [
{
"start": 0,
"end": 61,
"type": "Element",
"name": "textarea",
"attributes": [],
"children": [
{
"start": 10,
"end": 40,
"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"
}
]
}
]
}
}