private static boolean isBinaryOperator(final @NotNull BinaryOperationParser parser, int level) {
    if (parser instanceof CustomBinaryOperationParser) {
      return ((CustomBinaryOperationParser)parser).isBinaryOperator(level);
    }
    final IElementType tokenType = parser.getTokenType();
    return parser.getOperatorsByPriority()[level].contains(tokenType);
  }
private static boolean isBinaryOperator(final @NotNull BinaryOperationParser parser, int level)