visitBreakStatement method

  1. @override
bool visitBreakStatement (
  1. BreakStatement node
)
override

Implementation

@override
bool visitBreakStatement(BreakStatement node) {
  if (identical(node.label, _oldNode)) {
    node.label = _newNode as SimpleIdentifier;
    return true;
  }
  return visitNode(node);
}