Class LeftRecursiveRuleInfo
Describes a parser rule that uses direct left recursion and how its alternatives are split for seed parsing and left-push extension.
public sealed record LeftRecursiveRuleInfo : IEquatable<LeftRecursiveRuleInfo>
- Inheritance
-
LeftRecursiveRuleInfo
- Implements
- Inherited Members
- Extension Methods
Properties
BaseAlternatives
Gets an immutable snapshot of alternatives usable as initial seed nodes.
public required IReadOnlyList<Alternative> BaseAlternatives { get; init; }
Property Value
RecursiveAlternatives
Gets an immutable snapshot of direct left-recursive alternatives.
public required IReadOnlyList<Alternative> RecursiveAlternatives { get; init; }
Property Value
Rule
Gets the parser rule described by this entry.
public required Rule Rule { get; init; }