In This Article

JavaScriptClassificationTypeProvider Class

Represents a provider of IClassificationType objects for the JavaScript language.

public class JavaScriptClassificationTypeProvider : IJavaScriptClassificationTypeProvider
Inheritance:
object object
Implements:
IJavaScriptClassificationTypeProvider

Remarks

This type was generated by the Actipro Language Designer tool v20.1.1.0 (http://www.actiprosoftware.com).

Constructors

JavaScriptClassificationTypeProvider()

Initializes a new instance of the JavaScriptClassificationTypeProvider class.

public JavaScriptClassificationTypeProvider()

JavaScriptClassificationTypeProvider(IHighlightingStyleRegistry)

Initializes a new instance of the JavaScriptClassificationTypeProvider class.

public JavaScriptClassificationTypeProvider(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.

JsonPropertyName

Gets the JsonPropertyName classification type.

public IClassificationType JsonPropertyName { get; }

Property Value

IClassificationType:

The JsonPropertyName classification type.

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.

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.

Inherited Members