TreeVisitor class Null safety

A simple tree visitor for the DOM nodes.

Implementers

Constructors

TreeVisitor()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
visit(Node node) → void
visitChildren(Node node) → void
visitComment(Comment node) → void
visitDocument(Document node) → void
visitDocumentFragment(DocumentFragment node) → void
visitDocumentType(DocumentType node) → void
visitElement(Element node) → void
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.
visitText(Text node) → void

Operators

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