AnchorAlias Class

Represents an alias event.

public class AnchorAlias : ParsingEvent
Inheritance
ParsingEvent AnchorAlias

Constructors

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

AnchorAlias overloads

AnchorAlias(string)

AnchorAlias.cs

Initializes a new instance of the AnchorAlias class.

public AnchorAlias(string value)
Parameters
value string
The value of the alias.

AnchorAlias(string, Mark, Mark)

AnchorAlias.cs

Initializes a new instance of the AnchorAlias class.

public AnchorAlias(string value, Mark start, Mark end)
Parameters
value string
The value of the alias.
start Mark
The start position of the event.
end Mark
The end position of the event.

Properties

NameDescription
NestingIncreaseGets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0.
ValueGets the value of the alias.

NestingIncrease

AnchorAlias.cs

Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0.

public override int NestingIncrease { get; }

Property value

int

Gets the value of the alias.

public string Value { get; }

Property value

string

Methods

NameDescription
ToString()Returns a String that represents the current Object.

ToString()

AnchorAlias.cs

Returns a String that represents the current Object.

public override string ToString()

Returns

string A String that represents the current Object.