swc/crates/swc_html_parser/tests/recovery/element/select-1/span.rust-debug
Donny/강동윤 b8fe04f720
feat(common): Add contexts to the error messages (#6526)
**Description:**

This PR makes the error reporter print contexts.

**Related issue:**

 - https://github.com/swc-project/swc/issues/6525.
2022-11-29 00:56:47 +09:00

159 lines
3.5 KiB
Plaintext

x Document
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | ,-> <select>
2 | | <option value="test">
3 | | 1
4 | | <option value="test-2">
5 | | 2
6 | | </option>
7 | | </option>
8 | `-> </select>
`----
x Child
x Element
x Child
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | ,-> <select>
2 | | <option value="test">
3 | | 1
4 | | <option value="test-2">
5 | | 2
6 | | </option>
7 | | </option>
8 | `-> </select>
`----
x Element
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | ,-> <select>
2 | | <option value="test">
3 | | 1
4 | | <option value="test-2">
5 | | 2
6 | | </option>
7 | | </option>
8 | `-> </select>
`----
x Child
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | ,-> <select>
2 | `-> <option value="test">
3 | 1
`----
x Text
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | ,-> <select>
2 | `-> <option value="test">
3 | 1
`----
x Child
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | <select>
2 | ,-> <option value="test">
3 | | 1
4 | `-> <option value="test-2">
5 | 2
`----
x Element
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | <select>
2 | ,-> <option value="test">
3 | | 1
4 | `-> <option value="test-2">
5 | 2
`----
x Attribute
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | <select>
2 | <option value="test">
: ^^^^^^^^^^^^
3 | 1
`----
x Child
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | <select>
2 | ,-> <option value="test">
3 | | 1
4 | `-> <option value="test-2">
5 | 2
`----
x Text
,-[$DIR/tests/recovery/element/select-1/input.html:1:1]
1 | <select>
2 | ,-> <option value="test">
3 | | 1
4 | `-> <option value="test-2">
5 | 2
`----
x Child
,-[$DIR/tests/recovery/element/select-1/input.html:3:1]
3 | 1
4 | ,-> <option value="test-2">
5 | | 2
6 | `-> </option>
7 | </option>
`----
x Element
,-[$DIR/tests/recovery/element/select-1/input.html:3:1]
3 | 1
4 | ,-> <option value="test-2">
5 | | 2
6 | `-> </option>
7 | </option>
`----
x Attribute
,-[$DIR/tests/recovery/element/select-1/input.html:3:1]
3 | 1
4 | <option value="test-2">
: ^^^^^^^^^^^^^^
5 | 2
`----
x Child
,-[$DIR/tests/recovery/element/select-1/input.html:3:1]
3 | 1
4 | ,-> <option value="test-2">
5 | | 2
6 | `-> </option>
7 | </option>
`----
x Text
,-[$DIR/tests/recovery/element/select-1/input.html:3:1]
3 | 1
4 | ,-> <option value="test-2">
5 | | 2
6 | `-> </option>
7 | </option>
`----
x Child
,-[$DIR/tests/recovery/element/select-1/input.html:5:1]
5 | 2
6 | ,-> </option>
7 | `-> </option>
8 | </select>
`----
x Text
,-[$DIR/tests/recovery/element/select-1/input.html:5:1]
5 | 2
6 | ,-> </option>
7 | `-> </option>
8 | </select>
`----