visitDeclaration method

  1. @override
void visitDeclaration(
  1. XmlDeclaration node
)
override

Visit an XmlDeclaration node.

Implementation

@override
void visitDeclaration(XmlDeclaration node) {
  buffer.write(XmlToken.openDeclaration);
  writeAttributes(node);
  buffer.write(XmlToken.closeDeclaration);
}