Class ParserRuleParameterSeedStore
Stores pending child-rule parameter seeds intended for the next invocation of named parser rules. Seeds are copied into matching child frames when those rules are entered. This type is immutable after construction; mutations produce a new instance. Implements ICloneable so the execution-context copier can deep-copy it during parser backtracking snapshots, and IParserExecutionStateHashable so it contributes to the managed execution-state key used for rollback-safe memoization.
public sealed class ParserRuleParameterSeedStore : ICloneable, IParserExecutionStateHashable
- Inheritance
-
ParserRuleParameterSeedStore
- Implements
- Inherited Members
- Extension Methods
Constructors
ParserRuleParameterSeedStore()
Initializes an empty seed store.
public ParserRuleParameterSeedStore()
Properties
IsEmpty
Gets whether the store has any pending seeds.
public bool IsEmpty { get; }
Property Value
Methods
Clone()
Returns a deep copy of this store.
public object Clone()
Returns
GetParserExecutionStateHash()
Computes a managed execution-state hash for the current seed state. Deterministically hashable values produce stable keys. Arbitrary explicit values remain accepted but contribute a fresh volatile nonce so completed-result memoization is conservatively bypassed.
public ulong GetParserExecutionStateHash()