private static void parseDirective(PsiBuilder builder, String indent, PsiBuilder.Marker marker) {
    while (builder.getTokenType() == RestTokenTypes.FIELD) {
      parseFieldList(builder);
    }
    gotoNextWhiteSpaces(builder);
    skipBlankLines(builder);
    if (indent.equals(builder.getTokenText())) {
      builder.advanceLexer();
      parseDirective(builder, indent, marker);
    }
    else {
      marker.done(RestElementTypes.DIRECTIVE_BLOCK);
    }
  }
private static void parseDirective(PsiBuilder builder, String indent, PsiBuilder.Marker marker)