private void parseDocument() {
    final PsiBuilder.Marker marker = mark();
    if (myBuilder.getTokenType() == DOCUMENT_MARKER) {
      advanceLexer();
    }
    parseBlockNode(myIndent, false);
    dropEolMarker();
    marker.done(YAMLElementTypes.DOCUMENT);
  }
private void parseDocument()