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

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Accepts token while the token of the given type has been reached.

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

protected internal void AcceptWhile(
	TSymbolType type1,
	TSymbolType type2,
	TSymbolType type3
)

Parameters

type1
Type: TSymbolType
The type of the first token.
type2
Type: TSymbolType
The type of the second token.
type3
Type: TSymbolType
The type of the third token.
Show: