public abstract class Repeater<T> extends Tag<T> implements Comparable<Repeater<?>>
Modifier and Type | Method and Description |
---|---|
protected abstract Span |
_nextSpan(Pointer.PointerType pointer) |
protected abstract Span |
_thisSpan(Pointer.PointerType pointer) |
int |
compareTo(Repeater<?> other) |
abstract Span |
getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
abstract int |
getWidth()
returns the width (in seconds or months) of this repeatable.
|
Span |
nextSpan(Pointer.PointerType pointer)
returns the next occurance of this repeatable.
|
static List<Token> |
scan(List<Token> tokens) |
static List<Token> |
scan(List<Token> tokens,
Options options) |
Span |
thisSpan(Pointer.PointerType pointer) |
String |
toString() |
public Repeater(T type)
public int compareTo(Repeater<?> other)
compareTo
in interface Comparable<Repeater<?>>
public abstract int getWidth()
public Span nextSpan(Pointer.PointerType pointer)
protected abstract Span _nextSpan(Pointer.PointerType pointer)
public Span thisSpan(Pointer.PointerType pointer)
protected abstract Span _thisSpan(Pointer.PointerType pointer)
public abstract Span getOffset(Span span, float amount, Pointer.PointerType pointer)
Copyright © 2002 – 2020 Project Wonder.