Small simple structure
This commit is contained in:
parent
ae779dab4e
commit
e14eb1b870
4 changed files with 36 additions and 0 deletions
16
src/formula/node/mod.rs
Normal file
16
src/formula/node/mod.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
use crate::formula::node::graph_constructor::GraphBuilder;
|
||||
|
||||
mod graph_constructor;
|
||||
|
||||
pub struct Node {
|
||||
children: Vec<Node>,
|
||||
}
|
||||
|
||||
impl Node {
|
||||
pub fn empty() -> Self {
|
||||
Node { children: vec![] }
|
||||
}
|
||||
pub fn build() -> GraphBuilder {
|
||||
GraphBuilder
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue