-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
202 additions
and
163 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,11 +1,11 @@ | ||
//! This package is mainly the implementation of the KCL query tool, mainly including | ||
//! KCL code modification `override` and other implementations. We can call the `override_file` | ||
//! function to modify the file. The main principle is to parse the AST according to the | ||
//! input file name, and according to the ast: :OverrideSpec transforms the nodes in the | ||
//! This package is mainly the implementation of the KCL query tool, mainly including | ||
//! KCL code modification `override` and other implementations. We can call the `override_file` | ||
//! function to modify the file. The main principle is to parse the AST according to the | ||
//! input file name, and according to the ast::OverrideSpec transforms the nodes in the | ||
//! AST, recursively modifying or deleting the values of the nodes in the AST. | ||
pub mod r#override; | ||
|
||
#[cfg(test)] | ||
mod tests; | ||
|
||
pub use r#override::{apply_overrides, override_file, spec_str_to_override}; | ||
pub use r#override::{apply_overrides, override_file, parse_override_spec, split_field_path}; |
Oops, something went wrong.