processEOF method

  1. @override
bool processEOF()
override

Implementation

@override
bool processEOF() {
  parser.parseError(parser._lastSpan, 'expected-doctype-but-got-eof');
  anythingElse();
  return true;
}