Scanner.checkDocumentEnd

bool checkDocumentEnd() @safe

Check if the next token is DOCUMENT-END: ^ '...' (' '|'\n')