code: function MessageTemplate(messageTemplate) {
          if (messageTemplate === null || !messageTemplate.length) {
              throw new Error('Argument "messageTemplate" is required.');
          }
          this.raw = messageTemplate;
          this.tokens = this.tokenize(messageTemplate);
      }
docs: Creates a new MessageTemplate instance with the given template.