You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor parser.rs so it uses RootState::parse; remove module cache logic from shared.rs. (#169)
* Copy more parser.rs logic to shared.rs - cleaning up and properly renaming by the way.
* Move code in shared.rs
* Factor out parser\anystate.rs from parser\shared.rs
* Replace AnyResultWithImportPath with a pair tuple - that allowed to shorten any_states.rs by 33 lines.
* Replace JsonStateWithImportPath with a pair tuple, shaving off few lines of code from shared.rs.
* Factor const_state.rs, json_state.rs, root_state.rs out of shared.rs.
* Correct comments for result pairs in two places (any_state.rs, root_state.rs)
* cargo fmt
* Push module cache processing from shared.rs to parser.rs; use root_state.parse in root_state_parse.
---------
Co-authored-by: Sasha Gil <alexgil@microsoft.com>
0 commit comments