CSharpLexicalStateId Class
Contains the lexical state IDs for the C#
language.
public class CSharpLexicalStateId : LexicalStateIdProviderBase, ILexicalStateIdProvider, IIdProvider
- Inheritance:
- object LexicalStateIdProviderBase object
- Implements:
- ILexicalStateIdProvider IIdProvider
Remarks
This type was generated by the Actipro Language Designer tool v13.2.590.0 (http://www.actiprosoftware.com).
Constructors
CSharpLexicalStateId()
Initializes an instance of the class.
public CSharpLexicalStateId()
Properties
MaxId
Gets the maximum lexical state ID returned by this provider.
public override int MaxId { get; }
Property Value
- int:
The maximum lexical state ID returned by this provider.
MinId
Gets the minimum lexical state ID returned by this provider.
public override int MinId { get; }
Property Value
- int:
The minimum lexical state ID returned by this provider.
Methods
ContainsId(int)
Returns whether the specified ID value is valid for this lexical state ID provider.
public override bool ContainsId(int id)
Parameter | Type | Description |
---|---|---|
id | int | The lexical state ID to examine. |
Returns
- bool:
true
if the ID value is valid; otherwise,false
GetDescription(int)
Returns the actual string representation for the specified lexical state ID.
public override string GetDescription(int id)
Parameter | Type | Description |
---|---|---|
id | int | The lexical state ID to examine. |
Returns
- string:
The actual string representation for the specified lexical state ID.
GetKey(int)
Returns the string-based key for the specified lexical state ID.
public override string GetKey(int id)
Parameter | Type | Description |
---|---|---|
id | int | The lexical state ID to examine. |
Returns
- string:
The string-based key for the specified lexical state ID.
Fields
Default
Gets the Default
lexical state ID.
public const int Default = 10000
DocumentationComment
Gets the DocumentationComment
lexical state ID.
public const int DocumentationComment = 10001
PreprocessorDirective
Gets the PreprocessorDirective
lexical state ID.
public const int PreprocessorDirective = 10002