Export (0) Print
Expand All

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

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

Accepts token until a token of the given type is found and it will backup so that the next token is of the given type.

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

protected internal void AcceptUntil(
	TSymbolType type1,
	TSymbolType type2
)

Parameters

type1
Type: TSymbolType
The type of the first token.
type2
Type: TSymbolType
The type of the second token.
Show:
© 2014 Microsoft