Scanner.checkDocumentEnd

private bool checkDocumentEnd() pure @safe

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