Skip to main content

expect_imm

Function expect_imm 

Source
fn expect_imm<'a>(
    tokens: &[Token<'a>],
    i: &mut usize,
    ctx: impl Display,
) -> Result<Imm<'a>>
Expand description

Consume the next token as an immediate (number or label ref).