visitFunctionDeclaration method

  1. @override
Map? visitFunctionDeclaration(
  1. FunctionDeclaration node
)
inherited

Implementation

@override
R? visitFunctionDeclaration(FunctionDeclaration node) {
  if (node.parent is FunctionDeclarationStatement) {
    return visitNode(node);
  }
  return visitNamedCompilationUnitMember(node);
}