forked from NomicFoundation/slang
-
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.
Extracted generic StackGraph builder code into metaslang_graph_builder
- Loading branch information
Showing
26 changed files
with
95 additions
and
2,584 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 +1,11 @@ | ||
pub mod stack_graph; | ||
pub mod stack_graph { | ||
use metaslang_graph_builder::stack_graph; | ||
pub use metaslang_graph_builder::stack_graph::{ | ||
BuildError, NoCancellation, FILE_PATH_VAR, ROOT_PATH_VAR, | ||
}; | ||
|
||
use super::super::metaslang_cst::KindTypes; | ||
|
||
pub type Builder<'a> = stack_graph::Builder<'a, KindTypes>; | ||
pub type StackGraphLanguage = stack_graph::StackGraphLanguage<KindTypes>; | ||
} |
Oops, something went wrong.