visitFunctionDeclaration method

  1. @override
void visitFunctionDeclaration (
  1. FunctionDeclaration node
)
override

Implementation

@override
void visitFunctionDeclaration(FunctionDeclaration node) {
  if (node.parent is! FunctionDeclarationStatement) {
    _declarationNode = node;
  } else {
    super.visitFunctionDeclaration(node);
  }
}