CodeMarkupVisitor class

Converts the DOM tree into an HTML string with code markup suitable for displaying the HTML's source code with CSS colors for different parts of the markup. See also htmlToCodeMarkup.

Inheritance

Constructors

CodeMarkupVisitor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
visit(Node node) → void
inherited
visitChildren(Node node) → void
inherited
visitComment(Comment node) → void
override
visitDocument(Document node) → void
override
visitDocumentFragment(DocumentFragment node) → void
inherited
visitDocumentType(DocumentType node) → void
override
visitElement(Element node) → void
override
visitNodeFallback(Node node) → void
The fallback handler if the more specific visit method hasn't been overriden. Only use this from a subclass of TreeVisitor, otherwise call visit instead.
inherited
visitText(Text node) → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited