Table of Contents

Class RecursionContext

Namespace
NMF.AnyText
Assembly
NMF.AnyText.Core.dll

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 ParsePosition

the position of the recursion context

Properties

AddContinuations

True, if rules shall register continuations, otherwise false

public bool AddContinuations { get; }

Property Value

bool

Continuations

Gets the list of possible continuations for the given recursion

public List<RecursiveContinuation> Continuations { get; }

Property Value

List<RecursiveContinuation>

Position

The position of this recursion

public ParsePosition Position { get; }

Property Value

ParsePosition

RuleStack

Gets the stack of rules that participate in the recursion

public Stack<Rule> RuleStack { get; }

Property Value

Stack<Rule>