Parser.goToBookmark

void goToBookmark(Bookmark bookmark, bool popStack = true) pure nothrow @safe @nogc

Goes back to a parser bookmark and optionally invalidates it.

Parameters

bookmarkbookmark to revert to
popStackif set to true, the bookmark is cleared, otherwise it must be manually cleared using abandonBookmark.