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 the token while a token of the given type is not found.

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

Syntax

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

Me.AcceptWhile(type)
protected internal void AcceptWhile(
    TSymbolType type
)
protected public:
void AcceptWhile(
    TSymbolType type
)
member AcceptWhile : 
        type:'TSymbolType -> unit
function AcceptWhile(
    type : TSymbolType
)

Parameters

See Also

Reference

TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class

AcceptWhile Overload

System.Web.Razor.Parser Namespace