-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change introduces a `token::walk` module and refactors token iteration. `Walk` is no longer exported and instead filtered iterators are exposed via module functions (to avoid combining such adapters or mutating and then adapting iterators). `Walk` is now a `HierarchicalIterator` and supports filter composition. To support this, the `walk::filter` module has been moved to the crate root and is no longer feature gated.
- Loading branch information
1 parent
c140681
commit 3c95ff0
Showing
8 changed files
with
368 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ | |
mod capture; | ||
mod diagnostics; | ||
mod encode; | ||
mod filter; | ||
mod rule; | ||
mod token; | ||
pub mod walk; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.