SequenceEnd Class

Represents a sequence end event.

public class SequenceEnd : ParsingEvent
Inheritance
ParsingEvent SequenceEnd

Constructors

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

SequenceEnd overloads

SequenceEnd()

SequenceEnd.cs

Initializes a new instance of the SequenceEnd class.

public SequenceEnd()

SequenceEnd(Mark, Mark)

SequenceEnd.cs

Initializes a new instance of the SequenceEnd class.

public SequenceEnd(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

SequenceEnd.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()

SequenceEnd.cs

Returns a String that represents the current Object.

public override string ToString()

Returns

string A String that represents the current Object.