mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
183 lines
3.5 KiB
Plaintext
183 lines
3.5 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
|
|
,-[$DIR/tests/fixture/document/input.html:1:1]
|
|
1 | ,-> <!DOCTYPE html>
|
|
2 | | <html>
|
|
3 | `-> <body>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/document/input.html:1:1]
|
|
1 | ,-> <!DOCTYPE html>
|
|
2 | | <html>
|
|
3 | `-> <body>
|
|
`----
|
|
|
|
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>
|
|
`----
|