diff --git a/lib/solargraph/source_map/clip.rb b/lib/solargraph/source_map/clip.rb
index <HASH>..<HASH> 100644
--- a/lib/solargraph/source_map/clip.rb
+++ b/lib/solargraph/source_map/clip.rb
@@ -57,13 +57,6 @@ module Solargraph
         cursor.chain.infer(api_map, context_pin, locals)
       end
 
-      # The context at the current position.
-      #
-      # @return [Pin::Base]
-      def context_pin
-        @context ||= source_map.locate_named_path_pin(cursor.node_position.line, cursor.node_position.character)
-      end
-
       # Get an array of all the locals that are visible from the cursors's
       # position. Locals can be local variables, method parameters, or block
       # parameters. The array starts with the nearest local pin.
@@ -93,6 +86,13 @@ module Solargraph
         @block ||= source_map.locate_block_pin(cursor.node_position.line, cursor.node_position.character)
       end
 
+      # The context at the current position.
+      #
+      # @return [Pin::Base]
+      def context_pin
+        @context ||= source_map.locate_named_path_pin(cursor.node_position.line, cursor.node_position.character)
+      end
+
       # @param cursor [cursor]
       # @param result [Array<Pin::Base>]
       # @return [Completion]
Clip#context_pin is private.