visitInterpolation method
Replaces each expression in an interpolation
.
The default implementation of the visit methods call this to visit any interpolation in an expression.
Implementation
@protected
Interpolation visitInterpolation(Interpolation interpolation) =>
Interpolation(
interpolation.contents
.map((node) => node is Expression ? node.accept(this) : node),
interpolation.spans,
interpolation.span);