visitFunctionDeclaration method

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

Implementation

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