Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 35,
+ "line": 1,
+ "offset": 34,
+ },
+ "source": "<template attr=\\"c\\"></template>",
+ "start": Object {
+ "column": 1,
+ "line": 1,
+ "offset": 0,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 35,
- "line": 1,
- "offset": 34,
- },
- "source": "<template attr=\\"c\\"></template>",
- "start": Object {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "ns": 0,
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 34,
+ "line": 1,
+ "offset": 33,
+ },
+ "source": "<template attr=\\"&#a;\\"></template>",
+ "start": Object {
+ "column": 1,
+ "line": 1,
+ "offset": 0,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 34,
- "line": 1,
- "offset": 33,
- },
- "source": "<template attr=\\"&#a;\\"></template>",
- "start": Object {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "ns": 0,
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 36,
+ "line": 1,
+ "offset": 35,
+ },
+ "source": "<template attr=\\"ÿ\\"></template>",
+ "start": Object {
+ "column": 1,
+ "line": 1,
+ "offset": 0,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 36,
- "line": 1,
- "offset": 35,
- },
- "source": "<template attr=\\"ÿ\\"></template>",
- "start": Object {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "ns": 0,
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 35,
+ "line": 1,
+ "offset": 34,
+ },
+ "source": "<template attr=\\"&#xg;\\"></template>",
+ "start": Object {
+ "column": 1,
+ "line": 1,
+ "offset": 0,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 35,
- "line": 1,
- "offset": 34,
- },
- "source": "<template attr=\\"&#xg;\\"></template>",
- "start": Object {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "ns": 0,
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "c",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "&#a;",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "ΓΏ",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "&#xg;",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "[CDATA[cdata]]",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "cdata",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 1,
+ "props": Array [],
"tag": "svg",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "οΏ½",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "\ 3",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "\7f",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 34,
+ "line": 1,
+ "offset": 33,
+ },
+ "source": "<div id=\\"\\" id=\\"\\"></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 34,
- "line": 1,
- "offset": 33,
- },
- "source": "<div id=\\"\\" id=\\"\\"></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "<",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "</",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 1,
+ "props": Array [],
"tag": "svg",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "cdata",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 1,
+ "props": Array [],
"tag": "svg",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "-",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "comment",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "abc",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "<!--console.log('hello')",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "script",
"tagType": 0,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "console.log('hello')",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "script",
"tagType": 0,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 19,
+ "line": 1,
+ "offset": 18,
+ },
+ "source": "<div id ",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
"value": undefined,
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 19,
- "line": 1,
- "offset": 18,
- },
- "source": "<div id ",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 20,
+ "line": 1,
+ "offset": 19,
+ },
+ "source": "<div id =",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
"value": undefined,
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 20,
- "line": 1,
- "offset": 19,
- },
- "source": "<div id =",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 18,
+ "line": 1,
+ "offset": 17,
+ },
+ "source": "<div id",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
"value": undefined,
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 18,
- "line": 1,
- "offset": 17,
- },
- "source": "<div id",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 23,
+ "line": 1,
+ "offset": 22,
+ },
+ "source": "<div id=\\"abc",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 23,
- "line": 1,
- "offset": 22,
- },
- "source": "<div id=\\"abc",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 24,
+ "line": 1,
+ "offset": 23,
+ },
+ "source": "<div id=\\"abc\\"",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 24,
- "line": 1,
- "offset": 23,
- },
- "source": "<div id=\\"abc\\"",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 25,
+ "line": 1,
+ "offset": 24,
+ },
+ "source": "<div id=\\"abc\\"/",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 25,
- "line": 1,
- "offset": 24,
- },
- "source": "<div id=\\"abc\\"/",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 23,
+ "line": 1,
+ "offset": 22,
+ },
+ "source": "<div id='abc",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 23,
- "line": 1,
- "offset": 22,
- },
- "source": "<div id='abc",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 24,
+ "line": 1,
+ "offset": 23,
+ },
+ "source": "<div id='abc'",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 24,
- "line": 1,
- "offset": 23,
- },
- "source": "<div id='abc'",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 25,
+ "line": 1,
+ "offset": 24,
+ },
+ "source": "<div id='abc'/",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 25,
- "line": 1,
- "offset": 24,
- },
- "source": "<div id='abc'/",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 24,
+ "line": 1,
+ "offset": 23,
+ },
+ "source": "<div id=abc /",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 24,
- "line": 1,
- "offset": 23,
- },
- "source": "<div id=abc /",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 22,
+ "line": 1,
+ "offset": 21,
+ },
+ "source": "<div id=abc",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 22,
- "line": 1,
- "offset": 21,
- },
- "source": "<div id=abc",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "comment",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "-",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "ELEMENT br EMPTY",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "οΏ½",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "<οΏ½>",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "a < b",
"type": 4,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "a < b",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "a ",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 28,
+ "line": 1,
+ "offset": 27,
+ },
+ "source": "<div id= /></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 28,
- "line": 1,
- "offset": 27,
- },
- "source": "<div id= /></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 27,
+ "line": 1,
+ "offset": 26,
+ },
+ "source": "<div id= ></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
"value": undefined,
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 27,
- "line": 1,
- "offset": 26,
- },
- "source": "<div id= ></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 26,
+ "line": 1,
+ "offset": 25,
+ },
+ "source": "<div id=></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
"value": undefined,
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 26,
- "line": 1,
- "offset": 25,
- },
- "source": "<div id=></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "(",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "@",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "&",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 19,
+ "line": 2,
+ "offset": 43,
+ },
+ "source": "<div id=\\"foo\\"
+class=\\"bar\\"></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 19,
- "line": 2,
- "offset": 43,
- },
- "source": "<div id=\\"foo\\"
-class=\\"bar\\"></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 42,
+ "line": 1,
+ "offset": 41,
+ },
+ "source": "<div id=\\"foo\\"class=\\"bar\\"></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 42,
- "line": 1,
- "offset": 41,
- },
- "source": "<div id=\\"foo\\"class=\\"bar\\"></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "a<!--",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "a<!",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "a<!--b<!--c",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "a<!--b",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "πΏΏ",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "οΏΎ",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "οΏ½",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "οΏ½",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 30,
+ "line": 1,
+ "offset": 29,
+ },
+ "source": "<div a\\"bc=''></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 30,
- "line": 1,
- "offset": 29,
- },
- "source": "<div a\\"bc=''></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 30,
+ "line": 1,
+ "offset": 29,
+ },
+ "source": "<div a'bc=''></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 30,
- "line": 1,
- "offset": 29,
- },
- "source": "<div a'bc=''></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 30,
+ "line": 1,
+ "offset": 29,
+ },
+ "source": "<div a<bc=''></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 30,
- "line": 1,
- "offset": 29,
- },
- "source": "<div a<bc=''></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 31,
+ "line": 1,
+ "offset": 30,
+ },
+ "source": "<div foo=bar\\"></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 31,
- "line": 1,
- "offset": 30,
- },
- "source": "<div foo=bar\\"></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 31,
+ "line": 1,
+ "offset": 30,
+ },
+ "source": "<div foo=bar'></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 31,
- "line": 1,
- "offset": 30,
- },
- "source": "<div foo=bar'></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 34,
+ "line": 1,
+ "offset": 33,
+ },
+ "source": "<div foo=bar<div></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 34,
- "line": 1,
- "offset": 33,
- },
- "source": "<div foo=bar<div></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 34,
+ "line": 1,
+ "offset": 33,
+ },
+ "source": "<div foo=bar=baz></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
"source": "bar=baz",
"start": Object {
- "column": 20,
- "line": 1,
- "offset": 19,
- },
- },
- "type": 2,
- },
- },
- ],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 34,
- "line": 1,
- "offset": 33,
- },
- "source": "<div foo=bar=baz></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
+ "column": 20,
+ "line": 1,
+ "offset": 19,
+ },
+ },
+ "type": 2,
+ },
},
- },
- "ns": 0,
+ ],
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 31,
+ "line": 1,
+ "offset": 30,
+ },
+ "source": "<div foo=bar\`></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 31,
- "line": 1,
- "offset": 30,
- },
- "source": "<div foo=bar\`></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 24,
+ "line": 1,
+ "offset": 23,
+ },
+ "source": "<div =></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
"value": undefined,
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 24,
- "line": 1,
- "offset": 23,
- },
- "source": "<div =></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 31,
+ "line": 1,
+ "offset": 30,
+ },
+ "source": "<div =foo=bar></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
},
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 31,
- "line": 1,
- "offset": 30,
- },
- "source": "<div =foo=bar></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "?xml?",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [
+ "children": Array [],
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 26,
+ "line": 1,
+ "offset": 25,
+ },
+ "source": "<div a/b></div>",
+ "start": Object {
+ "column": 11,
+ "line": 1,
+ "offset": 10,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"loc": Object {
"end": Object {
"value": undefined,
},
],
- "children": Array [],
- "directives": Array [],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 26,
- "line": 1,
- "offset": 25,
- },
- "source": "<div a/b></div>",
- "start": Object {
- "column": 11,
- "line": 1,
- "offset": 10,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "&unknown;",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "</div>",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 1,
+ "props": Array [],
"tag": "svg",
"tagType": 0,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "</div>",
"type": 3,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 1,
+ "props": Array [],
"tag": "svg",
"tagType": 0,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "'</div>'",
"type": 4,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
"content": "</div>",
"type": 2,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "textarea",
"tagType": 0,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "div",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "template",
"tagType": 3,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "span",
"tagType": 0,
"type": 1,
},
],
- "directives": Array [],
+ "codegenNode": undefined,
"isSelfClosing": false,
"loc": Object {
"end": Object {
},
},
"ns": 0,
+ "props": Array [],
"tag": "div",
"tagType": 0,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [
+ "codegenNode": undefined,
+ "isSelfClosing": true,
+ "loc": Object {
+ "end": Object {
+ "column": 37,
+ "line": 1,
+ "offset": 36,
+ },
+ "source": "<div :class=\\"{ some: condition }\\" />",
+ "start": Object {
+ "column": 1,
+ "line": 1,
+ "offset": 0,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"arg": Object {
"content": "class",
"type": 6,
},
],
+ "tag": "div",
+ "tagType": 0,
+ "type": 1,
+ },
+ Object {
+ "children": Array [],
+ "codegenNode": undefined,
"isSelfClosing": true,
"loc": Object {
"end": Object {
"column": 37,
- "line": 1,
- "offset": 36,
+ "line": 2,
+ "offset": 73,
},
- "source": "<div :class=\\"{ some: condition }\\" />",
+ "source": "<p v-bind:style=\\"{ color: 'red' }\\"/>",
"start": Object {
"column": 1,
- "line": 1,
- "offset": 0,
+ "line": 2,
+ "offset": 37,
},
},
"ns": 0,
- "tag": "div",
- "tagType": 0,
- "type": 1,
- },
- Object {
- "attrs": Array [],
- "children": Array [],
- "directives": Array [
+ "props": Array [
Object {
"arg": Object {
"content": "style",
"type": 6,
},
],
- "isSelfClosing": true,
- "loc": Object {
- "end": Object {
- "column": 37,
- "line": 2,
- "offset": 73,
- },
- "source": "<p v-bind:style=\\"{ color: 'red' }\\"/>",
- "start": Object {
- "column": 1,
- "line": 2,
- "offset": 37,
- },
- },
- "ns": 0,
"tag": "p",
"tagType": 0,
"type": 1,
Object {
"children": Array [
Object {
- "attrs": Array [],
"children": Array [
Object {
- "attrs": Array [],
"children": Array [],
- "directives": Array [
+ "codegenNode": undefined,
+ "isSelfClosing": true,
+ "loc": Object {
+ "end": Object {
+ "column": 38,
+ "line": 2,
+ "offset": 73,
+ },
+ "source": "<p v-bind:style=\\"{ color: 'red' }\\"/>",
+ "start": Object {
+ "column": 2,
+ "line": 2,
+ "offset": 37,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"arg": Object {
"content": "style",
"type": 6,
},
],
- "isSelfClosing": true,
- "loc": Object {
- "end": Object {
- "column": 38,
- "line": 2,
- "offset": 73,
- },
- "source": "<p v-bind:style=\\"{ color: 'red' }\\"/>",
- "start": Object {
- "column": 2,
- "line": 2,
- "offset": 37,
- },
- },
- "ns": 0,
"tag": "p",
"tagType": 0,
"type": 1,
"type": 3,
},
],
- "directives": Array [
+ "codegenNode": undefined,
+ "isSelfClosing": false,
+ "loc": Object {
+ "end": Object {
+ "column": 7,
+ "line": 4,
+ "offset": 123,
+ },
+ "source": "<div :class=\\"{ some: condition }\\">
+ <p v-bind:style=\\"{ color: 'red' }\\"/>
+ <!-- a comment with <html> inside it -->
+</div>",
+ "start": Object {
+ "column": 1,
+ "line": 1,
+ "offset": 0,
+ },
+ },
+ "ns": 0,
+ "props": Array [
Object {
"arg": Object {
"content": "class",
"type": 6,
},
],
- "isSelfClosing": false,
- "loc": Object {
- "end": Object {
- "column": 7,
- "line": 4,
- "offset": 123,
- },
- "source": "<div :class=\\"{ some: condition }\\">
- <p v-bind:style=\\"{ color: 'red' }\\"/>
- <!-- a comment with <html> inside it -->
-</div>",
- "start": Object {
- "column": 1,
- "line": 1,
- "offset": 0,
- },
- },
- "ns": 0,
"tag": "div",
"tagType": 0,
"type": 1,
}
)
const element = ast.children[0] as ElementNode
- const text1 = (element.attrs[0] as AttributeNode).value
- const text2 = (element.attrs[1] as AttributeNode).value
- const text3 = (element.attrs[2] as AttributeNode).value
+ const text1 = (element.props[0] as AttributeNode).value
+ const text2 = (element.props[1] as AttributeNode).value
+ const text3 = (element.props[2] as AttributeNode).value
expect(text1).toStrictEqual({
type: NodeTypes.TEXT,
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [],
- directives: [],
+ codegenNode: undefined,
+ props: [],
isSelfClosing: false,
children: [
{
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [],
- directives: [],
+ codegenNode: undefined,
+ props: [],
+
isSelfClosing: false,
children: [],
loc: {
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [],
- directives: [],
+ codegenNode: undefined,
+ props: [],
+
isSelfClosing: true,
children: [],
loc: {
ns: Namespaces.HTML,
tag: 'img',
tagType: ElementTypes.ELEMENT,
- attrs: [],
- directives: [],
+ codegenNode: undefined,
+ props: [],
+
isSelfClosing: false,
children: [],
loc: {
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [
+ codegenNode: undefined,
+ props: [
{
type: NodeTypes.ATTRIBUTE,
name: 'id',
}
}
],
- directives: [],
+
isSelfClosing: false,
children: [],
loc: {
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [
+ codegenNode: undefined,
+ props: [
{
type: NodeTypes.ATTRIBUTE,
name: 'id',
}
}
],
- directives: [],
+
isSelfClosing: false,
children: [],
loc: {
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [
+ codegenNode: undefined,
+ props: [
{
type: NodeTypes.ATTRIBUTE,
name: 'id',
}
}
],
- directives: [],
+
isSelfClosing: false,
children: [],
loc: {
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [
+ codegenNode: undefined,
+ props: [
{
type: NodeTypes.ATTRIBUTE,
name: 'id',
}
}
],
- directives: [],
+
isSelfClosing: false,
children: [],
loc: {
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [
+ codegenNode: undefined,
+ props: [
{
type: NodeTypes.ATTRIBUTE,
name: 'id',
}
}
],
- directives: [],
+
isSelfClosing: false,
children: [],
loc: {
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [
+ codegenNode: undefined,
+ props: [
{
type: NodeTypes.ATTRIBUTE,
name: 'id',
}
}
],
- directives: [],
+
isSelfClosing: false,
children: [],
loc: {
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
- attrs: [
+ codegenNode: undefined,
+ props: [
{
type: NodeTypes.ATTRIBUTE,
name: 'id',
}
}
],
- directives: [],
+
isSelfClosing: false,
children: [],
loc: {
test('directive with no value', () => {
const ast = parse('<div v-if/>')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,
test('directive with value', () => {
const ast = parse('<div v-if="a"/>')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,
test('directive with argument', () => {
const ast = parse('<div v-on:click/>')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,
test('directive with a modifier', () => {
const ast = parse('<div v-on.enter/>')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,
test('directive with two modifiers', () => {
const ast = parse('<div v-on.enter.exact/>')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,
test('directive with argument and modifiers', () => {
const ast = parse('<div v-on:click.enter.exact/>')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,
test('v-bind shorthand', () => {
const ast = parse('<div :a=b />')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,
test('v-bind shorthand with modifier', () => {
const ast = parse('<div :a.sync=b />')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,
test('v-on shorthand', () => {
const ast = parse('<div @a=b />')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,
test('v-on shorthand with modifier', () => {
const ast = parse('<div @a.enter=b />')
- const directive = (ast.children[0] as ElementNode).directives[0]
+ const directive = (ast.children[0] as ElementNode).props[0]
expect(directive).toStrictEqual({
type: NodeTypes.DIRECTIVE,