
    Mh                     *    d Z d Z G d d          ZdS )zU
This file is about errors in Python files and not about exception handling in
Jedi.
c                 @    d |                      |          D             S )Nc                 ,    g | ]}t          |          S  )SyntaxError).0es     O/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/jedi/api/errors.py
<listcomp>z(parso_to_jedi_errors.<locals>.<listcomp>   s    EEEqKNNEEE    )iter_errors)grammarmodule_nodes     r   parso_to_jedi_errorsr      s$    EEG$7$7$D$DEEEEr
   c                   |    e Zd ZdZd Zed             Zed             Zed             Zed             Z	d Z
d Zd	S )
r   zK
    Syntax errors are generated by :meth:`.Script.get_syntax_errors`.
    c                     || _         d S N)_parso_error)selfparso_errors     r   __init__zSyntaxError.__init__   s    'r
   c                 &    | j         j        d         S )z2The line where the error starts (starting with 1).    r   	start_posr   s    r   linezSyntaxError.line         *1--r
   c                 &    | j         j        d         S )z4The column where the error starts (starting with 0).   r   r   s    r   columnzSyntaxError.column   r   r
   c                 &    | j         j        d         S )z0The line where the error ends (starting with 1).r   r   end_posr   s    r   
until_linezSyntaxError.until_line         (++r
   c                 &    | j         j        d         S )z2The column where the error ends (starting with 0).r   r!   r   s    r   until_columnzSyntaxError.until_column!   r$   r
   c                     | j         j        S r   )r   messager   s    r   get_messagezSyntaxError.get_message&   s     ((r
   c                 V    d| j         j        d| j        j        d| j        j        dS )N<z from=z to=>)	__class____name__r   r   r"   r   s    r   __repr__zSyntaxError.__repr__)   s:     N###'''%%%
 	
r
   N)r.   
__module____qualname____doc__r   propertyr   r   r#   r&   r)   r/   r   r
   r   r   r      s         ( ( ( . . X. . . X. , , X, , , X,) ) )
 
 
 
 
r
   r   N)r2   r   r   r   r
   r   <module>r4      sS    F F F#
 #
 #
 #
 #
 #
 #
 #
 #
 #
r
   