void (PsiBuilder builder) { PsiBuilder.Marker marker = builder.mark(); if (!advanceIfMatches(builder, JqlTokenTypes.ORDER_KEYWORD)) { marker.drop(); return; } if (!advanceIfMatches(builder, JqlTokenTypes.BY_KEYWORD)) { builder.error(TaskBundle.message("parsing.error.expecting.by")); marker.done(JqlElementTypes.ORDER_BY); return; } if (parseSortKey(builder)) { while (advanceIfMatches(builder, JqlTokenTypes.COMMA)) { if (!parseSortKey(builder)) { break; } } } marker.done(JqlElementTypes.ORDER_BY); }