swc/crates/swc_html_parser/tests/fixture/attribute-without-quotes/span.rust-debug
2022-04-06 05:31:27 +00:00

192 lines
5.9 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 { name: Some(Atom('html' type=inline)), force_quirks: false, public_id: None, system_id: None }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:1:1]
1 | <!DOCTYPE html>
: ^^^^^^^^^^^^^^^
`----
x Character { value: '\n' }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:1:1]
1 | <!DOCTYPE html>
: ^
2 | <html>
`----
x StartTag { tag_name: Atom('html' type=inline), self_closing: false, attributes: [] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:2:1]
2 | <html>
: ^^^^^^
`----
x Character { value: '\n' }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:2:1]
2 | <html>
: ^
3 | <body>
`----
x StartTag { tag_name: Atom('body' type=inline), self_closing: false, attributes: [] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:3:1]
3 | <body>
: ^^^^^^
`----
x Character { value: '\n' }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:3:1]
3 | <body>
: ^
`----
x Character { value: '\n' }
,-[$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), self_closing: false, attributes: [Attribute { name: Atom('href' type=inline), 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' }
,-[$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' }
,-[$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' }
,-[$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' }
,-[$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: ' ' }
,-[$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' }
,-[$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' }
,-[$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: ' ' }
,-[$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' }
,-[$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: ' ' }
,-[$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' }
,-[$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' }
,-[$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' }
,-[$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' }
,-[$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), 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' }
,-[$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' }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:6:1]
6 |
: ^
7 | </body>
`----
x EndTag { tag_name: Atom('body' type=inline), self_closing: false, attributes: [] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:7:1]
7 | </body>
: ^^^^^^^
`----
x Character { value: '\n' }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:7:1]
7 | </body>
: ^
8 | </html>
`----
x EndTag { tag_name: Atom('html' type=inline), self_closing: false, attributes: [] }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:8:1]
8 | </html>
: ^^^^^^^
`----
x Character { value: '\n' }
,-[$DIR/tests/fixture/attribute-without-quotes/input.html:8:1]
8 | </html>
: ^
`----