event

fnEvent event(EventID id)(const Mark start, const Mark end, const string anchor = null) @safe

Construct a simple event.

Parameters

startStart position of the event in the file/stream.
endEnd position of the event in the file/stream.
anchorAnchor, if this is an alias event.