swc/crates/swc_html_parser/tests/fixture/attribute-without-quotes/span.rust-debug
2022-04-08 09:19:58 +00:00

202 lines
7.3 KiB
Plaintext

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>
`----
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 }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:1:1]
1 | <!DOCTYPE html>
: ^^^^^^^^^^^^^^^
`----
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:1:1]
1 | <!DOCTYPE html>
: ^
2 | <html>
`----
x StartTag { tag_name: Atom('html' type=inline), raw_tag_name: Some(Atom('html' type=inline)), self_closing: false, attributes: [] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:2:1]
2 | <html>
: ^^^^^^
`----
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:2:1]
2 | <html>
: ^
3 | <body>
`----
x StartTag { tag_name: Atom('body' type=inline), raw_tag_name: Some(Atom('body' type=inline)), self_closing: false, attributes: [] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:3:1]
3 | <body>
: ^^^^^^
`----
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:3:1]
3 | <body>
: ^
`----
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:4:1]
4 |
: ^
5 | <a href=https://www.w3schools.com>This is a link</a>
`----
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)) }] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Character { value: 'T', raw: Some(Atom('T' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 'h', raw: Some(Atom('h' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 'i', raw: Some(Atom('i' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 's', raw: Some(Atom('s' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: ' ', raw: Some(Atom(' ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 'i', raw: Some(Atom('i' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 's', raw: Some(Atom('s' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: ' ', raw: Some(Atom(' ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 'a', raw: Some(Atom('a' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: ' ', raw: Some(Atom(' ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 'l', raw: Some(Atom('l' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 'i', raw: Some(Atom('i' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 'n', raw: Some(Atom('n' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: 'k', raw: Some(Atom('k' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x EndTag { tag_name: Atom('a' type=inline), raw_tag_name: Some(Atom('a' type=inline)), self_closing: false, attributes: [] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^^^^
`----
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:5:1]
5 | <a href=https://www.w3schools.com>This is a link</a>
: ^
`----
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:6:1]
6 |
: ^
7 | </body>
`----
x EndTag { tag_name: Atom('body' type=inline), raw_tag_name: Some(Atom('body' type=inline)), self_closing: false, attributes: [] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:7:1]
7 | </body>
: ^^^^^^^
`----
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:7:1]
7 | </body>
: ^
8 | </html>
`----
x EndTag { tag_name: Atom('html' type=inline), raw_tag_name: Some(Atom('html' type=inline)), self_closing: false, attributes: [] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:8:1]
8 | </html>
: ^^^^^^^
`----
x Character { value: '\n', raw: Some(Atom('
| ' type=inline)) }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:8:1]
8 | </html>
: ^
`----