Share via


TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Was Method

Definition

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.

Applies to