exports[`test attr-es2015.tokens.json 1`] = ` Object { "filename": "attr-es2015.tokens.json", "line": 0, "nodes": Array [ Object { "buffer": false, "column": 1, "filename": "attr-es2015.tokens.json", "isInline": false, "line": 1, "mustEscape": false, "type": "Code", "val": "var avatar = \'219b77f9d21de75e81851b6b886057c7\'", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 4, "filename": "attr-es2015.tokens.json", "line": 3, "mustEscape": false, "name": "class", "val": "\'avatar-div\'", }, Object { "column": 16, "filename": "attr-es2015.tokens.json", "line": 3, "mustEscape": true, "name": "style", "val": "\`background-image: url(https://www.gravatar.com/avatar/\${avatar})\`", }, ], "block": Object { "filename": "attr-es2015.tokens.json", "line": 3, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attr-es2015.tokens.json", "isInline": false, "line": 3, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test attrs.js.tokens.json 1`] = ` Object { "filename": "attrs.js.tokens.json", "line": 0, "nodes": Array [ Object { "buffer": false, "column": 1, "filename": "attrs.js.tokens.json", "isInline": false, "line": 1, "mustEscape": false, "type": "Code", "val": "var id = 5", }, Object { "buffer": false, "column": 1, "filename": "attrs.js.tokens.json", "isInline": false, "line": 2, "mustEscape": false, "type": "Code", "val": "function answer() { return 42; }", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.js.tokens.json", "line": 3, "mustEscape": true, "name": "href", "val": "\'/user/\' + id", }, Object { "column": 23, "filename": "attrs.js.tokens.json", "line": 3, "mustEscape": true, "name": "class", "val": "\'button\'", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 3, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": true, "line": 3, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.js.tokens.json", "line": 4, "mustEscape": true, "name": "href", "val": "\'/user/\' + id", }, Object { "column": 27, "filename": "attrs.js.tokens.json", "line": 4, "mustEscape": true, "name": "class", "val": "\'button\'", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 4, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": true, "line": 4, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 6, "filename": "attrs.js.tokens.json", "line": 5, "mustEscape": true, "name": "key", "val": "\'answer\'", }, Object { "column": 20, "filename": "attrs.js.tokens.json", "line": 5, "mustEscape": true, "name": "value", "val": "answer()", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 5, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": false, "line": 5, "name": "meta", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.js.tokens.json", "line": 6, "mustEscape": true, "name": "class", "val": "[\'class1\', \'class2\']", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 6, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": true, "line": 6, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 2, "filename": "attrs.js.tokens.json", "line": 7, "mustEscape": false, "name": "class", "val": "\'tag-class\'", }, Object { "column": 13, "filename": "attrs.js.tokens.json", "line": 7, "mustEscape": true, "name": "class", "val": "[\'class1\', \'class2\']", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 7, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": true, "line": 7, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.js.tokens.json", "line": 9, "mustEscape": true, "name": "href", "val": "\'/user/\' + id", }, Object { "column": 22, "filename": "attrs.js.tokens.json", "line": 9, "mustEscape": true, "name": "class", "val": "\'button\'", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 9, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": true, "line": 9, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.js.tokens.json", "line": 10, "mustEscape": true, "name": "href", "val": "\'/user/\' + id", }, Object { "column": 26, "filename": "attrs.js.tokens.json", "line": 10, "mustEscape": true, "name": "class", "val": "\'button\'", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 10, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": true, "line": 10, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 6, "filename": "attrs.js.tokens.json", "line": 11, "mustEscape": true, "name": "key", "val": "\'answer\'", }, Object { "column": 19, "filename": "attrs.js.tokens.json", "line": 11, "mustEscape": true, "name": "value", "val": "answer()", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 11, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": false, "line": 11, "name": "meta", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.js.tokens.json", "line": 12, "mustEscape": true, "name": "class", "val": "[\'class1\', \'class2\']", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 12, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": true, "line": 12, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 2, "filename": "attrs.js.tokens.json", "line": 13, "mustEscape": false, "name": "class", "val": "\'tag-class\'", }, Object { "column": 13, "filename": "attrs.js.tokens.json", "line": 13, "mustEscape": true, "name": "class", "val": "[\'class1\', \'class2\']", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 13, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": true, "line": 13, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [ Object { "column": 11, "filename": "attrs.js.tokens.json", "line": 15, "type": "AttributeBlock", "val": "{foo: \'bar\'}", }, ], "attrs": Array [ Object { "column": 5, "filename": "attrs.js.tokens.json", "line": 15, "mustEscape": true, "name": "id", "val": "id", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 15, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": false, "line": 15, "name": "div", "selfClosing": false, "type": "Tag", }, Object { "buffer": false, "column": 1, "filename": "attrs.js.tokens.json", "isInline": false, "line": 16, "mustEscape": false, "type": "Code", "val": "var bar = null", }, Object { "attributeBlocks": Array [ Object { "column": 22, "filename": "attrs.js.tokens.json", "line": 17, "type": "AttributeBlock", "val": "{baz: \'baz\'}", }, ], "attrs": Array [ Object { "column": 5, "filename": "attrs.js.tokens.json", "line": 17, "mustEscape": true, "name": "foo", "val": "null", }, Object { "column": 14, "filename": "attrs.js.tokens.json", "line": 17, "mustEscape": true, "name": "bar", "val": "bar", }, ], "block": Object { "filename": "attrs.js.tokens.json", "line": 17, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.js.tokens.json", "isInline": false, "line": 17, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test attrs.tokens.json 1`] = ` Object { "filename": "attrs.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 1, "mustEscape": true, "name": "href", "val": "\'/contact\'", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 1, "nodes": Array [ Object { "column": 20, "filename": "attrs.tokens.json", "line": 1, "type": "Text", "val": "contact", }, ], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 1, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 2, "mustEscape": true, "name": "href", "val": "\'/save\'", }, Object { "column": 16, "filename": "attrs.tokens.json", "line": 2, "mustEscape": false, "name": "class", "val": "\'button\'", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 2, "nodes": Array [ Object { "column": 24, "filename": "attrs.tokens.json", "line": 2, "type": "Text", "val": "save", }, ], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 2, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 3, "mustEscape": true, "name": "foo", "val": true, }, Object { "column": 8, "filename": "attrs.tokens.json", "line": 3, "mustEscape": false, "name": "bar", "val": true, }, Object { "column": 13, "filename": "attrs.tokens.json", "line": 3, "mustEscape": false, "name": "baz", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 3, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 3, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 4, "mustEscape": true, "name": "foo", "val": "\'foo, bar, baz\'", }, Object { "column": 24, "filename": "attrs.tokens.json", "line": 4, "mustEscape": true, "name": "bar", "val": "1", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 4, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 4, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 5, "mustEscape": true, "name": "foo", "val": "\'((foo))\'", }, Object { "column": 18, "filename": "attrs.tokens.json", "line": 5, "mustEscape": true, "name": "bar", "val": "(1) ? 1 : 0", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 5, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 5, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "attrs.tokens.json", "line": 6, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 10, "filename": "attrs.tokens.json", "line": 7, "mustEscape": true, "name": "value", "val": "\'foo\'", }, Object { "column": 23, "filename": "attrs.tokens.json", "line": 7, "mustEscape": false, "name": "selected", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 7, "nodes": Array [ Object { "column": 33, "filename": "attrs.tokens.json", "line": 7, "type": "Text", "val": "Foo", }, ], "type": "Block", }, "column": 3, "filename": "attrs.tokens.json", "isInline": false, "line": 7, "name": "option", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 10, "filename": "attrs.tokens.json", "line": 8, "mustEscape": true, "name": "selected", "val": true, }, Object { "column": 20, "filename": "attrs.tokens.json", "line": 8, "mustEscape": true, "name": "value", "val": "\'bar\'", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 8, "nodes": Array [ Object { "column": 33, "filename": "attrs.tokens.json", "line": 8, "type": "Text", "val": "Bar", }, ], "type": "Block", }, "column": 3, "filename": "attrs.tokens.json", "isInline": false, "line": 8, "name": "option", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 6, "name": "select", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 9, "mustEscape": true, "name": "foo", "val": "\"class:\"", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 9, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 9, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 7, "filename": "attrs.tokens.json", "line": 10, "mustEscape": true, "name": "pattern", "val": "\'\\\\S+\'", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 10, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 10, "name": "input", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 12, "mustEscape": true, "name": "href", "val": "\'/contact\'", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 12, "nodes": Array [ Object { "column": 20, "filename": "attrs.tokens.json", "line": 12, "type": "Text", "val": "contact", }, ], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 12, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 13, "mustEscape": true, "name": "href", "val": "\'/save\'", }, Object { "column": 16, "filename": "attrs.tokens.json", "line": 13, "mustEscape": false, "name": "class", "val": "\'button\'", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 13, "nodes": Array [ Object { "column": 24, "filename": "attrs.tokens.json", "line": 13, "type": "Text", "val": "save", }, ], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 13, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 14, "mustEscape": true, "name": "foo", "val": true, }, Object { "column": 7, "filename": "attrs.tokens.json", "line": 14, "mustEscape": false, "name": "bar", "val": true, }, Object { "column": 11, "filename": "attrs.tokens.json", "line": 14, "mustEscape": false, "name": "baz", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 14, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 14, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 15, "mustEscape": true, "name": "foo", "val": "\'foo, bar, baz\'", }, Object { "column": 23, "filename": "attrs.tokens.json", "line": 15, "mustEscape": true, "name": "bar", "val": "1", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 15, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 15, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 16, "mustEscape": true, "name": "foo", "val": "\'((foo))\'", }, Object { "column": 17, "filename": "attrs.tokens.json", "line": 16, "mustEscape": true, "name": "bar", "val": "(1) ? 1 : 0", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 16, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 16, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "attrs.tokens.json", "line": 17, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 10, "filename": "attrs.tokens.json", "line": 18, "mustEscape": true, "name": "value", "val": "\'foo\'", }, Object { "column": 22, "filename": "attrs.tokens.json", "line": 18, "mustEscape": false, "name": "selected", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 18, "nodes": Array [ Object { "column": 32, "filename": "attrs.tokens.json", "line": 18, "type": "Text", "val": "Foo", }, ], "type": "Block", }, "column": 3, "filename": "attrs.tokens.json", "isInline": false, "line": 18, "name": "option", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 10, "filename": "attrs.tokens.json", "line": 19, "mustEscape": true, "name": "selected", "val": true, }, Object { "column": 19, "filename": "attrs.tokens.json", "line": 19, "mustEscape": true, "name": "value", "val": "\'bar\'", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 19, "nodes": Array [ Object { "column": 32, "filename": "attrs.tokens.json", "line": 19, "type": "Text", "val": "Bar", }, ], "type": "Block", }, "column": 3, "filename": "attrs.tokens.json", "isInline": false, "line": 19, "name": "option", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 17, "name": "select", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 20, "mustEscape": true, "name": "foo", "val": "\"class:\"", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 20, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 20, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 7, "filename": "attrs.tokens.json", "line": 21, "mustEscape": true, "name": "pattern", "val": "\'\\\\S+\'", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 21, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 21, "name": "input", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs.tokens.json", "line": 22, "mustEscape": true, "name": "terse", "val": "\"true\"", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 22, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 22, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs.tokens.json", "line": 23, "mustEscape": true, "name": "date", "val": "new Date(0)", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 23, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 23, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs.tokens.json", "line": 25, "mustEscape": true, "name": "abc", "val": true, }, Object { "column": 5, "filename": "attrs.tokens.json", "line": 26, "mustEscape": false, "name": "def", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 25, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 25, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs.tokens.json", "line": 27, "mustEscape": true, "name": "abc", "val": true, }, Object { "column": 5, "filename": "attrs.tokens.json", "line": 28, "mustEscape": false, "name": "def", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 27, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 27, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs.tokens.json", "line": 29, "mustEscape": true, "name": "abc", "val": true, }, Object { "column": 3, "filename": "attrs.tokens.json", "line": 30, "mustEscape": false, "name": "def", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 29, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 29, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs.tokens.json", "line": 31, "mustEscape": true, "name": "abc", "val": true, }, Object { "column": 4, "filename": "attrs.tokens.json", "line": 32, "mustEscape": false, "name": "def", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 31, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 31, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs.tokens.json", "line": 33, "mustEscape": true, "name": "abc", "val": true, }, Object { "column": 3, "filename": "attrs.tokens.json", "line": 34, "mustEscape": false, "name": "def", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 33, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 33, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs.tokens.json", "line": 35, "mustEscape": true, "name": "abc", "val": true, }, Object { "column": 5, "filename": "attrs.tokens.json", "line": 36, "mustEscape": false, "name": "def", "val": true, }, ], "block": Object { "filename": "attrs.tokens.json", "line": 35, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 35, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "buffer": false, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 38, "mustEscape": false, "type": "Code", "val": "var attrs = {foo: \'bar\', bar: \'\'}", }, Object { "attributeBlocks": Array [ Object { "column": 4, "filename": "attrs.tokens.json", "line": 40, "type": "AttributeBlock", "val": "attrs", }, ], "attrs": Array [], "block": Object { "filename": "attrs.tokens.json", "line": 40, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": false, "line": 40, "name": "div", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 42, "mustEscape": true, "name": "foo", "val": "\'foo\'", }, Object { "column": 14, "filename": "attrs.tokens.json", "line": 42, "mustEscape": true, "name": "bar", "val": "\"bar\"", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 42, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 42, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "attrs.tokens.json", "line": 43, "mustEscape": true, "name": "foo", "val": "\'foo\'", }, Object { "column": 14, "filename": "attrs.tokens.json", "line": 43, "mustEscape": true, "name": "bar", "val": "\'bar\'", }, ], "block": Object { "filename": "attrs.tokens.json", "line": 43, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs.tokens.json", "isInline": true, "line": 43, "name": "a", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test attrs.unescaped.tokens.json 1`] = ` Object { "filename": "attrs.unescaped.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 8, "filename": "attrs.unescaped.tokens.json", "line": 1, "mustEscape": true, "name": "type", "val": "\'text/x-template\'", }, ], "block": Object { "filename": "attrs.unescaped.tokens.json", "line": 1, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 7, "filename": "attrs.unescaped.tokens.json", "line": 2, "mustEscape": false, "name": "id", "val": "\'user-<%= user.id %>\'", }, ], "block": Object { "filename": "attrs.unescaped.tokens.json", "line": 2, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "attrs.unescaped.tokens.json", "line": 3, "nodes": Array [ Object { "column": 8, "filename": "attrs.unescaped.tokens.json", "line": 3, "type": "Text", "val": "<%= user.title %>", }, ], "type": "Block", }, "column": 5, "filename": "attrs.unescaped.tokens.json", "isInline": false, "line": 3, "name": "h1", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 3, "filename": "attrs.unescaped.tokens.json", "isInline": false, "line": 2, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "attrs.unescaped.tokens.json", "isInline": false, "line": 1, "name": "script", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test attrs-data.tokens.json 1`] = ` Object { "filename": "attrs-data.tokens.json", "line": 0, "nodes": Array [ Object { "buffer": false, "column": 1, "filename": "attrs-data.tokens.json", "isInline": false, "line": 1, "mustEscape": false, "type": "Code", "val": "var user = { name: \'tobi\' }", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs-data.tokens.json", "line": 2, "mustEscape": true, "name": "data-user", "val": "user", }, ], "block": Object { "filename": "attrs-data.tokens.json", "line": 2, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs-data.tokens.json", "isInline": false, "line": 2, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs-data.tokens.json", "line": 3, "mustEscape": true, "name": "data-items", "val": "[1,2,3]", }, ], "block": Object { "filename": "attrs-data.tokens.json", "line": 3, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs-data.tokens.json", "isInline": false, "line": 3, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs-data.tokens.json", "line": 4, "mustEscape": true, "name": "data-username", "val": "\'tobi\'", }, ], "block": Object { "filename": "attrs-data.tokens.json", "line": 4, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs-data.tokens.json", "isInline": false, "line": 4, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs-data.tokens.json", "line": 5, "mustEscape": true, "name": "data-escaped", "val": "{message: \"Let\'s rock!\"}", }, ], "block": Object { "filename": "attrs-data.tokens.json", "line": 5, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs-data.tokens.json", "isInline": false, "line": 5, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs-data.tokens.json", "line": 6, "mustEscape": true, "name": "data-ampersand", "val": "{message: \"a quote: " this & that\"}", }, ], "block": Object { "filename": "attrs-data.tokens.json", "line": 6, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs-data.tokens.json", "isInline": false, "line": 6, "name": "foo", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "attrs-data.tokens.json", "line": 7, "mustEscape": true, "name": "data-epoc", "val": "new Date(0)", }, ], "block": Object { "filename": "attrs-data.tokens.json", "line": 7, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "attrs-data.tokens.json", "isInline": false, "line": 7, "name": "foo", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test basic.tokens.json 1`] = ` Object { "filename": "basic.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "basic.tokens.json", "line": 1, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "basic.tokens.json", "line": 2, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "basic.tokens.json", "line": 3, "nodes": Array [ Object { "column": 8, "filename": "basic.tokens.json", "line": 3, "type": "Text", "val": "Title", }, ], "type": "Block", }, "column": 5, "filename": "basic.tokens.json", "isInline": false, "line": 3, "name": "h1", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 3, "filename": "basic.tokens.json", "isInline": false, "line": 2, "name": "body", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "basic.tokens.json", "isInline": false, "line": 1, "name": "html", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test blanks.tokens.json 1`] = ` Object { "filename": "blanks.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blanks.tokens.json", "line": 3, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blanks.tokens.json", "line": 4, "nodes": Array [ Object { "column": 6, "filename": "blanks.tokens.json", "line": 4, "type": "Text", "val": "foo", }, ], "type": "Block", }, "column": 3, "filename": "blanks.tokens.json", "isInline": false, "line": 4, "name": "li", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blanks.tokens.json", "line": 6, "nodes": Array [ Object { "column": 6, "filename": "blanks.tokens.json", "line": 6, "type": "Text", "val": "bar", }, ], "type": "Block", }, "column": 3, "filename": "blanks.tokens.json", "isInline": false, "line": 6, "name": "li", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blanks.tokens.json", "line": 8, "nodes": Array [ Object { "column": 6, "filename": "blanks.tokens.json", "line": 8, "type": "Text", "val": "baz", }, ], "type": "Block", }, "column": 3, "filename": "blanks.tokens.json", "isInline": false, "line": 8, "name": "li", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "blanks.tokens.json", "isInline": false, "line": 3, "name": "ul", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test block-code.tokens.json 1`] = ` Object { "filename": "block-code.tokens.json", "line": 0, "nodes": Array [ Object { "buffer": false, "column": 1, "filename": "block-code.tokens.json", "isInline": false, "line": 1, "mustEscape": false, "type": "Code", "val": "list = [\"uno\", \"dos\", \"tres\", \"cuatro\", \"cinco\", \"seis\"];", }, Object { "buffer": false, "column": 1, "filename": "block-code.tokens.json", "line": 4, "type": "Comment", "val": " Without a block, the element is accepted and no code is generated", }, Object { "buffer": false, "column": 1, "filename": "block-code.tokens.json", "isInline": false, "line": 5, "mustEscape": false, "type": "Code", "val": "", }, Object { "block": Object { "filename": "block-code.tokens.json", "line": 7, "nodes": Array [ Object { "buffer": false, "column": 3, "filename": "block-code.tokens.json", "isInline": false, "line": 7, "mustEscape": false, "type": "Code", "val": "string = item.charAt(0) .toUpperCase() + item.slice(1);", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "block-code.tokens.json", "line": 12, "nodes": Array [ Object { "buffer": true, "column": 5, "filename": "block-code.tokens.json", "isInline": true, "line": 12, "mustEscape": true, "type": "Code", "val": "string", }, ], "type": "Block", }, "column": 3, "filename": "block-code.tokens.json", "isInline": false, "line": 12, "name": "li", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "block-code.tokens.json", "key": null, "line": 6, "obj": "list", "type": "Each", "val": "item", }, ], "type": "Block", } `; exports[`test block-expansion.shorthands.tokens.json 1`] = ` Object { "filename": "block-expansion.shorthands.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "block-expansion.shorthands.tokens.json", "line": 1, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 5, "filename": "block-expansion.shorthands.tokens.json", "line": 2, "mustEscape": false, "name": "class", "val": "\'list-item\'", }, ], "block": Object { "filename": "block-expansion.shorthands.tokens.json", "line": 2, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 17, "filename": "block-expansion.shorthands.tokens.json", "line": 2, "mustEscape": false, "name": "class", "val": "\'foo\'", }, ], "block": Object { "filename": "block-expansion.shorthands.tokens.json", "line": 2, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 23, "filename": "block-expansion.shorthands.tokens.json", "line": 2, "mustEscape": false, "name": "id", "val": "\'bar\'", }, ], "block": Object { "filename": "block-expansion.shorthands.tokens.json", "line": 2, "nodes": Array [ Object { "column": 28, "filename": "block-expansion.shorthands.tokens.json", "line": 2, "type": "Text", "val": "baz", }, ], "type": "Block", }, "column": 23, "filename": "block-expansion.shorthands.tokens.json", "isInline": false, "line": 2, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 17, "filename": "block-expansion.shorthands.tokens.json", "isInline": false, "line": 2, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 3, "filename": "block-expansion.shorthands.tokens.json", "isInline": false, "line": 2, "name": "li", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "block-expansion.shorthands.tokens.json", "isInline": false, "line": 1, "name": "ul", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test block-expansion.tokens.json 1`] = ` Object { "filename": "block-expansion.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "block-expansion.tokens.json", "line": 1, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "block-expansion.tokens.json", "line": 2, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 9, "filename": "block-expansion.tokens.json", "line": 2, "mustEscape": true, "name": "href", "val": "\'#\'", }, ], "block": Object { "filename": "block-expansion.tokens.json", "line": 2, "nodes": Array [ Object { "column": 19, "filename": "block-expansion.tokens.json", "line": 2, "type": "Text", "val": "foo", }, ], "type": "Block", }, "column": 7, "filename": "block-expansion.tokens.json", "isInline": true, "line": 2, "name": "a", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 3, "filename": "block-expansion.tokens.json", "isInline": false, "line": 2, "name": "li", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "block-expansion.tokens.json", "line": 3, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 9, "filename": "block-expansion.tokens.json", "line": 3, "mustEscape": true, "name": "href", "val": "\'#\'", }, ], "block": Object { "filename": "block-expansion.tokens.json", "line": 3, "nodes": Array [ Object { "column": 19, "filename": "block-expansion.tokens.json", "line": 3, "type": "Text", "val": "bar", }, ], "type": "Block", }, "column": 7, "filename": "block-expansion.tokens.json", "isInline": true, "line": 3, "name": "a", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 3, "filename": "block-expansion.tokens.json", "isInline": false, "line": 3, "name": "li", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "block-expansion.tokens.json", "isInline": false, "line": 1, "name": "ul", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "block-expansion.tokens.json", "line": 5, "nodes": Array [ Object { "column": 3, "filename": "block-expansion.tokens.json", "line": 5, "type": "Text", "val": "baz", }, ], "type": "Block", }, "column": 1, "filename": "block-expansion.tokens.json", "isInline": false, "line": 5, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test blockquote.tokens.json 1`] = ` Object { "filename": "blockquote.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blockquote.tokens.json", "line": 1, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blockquote.tokens.json", "line": 2, "nodes": Array [ Object { "column": 7, "filename": "blockquote.tokens.json", "line": 3, "type": "Text", "val": "Try to define yourself by what you do, and you’ll burnout every time. You are. That is enough. I rest in that.", }, ], "type": "Block", }, "column": 3, "filename": "blockquote.tokens.json", "isInline": false, "line": 2, "name": "blockquote", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blockquote.tokens.json", "line": 4, "nodes": Array [ Object { "column": 14, "filename": "blockquote.tokens.json", "line": 4, "type": "Text", "val": "from @thefray at 1:43pm on May 10", }, ], "type": "Block", }, "column": 3, "filename": "blockquote.tokens.json", "isInline": false, "line": 4, "name": "figcaption", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "blockquote.tokens.json", "isInline": false, "line": 1, "name": "figure", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test blocks-in-blocks.tokens.json 1`] = ` Object { "filename": "blocks-in-blocks.tokens.json", "line": 0, "nodes": Array [ Object { "column": 1, "file": Object { "column": 9, "filename": "blocks-in-blocks.tokens.json", "line": 1, "path": "./auxiliary/blocks-in-blocks-layout.pug", "type": "FileReference", }, "filename": "blocks-in-blocks.tokens.json", "line": 1, "type": "Extends", }, Object { "column": 1, "filename": "blocks-in-blocks.tokens.json", "line": 3, "mode": "replace", "name": "body", "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blocks-in-blocks.tokens.json", "line": 4, "nodes": Array [ Object { "column": 6, "filename": "blocks-in-blocks.tokens.json", "line": 4, "type": "Text", "val": "Page 2", }, ], "type": "Block", }, "column": 3, "filename": "blocks-in-blocks.tokens.json", "isInline": false, "line": 4, "name": "h1", "selfClosing": false, "type": "Tag", }, ], "type": "NamedBlock", }, ], "type": "Block", } `; exports[`test blocks-in-if.tokens.json 1`] = ` Object { "filename": "blocks-in-if.tokens.json", "line": 0, "nodes": Array [ Object { "buffer": false, "column": 1, "filename": "blocks-in-if.tokens.json", "line": 1, "type": "Comment", "val": " see https://github.com/pugjs/pug/issues/1589", }, Object { "buffer": false, "column": 1, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 3, "mustEscape": false, "type": "Code", "val": "var ajax = true", }, Object { "block": Object { "filename": "blocks-in-if.tokens.json", "line": 6, "nodes": Array [ Object { "buffer": false, "column": 5, "filename": "blocks-in-if.tokens.json", "line": 6, "type": "Comment", "val": " return only contents if ajax requests", }, Object { "column": 5, "filename": "blocks-in-if.tokens.json", "line": 7, "mode": "replace", "name": "contents", "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blocks-in-if.tokens.json", "line": 8, "nodes": Array [ Object { "column": 11, "filename": "blocks-in-if.tokens.json", "line": 8, "type": "Text", "val": "ajax contents", }, ], "type": "Block", }, "column": 9, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 8, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "NamedBlock", }, ], "type": "Block", }, "buffer": false, "column": 1, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 5, "mustEscape": false, "type": "Code", "val": "if( ajax )", }, Object { "block": Object { "filename": "blocks-in-if.tokens.json", "line": 11, "nodes": Array [ Object { "buffer": false, "column": 5, "filename": "blocks-in-if.tokens.json", "line": 11, "type": "Comment", "val": " return all html", }, Object { "column": 5, "filename": "blocks-in-if.tokens.json", "line": 12, "type": "Doctype", "val": "html", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blocks-in-if.tokens.json", "line": 13, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blocks-in-if.tokens.json", "line": 14, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 19, "filename": "blocks-in-if.tokens.json", "line": 15, "mustEscape": true, "name": "charset", "val": "\'utf8\'", }, ], "block": Object { "filename": "blocks-in-if.tokens.json", "line": 15, "nodes": Array [], "type": "Block", }, "column": 13, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 15, "name": "meta", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blocks-in-if.tokens.json", "line": 16, "nodes": Array [ Object { "column": 19, "filename": "blocks-in-if.tokens.json", "line": 16, "type": "Text", "val": "sample", }, ], "type": "Block", }, "column": 13, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 16, "name": "title", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blocks-in-if.tokens.json", "line": 17, "nodes": Array [ Object { "column": 17, "filename": "blocks-in-if.tokens.json", "line": 18, "mode": "replace", "name": "contents", "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "blocks-in-if.tokens.json", "line": 19, "nodes": Array [ Object { "column": 23, "filename": "blocks-in-if.tokens.json", "line": 19, "type": "Text", "val": "all contetns", }, ], "type": "Block", }, "column": 21, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 19, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "NamedBlock", }, ], "type": "Block", }, "column": 13, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 17, "name": "body", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 9, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 14, "name": "head", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 5, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 13, "name": "html", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "buffer": false, "column": 1, "debug": false, "filename": "blocks-in-if.tokens.json", "isInline": false, "line": 10, "mustEscape": false, "type": "Code", "val": "else", }, ], "type": "Block", } `; exports[`test case.tokens.json 1`] = ` Object { "filename": "case.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case.tokens.json", "line": 1, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case.tokens.json", "line": 2, "nodes": Array [ Object { "buffer": false, "column": 5, "filename": "case.tokens.json", "isInline": false, "line": 3, "mustEscape": false, "type": "Code", "val": "var friends = 1", }, Object { "block": Object { "filename": "case.tokens.json", "line": 5, "nodes": Array [ Object { "block": Object { "filename": "case.tokens.json", "line": 5, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case.tokens.json", "line": 5, "nodes": Array [ Object { "column": 17, "filename": "case.tokens.json", "line": 5, "type": "Text", "val": "you have no friends", }, ], "type": "Block", }, "column": 15, "filename": "case.tokens.json", "isInline": false, "line": 5, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 7, "debug": false, "expr": "0", "filename": "case.tokens.json", "line": 5, "type": "When", }, Object { "block": Object { "filename": "case.tokens.json", "line": 6, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case.tokens.json", "line": 6, "nodes": Array [ Object { "column": 17, "filename": "case.tokens.json", "line": 6, "type": "Text", "val": "you have a friend", }, ], "type": "Block", }, "column": 15, "filename": "case.tokens.json", "isInline": false, "line": 6, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 7, "debug": false, "expr": "1", "filename": "case.tokens.json", "line": 6, "type": "When", }, Object { "block": Object { "filename": "case.tokens.json", "line": 7, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case.tokens.json", "line": 7, "nodes": Array [ Object { "column": 18, "filename": "case.tokens.json", "line": 7, "type": "Text", "val": "you have ", }, Object { "buffer": true, "column": 27, "filename": "case.tokens.json", "isInline": true, "line": 7, "mustEscape": true, "type": "Code", "val": "friends", }, Object { "column": 37, "filename": "case.tokens.json", "line": 7, "type": "Text", "val": " friends", }, ], "type": "Block", }, "column": 16, "filename": "case.tokens.json", "isInline": false, "line": 7, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 7, "debug": false, "expr": "default", "filename": "case.tokens.json", "line": 7, "type": "When", }, ], "type": "Block", }, "column": 5, "expr": "friends", "filename": "case.tokens.json", "line": 4, "type": "Case", }, Object { "buffer": false, "column": 5, "filename": "case.tokens.json", "isInline": false, "line": 8, "mustEscape": false, "type": "Code", "val": "var friends = 0", }, Object { "block": Object { "filename": "case.tokens.json", "line": 10, "nodes": Array [ Object { "column": 7, "debug": false, "expr": "0", "filename": "case.tokens.json", "line": 10, "type": "When", }, Object { "block": Object { "filename": "case.tokens.json", "line": 12, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case.tokens.json", "line": 12, "nodes": Array [ Object { "column": 11, "filename": "case.tokens.json", "line": 12, "type": "Text", "val": "you have very few friends", }, ], "type": "Block", }, "column": 9, "filename": "case.tokens.json", "isInline": false, "line": 12, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 7, "debug": false, "expr": "1", "filename": "case.tokens.json", "line": 11, "type": "When", }, Object { "block": Object { "filename": "case.tokens.json", "line": 14, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case.tokens.json", "line": 14, "nodes": Array [ Object { "column": 11, "filename": "case.tokens.json", "line": 14, "type": "Text", "val": "you have ", }, Object { "buffer": true, "column": 20, "filename": "case.tokens.json", "isInline": true, "line": 14, "mustEscape": true, "type": "Code", "val": "friends", }, Object { "column": 30, "filename": "case.tokens.json", "line": 14, "type": "Text", "val": " friends", }, ], "type": "Block", }, "column": 9, "filename": "case.tokens.json", "isInline": false, "line": 14, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 7, "debug": false, "expr": "default", "filename": "case.tokens.json", "line": 13, "type": "When", }, ], "type": "Block", }, "column": 5, "expr": "friends", "filename": "case.tokens.json", "line": 9, "type": "Case", }, ], "type": "Block", }, "column": 3, "filename": "case.tokens.json", "isInline": false, "line": 2, "name": "body", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "case.tokens.json", "isInline": false, "line": 1, "name": "html", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test case-blocks.tokens.json 1`] = ` Object { "filename": "case-blocks.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case-blocks.tokens.json", "line": 1, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case-blocks.tokens.json", "line": 2, "nodes": Array [ Object { "buffer": false, "column": 5, "filename": "case-blocks.tokens.json", "isInline": false, "line": 3, "mustEscape": false, "type": "Code", "val": "var friends = 1", }, Object { "block": Object { "filename": "case-blocks.tokens.json", "line": 5, "nodes": Array [ Object { "block": Object { "filename": "case-blocks.tokens.json", "line": 6, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case-blocks.tokens.json", "line": 6, "nodes": Array [ Object { "column": 11, "filename": "case-blocks.tokens.json", "line": 6, "type": "Text", "val": "you have no friends", }, ], "type": "Block", }, "column": 9, "filename": "case-blocks.tokens.json", "isInline": false, "line": 6, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 7, "debug": false, "expr": "0", "filename": "case-blocks.tokens.json", "line": 5, "type": "When", }, Object { "block": Object { "filename": "case-blocks.tokens.json", "line": 8, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case-blocks.tokens.json", "line": 8, "nodes": Array [ Object { "column": 11, "filename": "case-blocks.tokens.json", "line": 8, "type": "Text", "val": "you have a friend", }, ], "type": "Block", }, "column": 9, "filename": "case-blocks.tokens.json", "isInline": false, "line": 8, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 7, "debug": false, "expr": "1", "filename": "case-blocks.tokens.json", "line": 7, "type": "When", }, Object { "block": Object { "filename": "case-blocks.tokens.json", "line": 10, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "case-blocks.tokens.json", "line": 10, "nodes": Array [ Object { "column": 11, "filename": "case-blocks.tokens.json", "line": 10, "type": "Text", "val": "you have ", }, Object { "buffer": true, "column": 20, "filename": "case-blocks.tokens.json", "isInline": true, "line": 10, "mustEscape": true, "type": "Code", "val": "friends", }, Object { "column": 30, "filename": "case-blocks.tokens.json", "line": 10, "type": "Text", "val": " friends", }, ], "type": "Block", }, "column": 9, "filename": "case-blocks.tokens.json", "isInline": false, "line": 10, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 7, "debug": false, "expr": "default", "filename": "case-blocks.tokens.json", "line": 9, "type": "When", }, ], "type": "Block", }, "column": 5, "expr": "friends", "filename": "case-blocks.tokens.json", "line": 4, "type": "Case", }, ], "type": "Block", }, "column": 3, "filename": "case-blocks.tokens.json", "isInline": false, "line": 2, "name": "body", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "filename": "case-blocks.tokens.json", "isInline": false, "line": 1, "name": "html", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test classes.tokens.json 1`] = ` Object { "filename": "classes.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "classes.tokens.json", "line": 1, "mustEscape": true, "name": "class", "val": "[\'foo\', \'bar\', \'baz\']", }, ], "block": Object { "filename": "classes.tokens.json", "line": 1, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "classes.tokens.json", "isInline": true, "line": 1, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 2, "filename": "classes.tokens.json", "line": 5, "mustEscape": false, "name": "class", "val": "\'foo\'", }, Object { "column": 7, "filename": "classes.tokens.json", "line": 5, "mustEscape": true, "name": "class", "val": "\'bar\'", }, Object { "column": 19, "filename": "classes.tokens.json", "line": 5, "mustEscape": false, "name": "class", "val": "\'baz\'", }, ], "block": Object { "filename": "classes.tokens.json", "line": 5, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "classes.tokens.json", "isInline": true, "line": 5, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 2, "filename": "classes.tokens.json", "line": 9, "mustEscape": false, "name": "class", "val": "\'foo-bar_baz\'", }, ], "block": Object { "filename": "classes.tokens.json", "line": 9, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "classes.tokens.json", "isInline": true, "line": 9, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "classes.tokens.json", "line": 11, "mustEscape": true, "name": "class", "val": "{foo: true, bar: false, baz: true}", }, ], "block": Object { "filename": "classes.tokens.json", "line": 11, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "classes.tokens.json", "isInline": true, "line": 11, "name": "a", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test classes-empty.tokens.json 1`] = ` Object { "filename": "classes-empty.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "classes-empty.tokens.json", "line": 1, "mustEscape": true, "name": "class", "val": "\'\'", }, ], "block": Object { "filename": "classes-empty.tokens.json", "line": 1, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "classes-empty.tokens.json", "isInline": true, "line": 1, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "classes-empty.tokens.json", "line": 2, "mustEscape": true, "name": "class", "val": "null", }, ], "block": Object { "filename": "classes-empty.tokens.json", "line": 2, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "classes-empty.tokens.json", "isInline": true, "line": 2, "name": "a", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "classes-empty.tokens.json", "line": 3, "mustEscape": true, "name": "class", "val": "undefined", }, ], "block": Object { "filename": "classes-empty.tokens.json", "line": 3, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "classes-empty.tokens.json", "isInline": true, "line": 3, "name": "a", "selfClosing": false, "type": "Tag", }, ], "type": "Block", } `; exports[`test code.conditionals.tokens.json 1`] = ` Object { "filename": "code.conditionals.tokens.json", "line": 0, "nodes": Array [ Object { "block": Object { "filename": "code.conditionals.tokens.json", "line": 3, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 3, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 3, "type": "Text", "val": "foo", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 3, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "buffer": false, "column": 1, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 2, "mustEscape": false, "type": "Code", "val": "if (true)", }, Object { "block": Object { "filename": "code.conditionals.tokens.json", "line": 5, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 5, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 5, "type": "Text", "val": "bar", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 5, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "buffer": false, "column": 1, "debug": false, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 4, "mustEscape": false, "type": "Code", "val": "else", }, Object { "block": Object { "filename": "code.conditionals.tokens.json", "line": 8, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 8, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 8, "type": "Text", "val": "foo", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 8, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "buffer": false, "column": 1, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 7, "mustEscape": false, "type": "Code", "val": "if (true) {", }, Object { "block": Object { "filename": "code.conditionals.tokens.json", "line": 10, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 10, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 10, "type": "Text", "val": "bar", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 10, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "buffer": false, "column": 1, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 9, "mustEscape": false, "type": "Code", "val": "} else {", }, Object { "buffer": false, "column": 1, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 11, "mustEscape": false, "type": "Code", "val": "}", }, Object { "alternate": Object { "filename": "code.conditionals.tokens.json", "line": 18, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 18, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 18, "type": "Text", "val": "bar", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 18, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "consequent": Object { "filename": "code.conditionals.tokens.json", "line": 14, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 14, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 14, "type": "Text", "val": "foo", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 14, "name": "p", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 15, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 15, "type": "Text", "val": "bar", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 15, "name": "p", "selfClosing": false, "type": "Tag", }, Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 16, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 16, "type": "Text", "val": "baz", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 16, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "filename": "code.conditionals.tokens.json", "line": 13, "test": "true", "type": "Conditional", }, Object { "alternate": Object { "filename": "code.conditionals.tokens.json", "line": 23, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 23, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 23, "type": "Text", "val": "bar", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 23, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "consequent": Object { "filename": "code.conditionals.tokens.json", "line": 21, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 21, "nodes": Array [ Object { "column": 5, "filename": "code.conditionals.tokens.json", "line": 21, "type": "Text", "val": "foo", }, ], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 21, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "filename": "code.conditionals.tokens.json", "line": 20, "test": "!(true)", "type": "Conditional", }, Object { "alternate": null, "column": 1, "consequent": Object { "filename": "code.conditionals.tokens.json", "line": 26, "nodes": Array [ Object { "alternate": null, "column": 3, "consequent": Object { "filename": "code.conditionals.tokens.json", "line": 27, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.conditionals.tokens.json", "line": 27, "nodes": Array [ Object { "column": 7, "filename": "code.conditionals.tokens.json", "line": 27, "type": "Text", "val": "yay", }, ], "type": "Block", }, "column": 5, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 27, "name": "p", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "filename": "code.conditionals.tokens.json", "line": 26, "test": "\'works\'", "type": "Conditional", }, ], "type": "Block", }, "filename": "code.conditionals.tokens.json", "line": 25, "test": "\'nested\'", "type": "Conditional", }, Object { "buffer": false, "column": 1, "filename": "code.conditionals.tokens.json", "line": 29, "type": "Comment", "val": " allow empty blocks", }, Object { "alternate": Object { "filename": "code.conditionals.tokens.json", "line": 32, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "code.conditionals.tokens.json", "line": 32, "mustEscape": false, "name": "class", "val": "\'bar\'", }, ], "block": Object { "filename": "code.conditionals.tokens.json", "line": 32, "nodes": Array [], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 32, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "consequent": Object { "filename": "code.conditionals.tokens.json", "line": 30, "nodes": Array [], "type": "Block", }, "filename": "code.conditionals.tokens.json", "line": 30, "test": "false", "type": "Conditional", }, Object { "alternate": null, "column": 1, "consequent": Object { "filename": "code.conditionals.tokens.json", "line": 34, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "code.conditionals.tokens.json", "line": 34, "mustEscape": false, "name": "class", "val": "\'bar\'", }, ], "block": Object { "filename": "code.conditionals.tokens.json", "line": 34, "nodes": Array [], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 34, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "filename": "code.conditionals.tokens.json", "line": 33, "test": "true", "type": "Conditional", }, Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 1, "filename": "code.conditionals.tokens.json", "line": 36, "mustEscape": false, "name": "class", "val": "\'bing\'", }, ], "block": Object { "filename": "code.conditionals.tokens.json", "line": 36, "nodes": Array [], "type": "Block", }, "column": 1, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 36, "name": "div", "selfClosing": false, "type": "Tag", }, Object { "alternate": Object { "alternate": Object { "filename": "code.conditionals.tokens.json", "line": 43, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "code.conditionals.tokens.json", "line": 43, "mustEscape": false, "name": "class", "val": "\'foo\'", }, ], "block": Object { "filename": "code.conditionals.tokens.json", "line": 43, "nodes": Array [], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 43, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "column": 1, "consequent": Object { "filename": "code.conditionals.tokens.json", "line": 41, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "code.conditionals.tokens.json", "line": 41, "mustEscape": false, "name": "class", "val": "\'bar\'", }, ], "block": Object { "filename": "code.conditionals.tokens.json", "line": 41, "nodes": Array [], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 41, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "filename": "code.conditionals.tokens.json", "line": 40, "test": "false", "type": "Conditional", }, "column": 1, "consequent": Object { "filename": "code.conditionals.tokens.json", "line": 39, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [ Object { "column": 3, "filename": "code.conditionals.tokens.json", "line": 39, "mustEscape": false, "name": "class", "val": "\'bing\'", }, ], "block": Object { "filename": "code.conditionals.tokens.json", "line": 39, "nodes": Array [], "type": "Block", }, "column": 3, "filename": "code.conditionals.tokens.json", "isInline": false, "line": 39, "name": "div", "selfClosing": false, "type": "Tag", }, ], "type": "Block", }, "filename": "code.conditionals.tokens.json", "line": 38, "test": "false", "type": "Conditional", }, ], "type": "Block", } `; exports[`test code.escape.tokens.json 1`] = ` Object { "filename": "code.escape.tokens.json", "line": 0, "nodes": Array [ Object { "attributeBlocks": Array [], "attrs": Array [], "block": Object { "filename": "code.escape.tokens.json", "line": 1, "nodes": Array [ Object { "buffer": true, "column": 2, "filename": "code.escape.tokens.json", "isInline": true, "line": 1, "mustEscape": true, "type": "Code", "val": "\'