Look ahead at the next token to be lexed.
Synopsis
Declared in <llvm/MC/MCParser/AsmLexer.h>
AsmToken const
peekTok(bool ShouldSkipSpace = true);
Return Value
The next token that would be lexed, without consuming it.
Parameters
Name |
Description |
ShouldSkipSpace |
If true, skip whitespace while peeking. |
Created with MrDocs