Tag Class

Represents a tag token.

public class Tag : Token
Inheritance
Token Tag

Constructors

NameDescription
Tag(string, string)Initializes a new instance of the Tag class.
Tag(string, string, Mark, Mark)Initializes a new instance of the Tag class.

Tag overloads

Tag(string, string)

Tag.cs

Initializes a new instance of the Tag class.

public Tag(string handle, string suffix)
Parameters
handle string
The handle.
suffix string
The suffix.

Tag(string, string, Mark, Mark)

Tag.cs

Initializes a new instance of the Tag class.

public Tag(string handle, string suffix, Mark start, Mark end)
Parameters
handle string
The handle.
suffix string
The suffix.
start Mark
The start position of the token.
end Mark
The end position of the token.

Properties

NameDescription
HandleGets the handle.
SuffixGets the suffix.

Handle

Tag.cs

Gets the handle.

public string Handle { get; }

Property value

string The handle.

Suffix

Tag.cs

Gets the suffix.

public string Suffix { get; }

Property value

string The suffix.