Allow the computation of the base priority for a declaration code completion result to consider the completion context