visitInterpolation method

  1. @protected
T? 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
T? visitInterpolation(Interpolation interpolation) => interpolation.contents
    .search((node) => node is Expression ? visitExpression(node) : null);