[][src]Macro yotc::peek_literal_or_err

macro_rules! peek_literal_or_err {
    ($self:ident) => { ... };
}

Peeks at the next token and returns the value of the literal if it is one.

If the next token is not an literal, it will return Err.