tab complete! yay!
Signed-off-by: Ava Hahn <ava@sunnypup.io>
This commit is contained in:
parent
c2cc8571bc
commit
1ef0a534db
2 changed files with 216 additions and 19 deletions
|
|
@ -96,6 +96,10 @@ impl SymTable {
|
|||
self.0.iter()
|
||||
}
|
||||
|
||||
pub fn keys(&self) -> std::collections::hash_map::Keys<String, Symbol> {
|
||||
self.0.keys()
|
||||
}
|
||||
|
||||
pub fn update(&mut self, other: &mut SymTable) {
|
||||
/* updates self with all syms in other that match the following cases:
|
||||
* * sym is not in self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue