Going to attempt the tree one more time.
This commit is contained in:
parent
2bb6f50cba
commit
f93f1c5950
@ -1,3 +1,4 @@
|
||||
mod new_context;
|
||||
mod nom_context;
|
||||
mod parser_with_context;
|
||||
mod text;
|
||||
|
10
src/parser/new_context.rs
Normal file
10
src/parser/new_context.rs
Normal file
@ -0,0 +1,10 @@
|
||||
// fn test_context() {
|
||||
// let foo = "foo";
|
||||
// let context = ContextTree::new();
|
||||
// let child1_context = PreviousElementNode { dummy: foo };
|
||||
// let child1 = context.with_additional_node(&child1_context);
|
||||
// let child2_context = FailMatcherNode {
|
||||
// fail_matcher: ChainBehavior::AndParent(Some(&recognize_bold_end)),
|
||||
// };
|
||||
// let child2 = child1.with_additional_node(&child2_context);
|
||||
// }
|
Loading…
x
Reference in New Issue
Block a user