slang::SequenceRepetition struct

Encodes a repetition of some sub-sequence.

Contents

Public types

enum Kind { Consecutive, Nonconsecutive, GoTo }
The kind of repetition.

Public variables

SequenceRange range
The range of cycles over which to repeat.

Enum documentation

enum slang::SequenceRepetition::Kind

The kind of repetition.

Enumerators
Consecutive

A repetition with a match on each consecutive cycle.

Nonconsecutive

A nonconsecutive repetition that does not necessarily end at the last iterative match.

GoTo

A nonconsecutive repetition which ends at the last iterative match.