pixsy/node_modules/pug-linker/test/errors/unexpected-block.input.json

58 lines
1.3 KiB
JSON

{
"type": "Block",
"nodes": [
{
"type": "Extends",
"file": {
"type": "FileReference",
"path": "../fixtures/empty.pug",
"line": 1,
"filename": "unexpected-block.pug",
"fullPath": "../fixtures/empty.pug",
"str": "",
"ast": {
"type": "Block",
"nodes": [],
"line": 0,
"filename": "../fixtures/empty.pug"
}
},
"line": 1,
"filename": "unexpected-block.pug"
},
{
"type": "NamedBlock",
"nodes": [
{
"type": "Tag",
"name": "div",
"selfClosing": false,
"block": {
"type": "Block",
"nodes": [
{
"type": "Text",
"val": "Hello World",
"line": 4,
"filename": "unexpected-block.pug"
}
],
"line": 4,
"filename": "unexpected-block.pug"
},
"attrs": [],
"attributeBlocks": [],
"isInline": false,
"line": 4,
"filename": "unexpected-block.pug"
}
],
"line": 3,
"filename": "unexpected-block.pug",
"name": "foo",
"mode": "replace"
}
],
"line": 0,
"filename": "unexpected-block.pug"
}