Class RecursionContext
Denotes the context in which a left recursion is resolved
public class RecursionContext
- Inheritance
-
RecursionContext
- Inherited Members
Constructors
RecursionContext(ParsePosition)
Creates a new recursion context at the given position
public RecursionContext(ParsePosition position)
Parameters
position
ParsePositionthe position of the recursion context
Properties
AddContinuations
True, if rules shall register continuations, otherwise false
public bool AddContinuations { get; }
Property Value
Continuations
Gets the list of possible continuations for the given recursion
public List<RecursiveContinuation> Continuations { get; }
Property Value
Position
The position of this recursion
public ParsePosition Position { get; }
Property Value
RuleStack
Gets the stack of rules that participate in the recursion
public Stack<Rule> RuleStack { get; }