Tokenizer.TrySkipIdentifier Method
Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Lexical
Declaring Type: Tokenizer
Checks if the current token is a particular identifier and if so skip it
public bool TrySkipIdentifier(string name);
Parameters
string name | The name of the identifier to check for |
Returns
bool | True if the current token matched the identifier and it was skipped |