processEOF method
Implementation
@override
bool processEOF() {
for (var node in tree.openElements.reversed) {
switch (node.localName) {
case 'dd':
case 'dt':
case 'li':
case 'p':
case 'tbody':
case 'td':
case 'tfoot':
case 'th':
case 'thead':
case 'tr':
case 'body':
case 'html':
continue;
}
parser.parseError(node.sourceSpan, 'expected-closing-tag-but-got-eof');
break;
}
//Stop parsing
return false;
}