forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wip] feat(fmt): expressions (foundry-rs#1809)
* add an Operator trait for implementing Expression formatting * basic implementation of write operator expression * add grouping of expression parts by precedence
- Loading branch information
1 parent
90bf9fa
commit 5e6b685
Showing
7 changed files
with
434 additions
and
2 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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#[cfg(test)] | ||
mod ast_eq; | ||
mod loc; | ||
mod operator; | ||
mod optional_sort_key; | ||
|
||
#[cfg(test)] | ||
pub use ast_eq::*; | ||
pub use loc::*; | ||
pub use operator::*; | ||
pub use optional_sort_key::*; |
Oops, something went wrong.