TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.NextIs 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
NextIs(Func<TSymbol,Boolean>) |
Determines whether the token with the given condition would pass. |
NextIs(TSymbolType) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given type would pass. |
NextIs(TSymbolType[]) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given types would pass. |
NextIs(Func<TSymbol,Boolean>)
Determines whether the token with the given condition would pass.
protected internal bool NextIs(Func<TSymbol,bool> condition);
member this.NextIs : Func<'Symbol, bool (requires 'Symbol :> System.Web.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType>)> -> bool
Protected Friend Function NextIs (condition As Func(Of TSymbol, Boolean)) As Boolean
Parameters
Returns
true if the token with the given condition would pass; otherwise, false.
Applies to
NextIs(TSymbolType)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given type would pass.
protected internal bool NextIs(TSymbolType type);
member this.NextIs : 'SymbolType -> bool
Protected Friend Function NextIs (type As TSymbolType) As Boolean
Parameters
- type
- TSymbolType
The type of the token.
Returns
true if the token with the give type would pass; otherwise, false.
Applies to
NextIs(TSymbolType[])
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given types would pass.
protected internal bool NextIs(params TSymbolType[] types);
member this.NextIs : 'SymbolType[] -> bool
Protected Friend Function NextIs (ParamArray types As TSymbolType()) As Boolean
Parameters
- types
- TSymbolType[]
The types.
Returns
true if the token with the given types would pass; otherwise, false.