TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.NextIs Method (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.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Friend Function NextIs ( _
type As TSymbolType _
) As Boolean
'Usage
Dim type As TSymbolType
Dim returnValue As Boolean
returnValue = Me.NextIs(type)
protected internal bool NextIs(
TSymbolType type
)
protected public:
bool NextIs(
TSymbolType type
)
member NextIs :
type:'TSymbolType -> bool
function NextIs(
type : TSymbolType
) : boolean
Parameters
- type
Type: TSymbolType
The type of the token.
Return Value
Type: System.Boolean
true if the token with the give type would pass; otherwise, false.
See Also
Reference
TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class