Class RecursiveContinuation
Denotes a recursive continuation
public abstract class RecursiveContinuation
- Inheritance
-
RecursiveContinuation
- Inherited Members
Constructors
RecursiveContinuation(IEnumerable<Rule>)
Creates a new continuation
protected RecursiveContinuation(IEnumerable<Rule> affectedRules)
Parameters
affectedRules
IEnumerable<Rule>the rules that need to be invalidated when performing the recursion
Properties
AffectedRules
Gets the rules needed to invalidate before executing the recursion
public List<Rule> AffectedRules { get; }
Property Value
Methods
ResolveRecursion(RuleApplication, ParseContext, RecursionContext, ref ParsePosition)
Grows the given base rule application
public virtual RuleApplication ResolveRecursion(RuleApplication baseApplication, ParseContext parseContext, RecursionContext recursionContext, ref ParsePosition position)
Parameters
baseApplication
RuleApplicationthe base rule application
parseContext
ParseContextthe parse context in which the continuation is done
recursionContext
RecursionContextthe recursion context in which the continuation is executed
position
ParsePositionthe position of the parser
Returns
- RuleApplication
the grown rule application