LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType>.IsKeyword Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is a keyword type.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Overridable Function IsKeyword ( _
symbol As TSymbol _
) As Boolean
'Usage
Dim instance As LanguageCharacteristics
Dim symbol As TSymbol
Dim returnValue As Boolean
returnValue = instance.IsKeyword(symbol)
public virtual bool IsKeyword(
TSymbol symbol
)
public:
virtual bool IsKeyword(
TSymbol symbol
)
abstract IsKeyword :
symbol:'TSymbol -> bool
override IsKeyword :
symbol:'TSymbol -> bool
public function IsKeyword(
symbol : TSymbol
) : boolean
Parameters
- symbol
Type: TSymbol
The symbol to check.
Return Value
Type: System.Boolean
true if the symbol is a keyword type; otherwise, false.
See Also
Reference
LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType> Class