Segmenter
A Segmenter is a type grouping two functions that read a certain number of elements off a range, hence making it a facility to segment a range.
Name | Expression | Type | Precondition | Semantics |
---|---|---|---|---|
Construction |
Segmenter() |
Segmenter |
Construct an instance of the type with default parameters. |
|
Left to right |
c.ltr(next, pos) |
void |
|
Reads part of the [ |
Right to left |
c.rtl(pos, next) |
void |
|
Reads part of the [ |