
    Ki                         d Z ddlmZ ddlmZmZmZmZm	Z	m
Z
mZmZmZmZmZmZmZmZ de_         de
_         de
j&                  _         de
j(                  _          G d	 d
e      Zg dZy)z3Python bindings to the Tree-sitter parsing library.    )Protocol   )LanguageLogTypeLookaheadIteratorNodeParserPointQueryQueryCursor
QueryErrorRangeTree
TreeCursorLANGUAGE_VERSIONMIN_COMPATIBLE_LANGUAGE_VERSIONzThe type of a log message.zGA position in a multi-line text document, in terms of rows and columns.z#The zero-based row of the document.z&The zero-based column of the document.c                       e Zd ZdZd Zy)QueryPredicatez0A custom query predicate that runs on a pattern.c                      y)a`  
        Parameters
        ----------

        predicate : str
            The name of the predicate.
        args : list[tuple[str, typing.Literal['capture', 'string']]]
            The arguments to the predicate.
        pattern_index : int
            The index of the pattern within the query.
        captures : dict[str, list[Node]]
            The captures contained in the pattern.

        Returns
        -------
        ``True`` if the predicate matches, ``False`` otherwise.

        Tip
        ---
        You don't need to create an actual class, just a function with this signature.
        N )self	predicateargspattern_indexcapturess        `/home/jay/workspace/scripts/.codegraph-venv/lib/python3.12/site-packages/tree_sitter/__init__.py__call__zQueryPredicate.__call__   s        N)__name__
__module____qualname____doc__r   r   r   r   r   r      s
    :r   r   )r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   N)r"   typingr   	_Protocol_bindingr   r   r   r   r	   r
   r   r   r   r   r   r   r   r   rowcolumnr   __all__r   r   r   <module>r)      sZ    9 (   " /Y9		 ? Y 4r   