Table of Contents

Interface IParserRuntimeObserver

Namespace
Utils.Parser.Runtime
Assembly
Utils.Parser.dll

Defines a passive runtime observation contract for parser scheduling events. Implementations must remain non-authoritative and must not attempt to influence parser behavior. Observer callback exceptions are isolated by the runtime scheduler and do not alter execution semantics.

public interface IParserRuntimeObserver
Extension Methods

Methods

OnAlternativeCompleted(AlternativeRuntimeObservation)

Observes that an alternative completed local scheduled execution.

void OnAlternativeCompleted(AlternativeRuntimeObservation observation)

Parameters

observation AlternativeRuntimeObservation

Immutable observation payload.

OnAlternativeFailed(AlternativeRuntimeObservation)

Observes that an alternative failed local scheduled execution.

void OnAlternativeFailed(AlternativeRuntimeObservation observation)

Parameters

observation AlternativeRuntimeObservation

Immutable observation payload.

OnAlternativePruned(AlternativeRuntimeObservation)

Observes that an alternative was pruned by scheduler-level equivalence.

void OnAlternativePruned(AlternativeRuntimeObservation observation)

Parameters

observation AlternativeRuntimeObservation

Immutable observation payload.

OnAlternativeSelected(AlternativeRuntimeObservation)

Observes the selected local winner state for a scheduling pass.

void OnAlternativeSelected(AlternativeRuntimeObservation observation)

Parameters

observation AlternativeRuntimeObservation

Immutable observation payload.

OnAlternativeStarted(AlternativeRuntimeObservation)

Observes that an alternative started local scheduled execution.

void OnAlternativeStarted(AlternativeRuntimeObservation observation)

Parameters

observation AlternativeRuntimeObservation

Immutable observation payload.