function addResultMessages(messages) {
    if (messages) {
      for (let i = 0; i < messages.length; i++) {
        const tagged = {};
        tagged[1] = messages[i];
        parser.result_.push(tagged);
      }
    }
  }
@param {?Array<string>} messages Parsed messages