DescriptionMake TreeNode.visit return dynamic.
Subclasses of TreeNode already do `visit(visitor) =>
visitor.visitSomething(this)`, this just exposes it at the root of the tree
hierarchy. This is needed for package:html, where we have code that would do
the equivalent of `x = node.visit(myVisitor)`.
R=rnystrom@google.com
Committed: https://github.com/dart-lang/csslib/commit/a40f8abfe0c475fbc97cd14069f71496ea76552a
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|