visitAttribute method

  1. @override
void visitAttribute (
  1. XmlAttribute node
)
inherited

Visit an XmlAttribute node.

Implementation

@override
void visitAttribute(XmlAttribute node) {
  visit(node.name);
  buffer.write(XmlToken.equals);
  buffer.write(
      encodeXmlAttributeValueWithQuotes(node.value, node.attributeType));
}