visitInterpolation method

  1. @protected
void visitInterpolation(
  1. Interpolation interpolation
)

Visits each expression in an interpolation.

The default implementation of the visit methods call this to visit any interpolation in a statement.

Implementation

@protected
void visitInterpolation(Interpolation interpolation) {
  for (var node in interpolation.contents) {
    if (node is Expression) visitExpression(node);
  }
}