
    X-Ph                    B    d dl mZ d dlmZ d dlmZ d dlmZ 	 dddZdS )    )annotations)Errors)MypyFile)OptionsFsourcestr | bytesfnamstrmodule
str | Noneerrorsr   optionsr   raise_on_errorboolreturnr   c                    |j         |                     |           } ddl}|j                            | ||||          }|r(|                                r|                                 |S )a#  Parse a source file, without doing any semantic analysis.

    Return the parse tree. If errors is not provided, raise ParseError
    on failure. Otherwise, use the errors object to report parse errors.

    The python_version (major, minor) option determines the Python syntax variant.
    Nr   )r	   r   r   r   )transform_sourcemypy.fastparse	fastparseparse	is_errorsraise_error)r   r	   r   r   r   r   mypytrees           J/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/mypy/parse.pyr   r      s     +))&11>T&Y`aaD &**,, K    N)F)r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   )	
__future__r   mypy.errorsr   
mypy.nodesr   mypy.optionsr   r    r   r   <module>r"      su    " " " " " "                         !      r   