NodeEvent Class

Contains the behavior that is common between node events.

public abstract class NodeEvent : ParsingEvent
Inheritance
ParsingEvent NodeEvent

Constructors

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

NodeEvent overloads

NodeEvent(string?, string?)

NodeEvent.cs

Initializes a new instance of the NodeEvent class.

protected NodeEvent(string? anchor, string? tag)
Parameters
anchor string?
tag string?

NodeEvent(string?, string?, Mark, Mark)

NodeEvent.cs

Initializes a new instance of the NodeEvent class.

protected NodeEvent(string? anchor, string? tag, Mark start, Mark end)
Parameters
anchor string?
The anchor.
tag string?
The tag.
start Mark
The start position of the event.
end Mark
The end position of the event.

Properties

NameDescription
AnchorGets the anchor.
IsCanonicalGets a value indicating whether this instance is canonical.
TagGets the tag.

Gets the anchor.

public string? Anchor { get; }

Property value

string?

IsCanonical

Gets a value indicating whether this instance is canonical.

public abstract bool IsCanonical { get; }

Property value

bool

Gets the tag.

public string? Tag { get; }

Property value

string?