private void includeBlockEmptyTail(int indent) {
    if (indent == 0) {
      // top-level block with zero indent
      while (isJunk()) {
        if (getTokenType() == EOL) {
          if (!YAMLElementTypes.BLANK_ELEMENTS.contains(myBuilder.lookAhead(1))) {
            // do not include last \n into block
            break;
          }
        }
        advanceLexer();
        dropEolMarker();
      }
    }
    else {
      PsiBuilder.Marker endOfBlock = mark();
      while (isJunk()) {
        if (getTokenType() == INDENT && getCurrentTokenLength() >= indent) {
            dropEolMarker();
            endOfBlock.drop();
            advanceLexer();
            endOfBlock = mark();
        } else {
          advanceLexer();
          dropEolMarker();
        }
      }
      endOfBlock.rollbackTo();
    }
  }
private void includeBlockEmptyTail(int indent)