[−][src]Struct boa::syntax::lexer::Lexer
Lexer or tokenizer for the Boa JavaScript Engine.
Implementations
impl<R> Lexer<R>
[src]
pub fn new(reader: R) -> Self where
R: Read,
[src]
R: Read,
Creates a new lexer.
pub fn next(&mut self) -> Result<Option<Token>, Error> where
R: Read,
[src]
R: Read,
Retrieves the next token from the lexer.
Trait Implementations
Auto Trait Implementations
impl<R> RefUnwindSafe for Lexer<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for Lexer<R> where
R: Send,
R: Send,
impl<R> Sync for Lexer<R> where
R: Sync,
R: Sync,
impl<R> Unpin for Lexer<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for Lexer<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,