TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.NextIs Method (TSymbolType)

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 would pass.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

protected internal bool NextIs(
	TSymbolType type


Type: TSymbolType
The type of the token.

Return Value

Type: System.Boolean
true if the token with the give type would pass; otherwise, false.