Share via


TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.AtIdentifier Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Determines whether the token is at the specified identifier.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Protected Function AtIdentifier ( _
    allowKeywords As Boolean _
) As Boolean
'Usage
Dim allowKeywords As Boolean 
Dim returnValue As Boolean 

returnValue = Me.AtIdentifier(allowKeywords)
protected bool AtIdentifier(
    bool allowKeywords
)
protected:
bool AtIdentifier(
    bool allowKeywords
)
member AtIdentifier : 
        allowKeywords:bool -> bool
protected function AtIdentifier(
    allowKeywords : boolean
) : boolean

Parameters

  • allowKeywords
    Type: System.Boolean
    true to allow keywords; otherwise, false.

Return Value

Type: System.Boolean
true if the token is at the specified identifier; otherwise, false.

See Also

Reference

TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class

System.Web.Razor.Parser Namespace