Remove type alias
This commit is contained in:
parent
b85725125c
commit
f885d5dfb6
@ -10,8 +10,6 @@ use ast::*;
|
|||||||
|
|
||||||
use builtin::{BinOp, PrefixOp};
|
use builtin::{BinOp, PrefixOp};
|
||||||
|
|
||||||
type TokenIter = Peekable<IntoIter<Token>>;
|
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct ParseError {
|
pub struct ParseError {
|
||||||
pub msg: String,
|
pub msg: String,
|
||||||
@ -37,7 +35,7 @@ pub struct ParseRecord {
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct Parser {
|
struct Parser {
|
||||||
tokens: TokenIter,
|
tokens: Peekable<IntoIter<Token>>,
|
||||||
parse_record: Vec<ParseRecord>,
|
parse_record: Vec<ParseRecord>,
|
||||||
parse_level: u32,
|
parse_level: u32,
|
||||||
restrictions: ParserRestrictions,
|
restrictions: ParserRestrictions,
|
||||||
|
Loading…
Reference in New Issue
Block a user