docs: function (curBlock, parentBlock, loc) {
      var input = this.input;
      var order = ['GlobalBlock', 'DomainBlock', 'LocationBlock'];
      var curIndex = order.indexOf(curBlock);
      var parentIndex = order.indexOf(parentBlock);
  
      if (curIndex - parentIndex !== 1) {
        input.error(
          curBlock + ' should be wrapped in ' + order[curIndex - 1],
          loc.start.line,
          loc.start.column
        );
      }
    }