PythonClassificationTypeProvider Class
Represents a provider of IClassificationType objects for the Python
language.
public class PythonClassificationTypeProvider : IPythonClassificationTypeProvider
- Inheritance:
- object object
- Implements:
- IPythonClassificationTypeProvider
Remarks
This type was generated by the Actipro Language Designer tool v14.1.602.0 (http://www.actiprosoftware.com).
Constructors
PythonClassificationTypeProvider()
Initializes a new instance of the PythonClassificationTypeProvider
class.
public PythonClassificationTypeProvider()
PythonClassificationTypeProvider(IHighlightingStyleRegistry)
Initializes a new instance of the PythonClassificationTypeProvider
class.
public PythonClassificationTypeProvider(IHighlightingStyleRegistry targetRegistry)
Parameter | Type | Description |
---|---|---|
targetRegistry | IHighlightingStyleRegistry | The IHighlightingStyleRegistry to use when registering classification types and highlighting styles. |
Properties
Comment
Gets the IClassificationType to use for a general comment.
public IClassificationType Comment { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a general comment.
Remarks
The first time this IClassificationType is accessed, it will be registered in the configured IHighlightingStyleRegistry with a default style if one is not already registered.
Identifier
Gets the IClassificationType to use for a general identifier.
public IClassificationType Identifier { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a general identifier.
Remarks
The first time this IClassificationType is accessed, it will be registered in the configured IHighlightingStyleRegistry with a default style if one is not already registered.
Keyword
Gets the IClassificationType to use for a general keyword.
public IClassificationType Keyword { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a general keyword.
Remarks
The first time this IClassificationType is accessed, it will be registered in the configured IHighlightingStyleRegistry with a default style if one is not already registered.
Number
Gets the IClassificationType to use for a general number.
public IClassificationType Number { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a general number.
Remarks
The first time this IClassificationType is accessed, it will be registered in the configured IHighlightingStyleRegistry with a default style if one is not already registered.
Operator
Gets the IClassificationType to use for a general operator.
public IClassificationType Operator { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a general operator.
Remarks
The first time this IClassificationType is accessed, it will be registered in the configured IHighlightingStyleRegistry with a default style if one is not already registered.
Punctuation
Gets the IClassificationType to use for general punctuation.
public IClassificationType Punctuation { get; }
Property Value
- IClassificationType:
The IClassificationType to use for general punctuation.
Remarks
The first time this IClassificationType is accessed, it will be registered in the configured IHighlightingStyleRegistry with a default style if one is not already registered.
PythonSystemIdentifier
Gets the PythonSystemIdentifier
classification type.
public IClassificationType PythonSystemIdentifier { get; }
Property Value
- IClassificationType:
The
PythonSystemIdentifier
classification type.
Registry
Gets the IHighlightingStyleRegistry to use when registering classification types and highlighting styles.
public IHighlightingStyleRegistry Registry { get; }
Property Value
- IHighlightingStyleRegistry:
The IHighlightingStyleRegistry to use when registering classification types and highlighting styles.
String
Gets the IClassificationType to use for a general string.
public IClassificationType String { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a general string.
Remarks
The first time this IClassificationType is accessed, it will be registered in the configured IHighlightingStyleRegistry with a default style if one is not already registered.
Methods
RegisterAll()
Registers all classification types and highlighting styles with the IHighlightingStyleRegistry used by this class.
public IEnumerable<IClassificationType> RegisterAll()
Returns
- IEnumerable<IClassificationType>:
The collection of IClassificationType objects that were registered.