renamed to iterator
This commit is contained in:
parent
d6f0fc0fda
commit
f62a057bdc
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,4 +14,5 @@ target/
|
||||
test.lox
|
||||
other.lox
|
||||
|
||||
.idea/
|
||||
**/*.xml
|
||||
|
||||
@ -21,4 +21,4 @@ edition = "2021"
|
||||
[dependencies]
|
||||
anyhow = "1.0.68" # error handling
|
||||
bytes = "1.3.0" # helps manage buffers
|
||||
thiserror = "1.0.38" # error handling
|
||||
thiserror = "1.0.38" # error handlinga
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
pub mod parser;
|
||||
pub mod tester;
|
||||
pub mod token_iterator;
|
||||
|
||||
@ -8,7 +8,7 @@ use crate::{
|
||||
},
|
||||
};
|
||||
|
||||
use super::tester::TokenIterator;
|
||||
use super::token_iterator::TokenIterator;
|
||||
|
||||
pub struct Parser<'a> {
|
||||
iter: Rc<RefCell<TokenIterator<'a>>>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user