mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
353 lines
8.4 KiB
Plaintext
353 lines
8.4 KiB
Plaintext
|
|
x Document
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:1:1]
|
|
1 | ,-> <!doctype html>
|
|
2 | | <html lang="en">
|
|
3 | | <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6 | | <title>Document</title>
|
|
7 | | </head>
|
|
8 | | <body>
|
|
9 | | <div>
|
|
10 | | <?test>
|
|
11 | | <div ="test"></div>
|
|
12 | | </div>
|
|
13 | | </body>
|
|
14 | `-> </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:1:1]
|
|
1 | <!doctype html>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DocumentType
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:1:1]
|
|
1 | <!doctype html>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:2:1]
|
|
2 | ,-> <html lang="en">
|
|
3 | | <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6 | | <title>Document</title>
|
|
7 | | </head>
|
|
8 | | <body>
|
|
9 | | <div>
|
|
10 | | <?test>
|
|
11 | | <div ="test"></div>
|
|
12 | | </div>
|
|
13 | | </body>
|
|
14 | `-> </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:2:1]
|
|
2 | ,-> <html lang="en">
|
|
3 | | <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6 | | <title>Document</title>
|
|
7 | | </head>
|
|
8 | | <body>
|
|
9 | | <div>
|
|
10 | | <?test>
|
|
11 | | <div ="test"></div>
|
|
12 | | </div>
|
|
13 | | </body>
|
|
14 | `-> </html>
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:2:1]
|
|
2 | <html lang="en">
|
|
: ^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6 | | <title>Document</title>
|
|
7 | `-> </head>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6 | | <title>Document</title>
|
|
7 | `-> </head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | `-> <meta charset="UTF-8">
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | `-> <meta charset="UTF-8">
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:4:5]
|
|
4 | <meta charset="UTF-8">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:4:5]
|
|
4 | <meta charset="UTF-8">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:4:5]
|
|
4 | <meta charset="UTF-8">
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:4:5]
|
|
4 | ,-> <meta charset="UTF-8">
|
|
5 | `-> <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:4:5]
|
|
4 | ,-> <meta charset="UTF-8">
|
|
5 | `-> <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:5:5]
|
|
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:5:5]
|
|
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:5:5]
|
|
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:5:5]
|
|
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:5:5]
|
|
5 | ,-> <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6 | `-> <title>Document</title>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:5:5]
|
|
5 | ,-> <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6 | `-> <title>Document</title>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:6:5]
|
|
6 | <title>Document</title>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:6:5]
|
|
6 | <title>Document</title>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:6:5]
|
|
6 | <title>Document</title>
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:6:5]
|
|
6 | <title>Document</title>
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:6:5]
|
|
6 | <title>Document</title>
|
|
: ^
|
|
7 | </head>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:6:5]
|
|
6 | <title>Document</title>
|
|
: ^
|
|
7 | </head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:7:1]
|
|
7 | </head>
|
|
: ^
|
|
8 | <body>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:7:1]
|
|
7 | </head>
|
|
: ^
|
|
8 | <body>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:8:1]
|
|
8 | ,-> <body>
|
|
9 | | <div>
|
|
10 | | <?test>
|
|
11 | | <div ="test"></div>
|
|
12 | | </div>
|
|
13 | `-> </body>
|
|
14 | </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:8:1]
|
|
8 | ,-> <body>
|
|
9 | | <div>
|
|
10 | | <?test>
|
|
11 | | <div ="test"></div>
|
|
12 | | </div>
|
|
13 | `-> </body>
|
|
14 | </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:8:1]
|
|
8 | <body>
|
|
: ^
|
|
9 | <div>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:8:1]
|
|
8 | <body>
|
|
: ^
|
|
9 | <div>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:9:1]
|
|
9 | ,-> <div>
|
|
10 | | <?test>
|
|
11 | | <div ="test"></div>
|
|
12 | `-> </div>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:9:1]
|
|
9 | ,-> <div>
|
|
10 | | <?test>
|
|
11 | | <div ="test"></div>
|
|
12 | `-> </div>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:9:1]
|
|
9 | ,-> <div>
|
|
10 | `-> <?test>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:9:1]
|
|
9 | ,-> <div>
|
|
10 | `-> <?test>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:10:5]
|
|
10 | <?test>
|
|
: ^^^^^^^
|
|
`----
|
|
|
|
x Comment
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:10:5]
|
|
10 | <?test>
|
|
: ^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:10:5]
|
|
10 | ,-> <?test>
|
|
11 | `-> <div ="test"></div>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:10:5]
|
|
10 | ,-> <?test>
|
|
11 | `-> <div ="test"></div>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:11:5]
|
|
11 | <div ="test"></div>
|
|
: ^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:11:5]
|
|
11 | <div ="test"></div>
|
|
: ^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:11:5]
|
|
11 | <div ="test"></div>
|
|
: ^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:11:5]
|
|
11 | <div ="test"></div>
|
|
: ^
|
|
12 | </div>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:11:5]
|
|
11 | <div ="test"></div>
|
|
: ^
|
|
12 | </div>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:12:1]
|
|
12 | ,-> </div>
|
|
13 | `-> </body>
|
|
14 | </html>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/recovery/comment/question-mark/input.html:12:1]
|
|
12 | ,-> </div>
|
|
13 | `-> </body>
|
|
14 | </html>
|
|
`----
|