text_lint.sequencers.patterns.loop.LinearLoopPattern
- class text_lint.sequencers.patterns.loop.LinearLoopPattern(start: int, end: int)[source]
Bases:
LinearPatternLinear loop pattern for SequencerBase instances.
- __init__(start: int, end: int) None[source]
Initialize LinearLoopPattern instances.
- Parameters:
start (int) – The index to start repeating at.
end (int) – The index to stop repeating at.
- increment(sequencer: SequencerBase[Any]) None[source]
Advance the index for the given sequencer instance.