swc/crates/swc_html_parser/tests/recovery/element/plaintext/span.rust-debug

460 lines
12 KiB
Plaintext
Raw Normal View History

x Document
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:1:1]
1 | ,-> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 | | "http://www.w3.org/TR/html4/strict.dtd">
3 | | <html>
4 | | <head>
5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 | | <title>Тег PLAINTEXT</title>
7 | | </head>
8 | | <body>
9 | | <p>Пример программы</p>
10 | | <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:1:1]
1 | ,-> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 | `-> "http://www.w3.org/TR/html4/strict.dtd">
`----
x DocumentType
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:1:1]
1 | ,-> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 | `-> "http://www.w3.org/TR/html4/strict.dtd">
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:3:1]
3 | ,-> <html>
4 | | <head>
5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 | | <title>Тег PLAINTEXT</title>
7 | | </head>
8 | | <body>
9 | | <p>Пример программы</p>
10 | | <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----
x Element
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:3:1]
3 | ,-> <html>
4 | | <head>
5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 | | <title>Тег PLAINTEXT</title>
7 | | </head>
8 | | <body>
9 | | <p>Пример программы</p>
10 | | <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:4:1]
4 | ,-> <head>
5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 | | <title>Тег PLAINTEXT</title>
7 | `-> </head>
`----
x Element
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:4:1]
4 | ,-> <head>
5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 | | <title>Тег PLAINTEXT</title>
7 | `-> </head>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:4:1]
4 | ,-> <head>
5 | `-> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:4:1]
4 | ,-> <head>
5 | `-> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:5:5]
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:5:5]
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Attribute
,-[$DIR/tests/recovery/element/plaintext/input.html:5:5]
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Attribute
,-[$DIR/tests/recovery/element/plaintext/input.html:5:5]
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:5:5]
5 | ,-> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 | `-> <title>Тег PLAINTEXT</title>
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:5:5]
5 | ,-> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 | `-> <title>Тег PLAINTEXT</title>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | <title>Тег PLAINTEXT</title>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | <title>Тег PLAINTEXT</title>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | <title>Тег PLAINTEXT</title>
: ^^^^^^^^^^^^^^^^
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | <title>Тег PLAINTEXT</title>
: ^^^^^^^^^^^^^^^^
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | <title>Тег PLAINTEXT</title>
: ^
7 | </head>
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:6:5]
6 | <title>Тег PLAINTEXT</title>
: ^
7 | </head>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:7:1]
7 | </head>
: ^
8 | <body>
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:7:1]
7 | </head>
: ^
8 | <body>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:8:1]
8 | ,-> <body>
9 | | <p>Пример программы</p>
10 | | <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----
x Element
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:8:1]
8 | ,-> <body>
9 | | <p>Пример программы</p>
10 | | <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:8:1]
8 | <body>
: ^
9 | <p>Пример программы</p>
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:8:1]
8 | <body>
: ^
9 | <p>Пример программы</p>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:9:1]
9 | <p>Пример программы</p>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:9:1]
9 | <p>Пример программы</p>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:9:1]
9 | <p>Пример программы</p>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:9:1]
9 | <p>Пример программы</p>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:9:1]
9 | <p>Пример программы</p>
: ^
10 | <plaintext>
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:9:1]
9 | <p>Пример программы</p>
: ^
10 | <plaintext>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:10:1]
10 | ,-> <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----
x Element
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:10:1]
10 | ,-> <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:10:1]
10 | ,-> <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/recovery/element/plaintext/input.html:10:1]
10 | ,-> <plaintext>
11 | | <h1>Демонстрация метода Подборского</h1>
12 | | while (<>) {
13 | | $org=$_;
14 | | s/\\["']//g;
15 | | s/\/\/[^:].*//;
16 | | s/\/\*.*\*\///g;
17 | | if ($comment == 1) {
18 | | if (s/.*\*\///) {
19 | | $comment = 0;
20 | | }
21 | | else {
22 | | next;
23 | | }
24 | | }
25 | | if (s/\/\*.*//) {
26 | | $comment = 1;
27 | | }
28 | | if (/^\s*#/) {
29 | | next;
30 | | }
31 | | }</plaintext>
32 | | </body>
33 | `-> </html>
`----