Tokenizer.TrySkipToken Method
Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Lexical
Declaring Type: Tokenizer
Checks if the current token matches and if so skips it
public bool TrySkipToken(Token token);
Parameters
Token token | The token to check for |
Returns
bool | True if the token matched and was skipped |