TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.AcceptWhile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AcceptWhile(TSymbolType, 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 type has been reached. |
AcceptWhile(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. |
AcceptWhile(TSymbolType, TSymbolType, 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 type has been reached. |
AcceptWhile(Func<TSymbol,Boolean>) |
Accepts token while the condition has been reached. |
AcceptWhile(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. |
AcceptWhile(TSymbolType, 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 type has been reached.
protected internal void AcceptWhile(TSymbolType type1, TSymbolType type2);
member this.AcceptWhile : 'SymbolType * 'SymbolType -> unit
Protected Friend Sub AcceptWhile (type1 As TSymbolType, type2 As TSymbolType)
Parameters
- type1
- TSymbolType
The type of the first token.
- type2
- TSymbolType
The type of the second token.
Applies to
AcceptWhile(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.
protected internal void AcceptWhile(params TSymbolType[] types);
member this.AcceptWhile : 'SymbolType[] -> unit
Protected Friend Sub AcceptWhile (ParamArray types As TSymbolType())
Parameters
- types
- TSymbolType[]
The types.
Applies to
AcceptWhile(TSymbolType, TSymbolType, 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 type has been reached.
protected internal void AcceptWhile(TSymbolType type1, TSymbolType type2, TSymbolType type3);
member this.AcceptWhile : 'SymbolType * 'SymbolType * 'SymbolType -> unit
Protected Friend Sub AcceptWhile (type1 As TSymbolType, type2 As TSymbolType, type3 As TSymbolType)
Parameters
- type1
- TSymbolType
The type of the first token.
- type2
- TSymbolType
The type of the second token.
- type3
- TSymbolType
The type of the third token.
Applies to
AcceptWhile(Func<TSymbol,Boolean>)
Accepts token while the condition has been reached.
protected internal void AcceptWhile(Func<TSymbol,bool> condition);
member this.AcceptWhile : Func<'Symbol, bool (requires 'Symbol :> System.Web.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType>)> -> unit
Protected Friend Sub AcceptWhile (condition As Func(Of TSymbol, Boolean))
Parameters
Applies to
AcceptWhile(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.
protected internal void AcceptWhile(TSymbolType type);
member this.AcceptWhile : 'SymbolType -> unit
Protected Friend Sub AcceptWhile (type As TSymbolType)
Parameters
- type
- TSymbolType
The type of the token.