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
- type
Type: TSymbolType
The type of the token.
See Also
Reference
TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class