MappingEnd Class

Represents a mapping end event.

public class MappingEnd : ParsingEvent
Inheritance
ParsingEvent MappingEnd

Constructors

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

MappingEnd overloads

MappingEnd()

MappingEnd.cs

Initializes a new instance of the MappingEnd class.

public MappingEnd()

MappingEnd(Mark, Mark)

MappingEnd.cs

Initializes a new instance of the MappingEnd class.

public MappingEnd(Mark start, Mark end)
Parameters
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.

NestingIncrease

MappingEnd.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

Methods

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

ToString()

MappingEnd.cs

Returns a String that represents the current Object.

public override string ToString()

Returns

string A String that represents the current Object.