accept method

void accept (VisitorBase visitor)

Implementation

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

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