PythonTokenTaggerProvider Class
Represents a provider of PythonTokenTagger objects for documents that use the PythonTokenTagger
language.
public class PythonTokenTaggerProvider : TaggerProviderBase<PythonTokenTagger>, ICodeDocumentTaggerProvider
- Inheritance:
- Object TaggerProviderBase<PythonTokenTagger> Object
- Implements:
- ICodeDocumentTaggerProvider
Remarks
This type was generated by the Actipro Language Designer tool v14.1.602.0 (http://www.actiprosoftware.com).
Constructors
PythonTokenTaggerProvider(IPythonClassificationTypeProvider)
Initializes a new instance of the PythonTokenTaggerProvider
class.
public PythonTokenTaggerProvider(IPythonClassificationTypeProvider classificationTypeProvider)
Parameter | Type | Description |
---|---|---|
classificationTypeProvider | IPythonClassificationTypeProvider | A IPythonClassificationTypeProvider that provides classification types. |
Methods
GetTagger<T>(ICodeDocument)
Returns a tagger for the specified ICodeDocument.
public ITagger<T> GetTagger<T>(ICodeDocument document)
where T : ITag
- Type Parameters:
-
T
-The type of ITag created by the tagger.
Parameter | Type | Description |
---|---|---|
document | ICodeDocument | The ICodeDocument that requires a tagger. |
Returns
- ITagger<T>:
A tagger for the specified ICodeDocument.