tamer: xir::{tree::=>}attr: Move
With the introduction of XIRF, attribute parsing is no longer a XIRT thing. DEV-10863main
parent
7b6d68af85
commit
6b8f0663ea
|
@ -69,6 +69,7 @@ pub use error::Error;
|
|||
mod escape;
|
||||
pub use escape::{DefaultEscaper, Escaper};
|
||||
|
||||
pub mod attr;
|
||||
pub mod flat;
|
||||
pub mod iter;
|
||||
pub mod parse;
|
||||
|
|
|
@ -37,14 +37,11 @@
|
|||
//! of the caller.
|
||||
|
||||
use super::{
|
||||
attr::{Attr, AttrParseError, AttrParseState},
|
||||
parse::{
|
||||
ParseState, ParseStateResult, ParseStatus, ParsedResult,
|
||||
TransitionResult,
|
||||
},
|
||||
tree::{
|
||||
attr::{AttrParseError, AttrParseState},
|
||||
Attr,
|
||||
},
|
||||
QName, Token, TokenStream, Whitespace,
|
||||
};
|
||||
use crate::{span::Span, sym::SymbolId, xir::parse::Transition};
|
||||
|
|
|
@ -173,13 +173,9 @@
|
|||
//!
|
||||
//! [state machine]: https://en.wikipedia.org/wiki/Finite-state_machine
|
||||
|
||||
pub mod attr;
|
||||
|
||||
use self::{
|
||||
super::parse::{
|
||||
ParseError, ParseResult, ParseState, ParseStatus, ParsedResult,
|
||||
},
|
||||
attr::{AttrParseError, AttrParseState},
|
||||
use self::super::{
|
||||
attr::{Attr, AttrList, AttrParseError, AttrParseState},
|
||||
parse::{ParseError, ParseResult, ParseState, ParseStatus, ParsedResult},
|
||||
};
|
||||
|
||||
use super::{
|
||||
|
@ -188,8 +184,6 @@ use super::{
|
|||
use crate::{span::Span, sym::SymbolId, xir::parse::Transition};
|
||||
use std::{error::Error, fmt::Display, result};
|
||||
|
||||
pub use attr::{Attr, AttrList};
|
||||
|
||||
type Parsed = super::parse::Parsed<Tree>;
|
||||
|
||||
/// A XIR tree (XIRT).
|
||||
|
|
Loading…
Reference in New Issue