TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Was Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given type was parsed.
protected internal bool Was(TSymbolType type);
member this.Was : 'SymbolType -> bool
Protected Friend Function Was (type As TSymbolType) As Boolean
Parameters
- type
- TSymbolType
The type of the token.
Returns
true if the token with the given type was parsed; otherwise, false.