QueryCursor
===========

.. autoclass:: tree_sitter.QueryCursor

   Methods
   -------

   .. automethod:: captures
   .. automethod:: matches
   .. automethod:: set_byte_range
   .. automethod:: set_containing_byte_range

      .. versionadded:: 0.26.0
   .. automethod:: set_containing_point_range

      .. versionadded:: 0.26.0
   .. automethod:: set_max_start_depth
   .. automethod:: set_point_range

   Attributes
   ----------

   .. autoattribute:: did_exceed_match_limit
   .. autoattribute:: match_limit
