Table of Contents

Class NullParserExecutionStateManager

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

No-op parser execution-state manager used by conservative runtime policies.

public sealed class NullParserExecutionStateManager : IParserExecutionStateManager
Inheritance
NullParserExecutionStateManager
Implements
Inherited Members
Extension Methods

Properties

Instance

Gets the singleton no-op parser execution-state manager instance.

public static NullParserExecutionStateManager Instance { get; }

Property Value

NullParserExecutionStateManager

Methods

Capture()

Captures a non-null no-op snapshot without recording parser execution state.

public object Capture()

Returns

object

The singleton no-op manager instance.

GetCurrentStateKey()

Gets the stable stateless memoization key for the no-op manager.

public ParserExecutionStateKey GetCurrentStateKey()

Returns

ParserExecutionStateKey

Stateless.

Restore(object)

Validates that a snapshot was supplied without restoring any parser execution state.

public void Restore(object snapshot)

Parameters

snapshot object

Snapshot object to validate.