Anchor Class

Represents an anchor token.

public class Anchor : Token
Inheritance
Token Anchor

Constructors

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

Anchor overloads

Anchor(string)

Anchor.cs

Initializes a new instance of the Anchor class.

public Anchor(string value)
Parameters
value string
The value.

Anchor(string, Mark, Mark)

Anchor.cs

Initializes a new instance of the Anchor class.

public Anchor(string value, Mark start, Mark end)
Parameters
value string
The value.
start Mark
The start position of the token.
end Mark
The end position of the token.

Properties

NameDescription
ValueGets the value.

Gets the value.

public string Value { get; }

Property value

string The value.