Share via


TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.AcceptWhile Method (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 types has been reached.

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

Syntax

'Declaration
Protected Friend Sub AcceptWhile ( _
    ParamArray types As TSymbolType() _
)
'Usage
Dim types As TSymbolType()

Me.AcceptWhile(types)
protected internal void AcceptWhile(
    params TSymbolType[] types
)
protected public:
void AcceptWhile(
    ... array<TSymbolType>^ types
)
member AcceptWhile : 
        types:'TSymbolType[] -> unit
function AcceptWhile(
    ... types : TSymbolType[]
)

Parameters

See Also

Reference

TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class

AcceptWhile Overload

System.Web.Razor.Parser Namespace