Logo fantomas

EventNode Type

A node in the mutable doubly-linked list of WriterEvents. We use [] instead of option for Prev/Next links because this is a hot path — every formatting operation appends nodes. Option would allocate a Some wrapper on every link assignment, adding GC pressure for no functional benefit. The null checks are contained within EventList's methods; callers work with non-null EventNode references returned by Append/InsertAfter/InsertBefore.

Constructors

Constructor Description

EventNode(event)

Full Usage: EventNode(event)

Parameters:
Returns: EventNode
event : WriterEvent
Returns: EventNode

Instance members

Instance member Description

this.Event

Full Usage: this.Event

Returns: WriterEvent
Returns: WriterEvent

this.Next

Full Usage: this.Next

Returns: EventNode
Returns: EventNode

this.Prev

Full Usage: this.Prev

Returns: EventNode
Returns: EventNode

Type something to start searching.