In This Article

TokenClassificationTag Class

Represents an ITag that can be used to associate an IClassificationType and an IToken with some text range by implementing IClassificationTag and ITokenTag.

public class TokenClassificationTag : IClassificationTag, ITokenTag, ITag
Inheritance:
object object
Implements:
IClassificationTag ITokenTag ITag

Constructors

TokenClassificationTag()

Initializes an instance of the class.

public TokenClassificationTag()

TokenClassificationTag(IToken?, IClassificationType?)

Represents an ITag that can be used to associate an IClassificationType and an IToken with some text range by implementing IClassificationTag and ITokenTag.

public TokenClassificationTag(IToken? token, IClassificationType? classificationType)
Parameter Type Description
token IToken

The lexer IToken associated with this tag.

classificationType IClassificationType

The IClassificationType associated with the tag.

Properties

ClassificationType

The IClassificationType associated with this tag.

public IClassificationType? ClassificationType { get; set; }

Property Value

IClassificationType

Token

The lexer IToken associated with this tag.

public IToken? Token { get; set; }

Property Value

IToken

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods