visitFunctionDeclaration method

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

Implementation

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