TokenizerBackedParser(Of 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)

'Declaration
Protected Friend Sub AcceptUntil ( _
	type1 As TSymbolType, _
	type2 As TSymbolType _
)
'Usage
Dim type1 As TSymbolType
Dim type2 As TSymbolType

Me.AcceptUntil(type1, type2)

Parameters

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