[][src]Struct analisar::Parser

pub struct Parser<'a> { /* fields omitted */ }

Implementations

impl<'a> Parser<'a>[src]

pub fn new(bytes: &'a [u8]) -> Self[src]

pub fn next(&mut self) -> Option<Result<Chunk<'a>, Error>>[src]

pub fn chunk(&mut self) -> Result<Chunk<'a>, Error>[src]

pub fn block(&mut self) -> Result<Block<'a>, Error>[src]

pub fn statement(&mut self) -> Result<Statement<'a>, Error>[src]

pub fn assignment(&mut self, local: bool) -> Result<Statement<'a>, Error>[src]

pub fn assign_cont(
    &mut self,
    local: bool,
    start: Expression<'a>
) -> Result<Statement<'a>, Error>
[src]

pub fn label(&mut self) -> Result<Statement<'a>, Error>[src]

pub fn break_stmt(&mut self) -> Result<Statement<'a>, Error>[src]

pub fn go_to(&mut self) -> Result<Statement<'a>, Error>[src]

pub fn do_stmt(&mut self) -> Result<Statement<'a>, Error>[src]

pub fn func_body(&mut self) -> Result<FuncBody<'a>, Error>[src]

pub fn par_list(&mut self) -> Result<ParList<'a>, Error>[src]

pub fn name(&mut self) -> Result<Name<'a>, Error>[src]

pub fn eat_name_attr(&mut self) -> Result<Option<Cow<'a, str>>, Error>[src]

pub fn expect_name(&mut self) -> Result<Cow<'a, str>, Error>[src]

pub fn exp_list(&mut self) -> Result<Vec<Expression<'a>>, Error>[src]

pub fn next_token(&mut self) -> Option<Item<'a>>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Parser<'a>[src]

impl<'a> Send for Parser<'a>[src]

impl<'a> Sync for Parser<'a>[src]

impl<'a> Unpin for Parser<'a>[src]

impl<'a> UnwindSafe for Parser<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.