accept method

  1. @override
void accept (covariant VisitorBase visitor)
override

Implementation

@override
void accept(covariant VisitorBase visitor) {
  value = visitor.visit(value);

//2.3.1
//  Assignment.prototype.accept = function (visitor) {
//      this.value = visitor.visit(this.value);
//  };
}