[This is preliminary documentation and is subject to change.]
This interface is implemented by Production and ProductionTransit,
an internal class of the PersistateLanguage namespace.
| C# |
public interface IProduction : IEnumerable<Element>, IEnumerable
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Count | Gets the number of elements in the RHS of the IProduction.
| |
| ElementsFrom(Int32) | Obtains an enumerator which iterates through the RHS elements of
this IProduction, starting from a given element index. | |
| GetEnumerator()()()() |
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of <(<'Element>)>)>.) | |
| GetEnumerator()()()() |
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.) | |
| Item[([( Int32])]) | Gets the RHS element at the associated index. | |
| Lhs | Gets the LHS element of the IProduction. | |
| Name | Gets the Name of the IProduction. This is the non terminal
associated with the LHS element. | |
| Parser | Gets the SyntaxParser that this IProduction is
contained in. | |
| RuleIndex | Gets the index number of this IProduction. |