mirror of https://git.sr.ht/~garritfra/sabre
Garrit Franke
3 years ago
4 changed files with 4 additions and 25 deletions
@ -1,20 +0,0 @@
|
||||
use std::collections::HashMap; |
||||
use crate::parser::node_type::Function; |
||||
use crate::parser::node_type::Type; |
||||
|
||||
pub struct Table { |
||||
types: Vec<Type>, |
||||
functions: HashMap<String, Function>, |
||||
modules: Vec<String>, |
||||
} |
||||
|
||||
impl Table { |
||||
pub(crate) fn new() -> Self { |
||||
Self { |
||||
types: Vec::new(), |
||||
functions: HashMap::new(), |
||||
modules: Vec::new() |
||||
} |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue