Class Sequence
An ordered sequence of grammar elements that must all match in order: A B C.
public record Sequence : RuleContent, IEquatable<RuleContent>, IEquatable<Sequence>
- Inheritance
-
Sequence
- Implements
- Inherited Members
- Extension Methods
Constructors
Sequence(IReadOnlyList<RuleContent>)
An ordered sequence of grammar elements that must all match in order: A B C.
public Sequence(IReadOnlyList<RuleContent> Items)
Parameters
ItemsIReadOnlyList<RuleContent>
Properties
Items
Gets the immutable ordered snapshot of sequence items.
public IReadOnlyList<RuleContent> Items { get; init; }