public SemanticEditorPosition beforeOptional(@NotNull SyntaxElement syntaxElement) {
    return copyAnd(position -> position.moveBeforeOptional(syntaxElement));
  }
public SemanticEditorPosition beforeOptional(@NotNull SyntaxElement syntaxElement)