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
- types
Type: TSymbolType[]
The types.
See Also
Reference
TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class