constructor(reporter, validate) {
    this.reporter_ = reporter;
    this.validate_ = validate;
    this.treeTransformers_ = [];
  }
@param {ErrorReporter} reporter
@param {boolean} validate ParseTreeValidator after every transform