Factors out DOM traversal, keeping the code in parallel free of traversal-specific logic.

DOM traversals and Flow traversals look very similar. This patch unifies them
with the preorder/postorder pattern. Hopefully, it also opens the door for writing
the traversal code only once, instead of the duplication we have today.
This commit is contained in:
Clark Gaebel 2014-10-10 14:27:38 -04:00
parent bfb81a5d10
commit 24bff2416b
5 changed files with 501 additions and 403 deletions

View file

@ -62,6 +62,7 @@ pub mod table_rowgroup;
pub mod table_row;
pub mod table_cell;
pub mod text;
pub mod traversal;
pub mod util;
pub mod incremental;
pub mod wrapper;