processStartTag method

  1. @override
Token processStartTag(
  1. StartTagToken token
)
override

Implementation

@override
Token processStartTag(StartTagToken token) {
  parser.parseError(
      token.span, 'expected-doctype-but-got-start-tag', {'name': token.name});
  anythingElse();
  return token;
}