refactor(parser): Update for bytes->token mod rename

This commit is contained in:
Ed Page 2024-07-17 15:25:03 -05:00
parent ad5a9d9e0b
commit 8e87aa62a9
4 changed files with 4 additions and 4 deletions

View File

@ -4,11 +4,11 @@ use std::str;
use winnow::Parser;
use winnow::ascii::digit1;
use winnow::branch::alt;
use winnow::bytes::{one_of, tag, take_till0};
use winnow::combinator::{cut_err, fail, fold_repeat, not, opt, peek, repeat};
use winnow::error::{ErrorKind, ParserError as _};
use winnow::multi::{separated0, separated1};
use winnow::sequence::{preceded, terminated};
use winnow::token::{one_of, tag, take_till0};
use crate::{
CharLit, ErrorContext, Level, Num, ParseResult, PathOrIdentifier, StrLit, WithSpan, char_lit,

View File

@ -13,11 +13,11 @@ use std::{fmt, str};
use winnow::Parser;
use winnow::ascii::escaped;
use winnow::branch::alt;
use winnow::bytes::{any, one_of, tag, take_till0, take_till1, take_while};
use winnow::combinator::{cut_err, fail, not, opt, repeat};
use winnow::error::{ErrorKind, FromExternalError};
use winnow::sequence::{delimited, preceded};
use winnow::stream::AsChar;
use winnow::token::{any, one_of, tag, take_till0, take_till1, take_while};
pub mod expr;
pub use expr::{Expr, Filter};

View File

@ -2,10 +2,10 @@ use std::str;
use winnow::Parser;
use winnow::branch::alt;
use winnow::bytes::{any, tag, take_till0};
use winnow::combinator::{cut_err, eof, fail, not, opt, peek, repeat};
use winnow::multi::{separated0, separated1};
use winnow::sequence::{delimited, preceded};
use winnow::token::{any, tag, take_till0};
use crate::memchr_splitter::{Splitter1, Splitter2, Splitter3};
use crate::{

View File

@ -1,9 +1,9 @@
use winnow::Parser;
use winnow::branch::alt;
use winnow::bytes::one_of;
use winnow::combinator::opt;
use winnow::multi::separated1;
use winnow::sequence::preceded;
use winnow::token::one_of;
use crate::{
CharLit, ErrorContext, Num, ParseErr, ParseResult, PathOrIdentifier, State, StrLit, WithSpan,