swc/crates/swc_html_parser/tests/fixture/attribute-without-quotes/span.rust-debug

202 lines
7.3 KiB
Plaintext
Raw Normal View History

2022-04-04 07:12:45 +03:00
x Document
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:1:1]
1 | ,-> <!DOCTYPE html>
2 | | <html>
3 | | <body>
4 | |
5 | | <a href=https://www.w3schools.com>This is a link</a>
6 | |
7 | | </body>
8 | `-> </html>
`----
2022-04-08 12:19:58 +03:00
x Doctype { raw_keyword: Some(Atom('DOCTYPE' type=inline)), name: Some(Atom('html' type=inline)), raw_name: Some(Atom('html' type=inline)), force_quirks: false, raw_public_keyword: None,
| public_quote: None, public_id: None, raw_system_keyword: None, system_quote: None, system_id: None }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:1:1]
1 | <!DOCTYPE html>
: ^^^^^^^^^^^^^^^
`----
2022-04-08 12:19:58 +03:00
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:1:1]
1 | <!DOCTYPE html>
: ^
2 | <html>
`----
2022-04-08 12:19:58 +03:00
x StartTag { tag_name: Atom('html' type=inline), raw_tag_name: Some(Atom('html' type=inline)), self_closing: false, attributes: [] }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:2:1]
2 | <html>
: ^^^^^^
`----
2022-04-08 12:19:58 +03:00
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:2:1]
2 | <html>
: ^
3 | <body>
`----
2022-04-08 12:19:58 +03:00
x StartTag { tag_name: Atom('body' type=inline), raw_tag_name: Some(Atom('body' type=inline)), self_closing: false, attributes: [] }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:3:1]
3 | <body>
: ^^^^^^
`----
2022-04-08 12:19:58 +03:00
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:3:1]
3 | <body>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:4:1]
4 |
: ^
5 | <a href=https://www.w3schools.com>This is a link</a>
`----
2022-04-08 12:19:58 +03:00
x StartTag { tag_name: Atom('a' type=inline), raw_tag_name: Some(Atom('a' type=inline)), self_closing: false, attributes: [Attribute { name: Atom('href' type=inline), raw_name: Some(Atom('href'
| type=inline)), value: Some(Atom('https://www.w3schools.com' type=dynamic)), raw_value: Some(Atom('https://www.w3schools.com' type=dynamic)) }] }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 'T', raw: Some(Atom('T' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 'h', raw: Some(Atom('h' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 'i', raw: Some(Atom('i' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 's', raw: Some(Atom('s' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: ' ', raw: Some(Atom(' ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 'i', raw: Some(Atom('i' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 's', raw: Some(Atom('s' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: ' ', raw: Some(Atom(' ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 'a', raw: Some(Atom('a' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: ' ', raw: Some(Atom(' ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 'l', raw: Some(Atom('l' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 'i', raw: Some(Atom('i' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 'n', raw: Some(Atom('n' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: 'k', raw: Some(Atom('k' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x EndTag { tag_name: Atom('a' type=inline), raw_tag_name: Some(Atom('a' type=inline)), self_closing: false, attributes: [] }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^^^^
`----
2022-04-08 12:19:58 +03:00
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
2022-04-08 12:19:58 +03:00
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:6:1]
6 |
: ^
7 | </body>
`----
2022-04-08 12:19:58 +03:00
x EndTag { tag_name: Atom('body' type=inline), raw_tag_name: Some(Atom('body' type=inline)), self_closing: false, attributes: [] }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:7:1]
7 | </body>
: ^^^^^^^
`----
2022-04-08 12:19:58 +03:00
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:7:1]
7 | </body>
: ^
8 | </html>
`----
2022-04-08 12:19:58 +03:00
x EndTag { tag_name: Atom('html' type=inline), raw_tag_name: Some(Atom('html' type=inline)), self_closing: false, attributes: [] }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:8:1]
8 | </html>
: ^^^^^^^
`----
2022-04-08 12:19:58 +03:00
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
2022-04-04 07:12:45 +03:00
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:8:1]
8 | </html>
: ^
`----