tame/tamer/src/xir
Mike Gerwitz 4aaf91a9e7 tamer: xir::parse::ele: Un-nest child parser errors
This will utilize the superstate's error object in place of nested errors,
which was the result of the previous composition-based delegation.

As you can see, all we had to do was remove the special handling of these
errors; the existing delegation setup continues to handle the types properly
with no change.  The composition continues to work for `*Attr_`.

The alternative was to box inner errors, since they're far from the hot code
path, but that's clearly unnecessary.

To be clear: this is necessary to allow for recursive grammars in
`ele_parse` without creating recursive data structures in Rust.

DEV-7145
2022-08-10 11:46:54 -04:00
..
attr tamer: xir::attr::parse: Better parser state descriptions 2022-08-01 15:01:37 -04:00
flat tamer: xir::flat: Expose depth for all node-related tokens 2022-08-01 15:01:37 -04:00
parse tamer: xir::parse::ele: Un-nest child parser errors 2022-08-10 11:46:54 -04:00
reader tamer: span::dummy: New module to hold DUMMY_SPAN and derivatives 2022-08-01 15:01:37 -04:00
tree tamer: span::dummy: New module to hold DUMMY_SPAN and derivatives 2022-08-01 15:01:37 -04:00
attr.rs tamer: span::dummy: New module to hold DUMMY_SPAN and derivatives 2022-08-01 15:01:37 -04:00
error.rs Copyright year update 2022 2022-05-03 14:14:29 -04:00
escape.rs Copyright year update 2022 2022-05-03 14:14:29 -04:00
flat.rs tamer: parse::state::ParseState::Super: Superstate concept 2022-08-08 15:23:54 -04:00
fmt.rs tamer: xir: Format tokens without tt quotes 2022-08-01 15:01:37 -04:00
iter.rs tamer: span::dummy: New module to hold DUMMY_SPAN and derivatives 2022-08-01 15:01:37 -04:00
parse.rs tamer: xir::parse::ele: Transition trampoline 2022-08-10 11:46:45 -04:00
pred.rs Copyright year update 2022 2022-05-03 14:14:29 -04:00
reader.rs tamer: Xirf::Text refinement 2022-08-01 15:01:37 -04:00
st.rs tamer: xir::parse::ele: Initial element parser generator concept 2022-07-13 14:08:47 -04:00
tree.rs tamer: parse::state::ParseState::Super: Superstate concept 2022-08-08 15:23:54 -04:00
writer.rs tamer: span::dummy: New module to hold DUMMY_SPAN and derivatives 2022-08-01 15:01:37 -04:00