swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests2_dat.46.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

131 lines
4.4 KiB
Plaintext

x Document
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | ,-> <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
2 | `-> x { content:"</style" } </style>
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^^^^^^^^^^
2 | x { content:"</style" } </style>
`----
x DocumentType
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^^^^^^^^^^
2 | x { content:"</style" } </style>
`----
x Child
x Element
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | ,-> <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
2 | `-> x { content:"</style" } </style>
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | ,-> <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
2 | `-> x { content:"</style" } </style>
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^^^^^^^^^^^
2 | x { content:"</style" } </style>
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^^^^^^^^^^^
2 | x { content:"</style" } </style>
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^
2 | x { content:"</style" } </style>
`----
x Text
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^
2 | x { content:"</style" } </style>
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^^^^^^^^
2 | x { content:"</style" } </style>
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^^^^^^^^
2 | x { content:"</style" } </style>
`----
x Attribute
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^
2 | x { content:"</style" } </style>
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^^^^^^^^^
2 | x { content:"</style" } </style>
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^^^^^^^^^
2 | x { content:"</style" } </style>
`----
x Attribute
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
: ^^^^^^^
2 | x { content:"</style" } </style>
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | ,-> <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
2 | `-> x { content:"</style" } </style>
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | ,-> <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
2 | `-> x { content:"</style" } </style>
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | ,-> <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
2 | `-> x { content:"</style" } </style>
`----
x Text
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat.46.html:1:1]
1 | ,-> <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
2 | `-> x { content:"</style" } </style>
`----