mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
173 lines
3.3 KiB
Plaintext
173 lines
3.3 KiB
Plaintext
|
|
x Document
|
|
,-[$DIR/tests/fixture/document/input.html:1:1]
|
|
1 | ,-> <!DOCTYPE html>
|
|
2 | | <html>
|
|
3 | | <body>
|
|
4 | |
|
|
5 | | <h1>My First Heading</h1>
|
|
6 | |
|
|
7 | | <p>My first paragraph.</p>
|
|
8 | |
|
|
9 | | </body>
|
|
10 | `-> </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:1:1]
|
|
1 | <!DOCTYPE html>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DocumentType
|
|
,-[$DIR/tests/fixture/document/input.html:1:1]
|
|
1 | <!DOCTYPE html>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:2:1]
|
|
2 | ,-> <html>
|
|
3 | | <body>
|
|
4 | |
|
|
5 | | <h1>My First Heading</h1>
|
|
6 | |
|
|
7 | | <p>My first paragraph.</p>
|
|
8 | |
|
|
9 | | </body>
|
|
10 | `-> </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/document/input.html:2:1]
|
|
2 | ,-> <html>
|
|
3 | | <body>
|
|
4 | |
|
|
5 | | <h1>My First Heading</h1>
|
|
6 | |
|
|
7 | | <p>My first paragraph.</p>
|
|
8 | |
|
|
9 | | </body>
|
|
10 | `-> </html>
|
|
`----
|
|
|
|
x Child
|
|
|
|
x Element
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:3:1]
|
|
3 | ,-> <body>
|
|
4 | |
|
|
5 | | <h1>My First Heading</h1>
|
|
6 | |
|
|
7 | | <p>My first paragraph.</p>
|
|
8 | |
|
|
9 | | </body>
|
|
10 | `-> </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/document/input.html:3:1]
|
|
3 | ,-> <body>
|
|
4 | |
|
|
5 | | <h1>My First Heading</h1>
|
|
6 | |
|
|
7 | | <p>My first paragraph.</p>
|
|
8 | |
|
|
9 | | </body>
|
|
10 | `-> </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:3:1]
|
|
3 | ,-> <body>
|
|
4 | `->
|
|
5 | <h1>My First Heading</h1>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/document/input.html:3:1]
|
|
3 | ,-> <body>
|
|
4 | `->
|
|
5 | <h1>My First Heading</h1>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:5:1]
|
|
5 | <h1>My First Heading</h1>
|
|
: ^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/document/input.html:5:1]
|
|
5 | <h1>My First Heading</h1>
|
|
: ^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:5:1]
|
|
5 | <h1>My First Heading</h1>
|
|
: ^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/document/input.html:5:1]
|
|
5 | <h1>My First Heading</h1>
|
|
: ^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:5:1]
|
|
5 | ,-> <h1>My First Heading</h1>
|
|
6 | `->
|
|
7 | <p>My first paragraph.</p>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/document/input.html:5:1]
|
|
5 | ,-> <h1>My First Heading</h1>
|
|
6 | `->
|
|
7 | <p>My first paragraph.</p>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:7:1]
|
|
7 | <p>My first paragraph.</p>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/document/input.html:7:1]
|
|
7 | <p>My first paragraph.</p>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:7:1]
|
|
7 | <p>My first paragraph.</p>
|
|
: ^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/document/input.html:7:1]
|
|
7 | <p>My first paragraph.</p>
|
|
: ^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/document/input.html:7:1]
|
|
7 | ,-> <p>My first paragraph.</p>
|
|
8 | |
|
|
9 | | </body>
|
|
10 | `-> </html>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/document/input.html:7:1]
|
|
7 | ,-> <p>My first paragraph.</p>
|
|
8 | |
|
|
9 | | </body>
|
|
10 | `-> </html>
|
|
`----
|