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, IReadOnlyCollection<RecursiveContinuation>)

Creates a new recursion context at the given position

public RecursionContext(ParsePosition position, IReadOnlyCollection<RecursiveContinuation> continuations)

Parameters

position ParsePosition

the position of the recursion context

continuations IReadOnlyCollection<RecursiveContinuation>

the continuations possible in this context

Properties

Continuations

Gets the list of possible continuations for the given recursion

public IReadOnlyCollection<RecursiveContinuation> Continuations { get; }

Property Value

IReadOnlyCollection<RecursiveContinuation>

Position

The position of this recursion

public ParsePosition Position { get; }

Property Value

ParsePosition