processComment method

  1. @override
Token? processComment(
  1. CommentToken token
)
override

Implementation

@override
Token? processComment(CommentToken token) {
  // This is needed because data is to be appended to the <html> element
  // here and not to whatever is currently open.
  tree.insertComment(token, tree.openElements[0]);
  return null;
}