Function peek

Source
pub fn peek(stack: &mut ParseStack) -> TokenType
Expand description

Peeks at the top (last in item) of the parse stack.

§Arguments

  • stack - ParseStack

§Return

  • token type