visitDocumentType method

  1. @override
void visitDocumentType(
  1. DocumentType node
)
override

Implementation

@override
void visitDocumentType(DocumentType node) {
  _str.write('<code class="markup doctype">&lt;!DOCTYPE ${node.name}>'
      '</code>');
}