visitCallableDeclaration method

  1. @protected
void visitCallableDeclaration(
  1. CallableDeclaration node
)
override

Visits each of node's children.

The default implementations of visitFunctionRule and visitMixinRule call this.

Implementation

@protected
void visitCallableDeclaration(CallableDeclaration node) {
  for (var argument in node.arguments.arguments) {
    argument.defaultValue.andThen(visitExpression);
  }
  super.visitCallableDeclaration(node);
}