object SourceCursor
Companion for creating new SourceCursor
instances.
This type of constructor is only meant to be used for creating a root cursor for the input holding
the whole document (e.g. the entire markup document or the full template).
For creating a cursor for a fragment of the input, either BlockSource
or LineSource
must be used
to preserve position tracking in relation to the root input.
- Companion:
- class