docs: function (blockDef, blockIdx) {
                  var block = blockStats[blockIdx];
  
                  /**
                   * 'if' for start block check
                   */
                  if (blockDef.start.test(line) === true) {
  
                      block.lastStartLine = lineNum;
  
                      if (block.startCount > block.endCount) {
                          generateMessage({
                              pattern: line.trim(),
                              lineNum: block.lastStartLine,
                              caseNum: 1
                          });
                      }
  
                      block.startCount++;
                  }
  
  
                  /**
                   * 'if' for end block check
                   */
                  if (blockDef.end.test(line) === true) {
  
                      block.lastEndLine = lineNum;
  
                      if (block.endCount >= block.startCount) {
                          generateMessage({
                              pattern: line.trim(),
                              lineNum: block.lastEndLine,
                              caseNum: 2
                          });
                      }
  
                      block.endCount++;
                  }
              }