visitProcessing method

  1. @override
void visitProcessing(
  1. XmlProcessing node
)
override

Visit an XmlProcessing node.

Implementation

@override
void visitProcessing(XmlProcessing node) {
  buffer.write(XmlToken.openProcessing);
  buffer.write(node.target);
  if (node.text.isNotEmpty) {
    buffer.write(XmlToken.whitespace);
    buffer.write(node.text);
  }
  buffer.write(XmlToken.closeProcessing);
}