Skip to main content

next

Function next 

Source
pub fn next(state: &mut LuaState, ls: &mut LexState) -> Result<(), LuaError>
Expand description

Consume the current token; load the next one from the stream.

If a lookahead token was set, it becomes the current token without re-reading from the stream.