visitDeclarationGroup method

  1. @override
void visitDeclarationGroup(
  1. DeclarationGroup node
)
override

Implementation

@override
void visitDeclarationGroup(DeclarationGroup node) {
  var index = node.declarations.length;
  while (--index >= 0) {
    if (_nodesToRemove(node.declarations[index])) {
      node.declarations.removeAt(index);
    }
  }
  super.visitDeclarationGroup(node);
}