mirror of https://github.com/marrub--/zscript-doc
23 lines
357 B
Markdown
23 lines
357 B
Markdown
# LineIdIterator
|
|
|
|
Iterates over line indices with a specified tag.
|
|
|
|
```
|
|
class LineIdIterator
|
|
{
|
|
static LineIdIterator Create(int tag);
|
|
|
|
int Next();
|
|
}
|
|
```
|
|
|
|
- `Create`
|
|
|
|
Creates a new iterator over lines with tag `tag`.
|
|
|
|
- `Next`
|
|
|
|
Returns the index of the current line and advances the iterator. Returns -1 when the list is exhausted.
|
|
|
|
<!-- EOF -->
|