visitDoctype method

  1. @override
void visitDoctype(
  1. XmlDoctype node
)
override

Visit an XmlDoctype node.

Implementation

@override
void visitDoctype(XmlDoctype node) {
  buffer.write(XmlToken.openDoctype);
  buffer.write(XmlToken.whitespace);
  buffer.write(node.text);
  buffer.write(XmlToken.closeDoctype);
}