visitTopLevelVariableDeclaration method

  1. @override
bool visitTopLevelVariableDeclaration (TopLevelVariableDeclaration node)
override

Implementation

@override
bool visitTopLevelVariableDeclaration(TopLevelVariableDeclaration node) {
  if (identical(node.variables, _oldNode)) {
    node.variables = _newNode as VariableDeclarationList;
    return true;
  }
  return visitAnnotatedNode(node);
}