Interface IParserExecutionStateManager
Captures and restores opaque parser execution state for managed parser backtracking attempt boundaries.
public interface IParserExecutionStateManager
- Extension Methods
Methods
Capture()
Captures an opaque snapshot of the current parser execution state.
object Capture()
Returns
- object
An opaque snapshot object that can be supplied to Restore(object).
GetCurrentStateKey()
Gets the opaque semantic state key used to isolate rule-result memoization entries.
ParserExecutionStateKey GetCurrentStateKey()
Returns
- ParserExecutionStateKey
The current parser execution-state key.
Restore(object)
Restores parser execution state from a previously captured snapshot.
void Restore(object snapshot)