
    Ae                          G d  de       Z G d dee      Z G d dee      Z G d de      Z G d d	e      Z G d
 de      Z G d de      Z	 G d de      Z
y)c                       e Zd ZdZy)	PlexError N)__name__
__module____qualname__message     2lib/python3.12/site-packages/Cython/Plex/Errors.pyr   r   
   s    Gr
   r   c                       e Zd Zy)PlexTypeErrorNr   r   r   r	   r
   r   r   r          r
   r   c                       e Zd Zy)PlexValueErrorNr   r	   r
   r   r   r      r   r
   r   c                       e Zd Zy)InvalidRegexNr   r	   r
   r   r   r      r   r
   r   c                       e Zd Zd Zy)InvalidTokenc                 :    t         j                  | d||fz         y )NzToken number %d: %s)r   __init__)selftoken_numberr   s      r   r   zInvalidToken.__init__   s    4!6,9P!PQr
   N)r   r   r   r   r	   r
   r   r   r      s    Rr
   r   c                       e Zd Zy)InvalidScannerNr   r	   r
   r   r   r      r   r
   r   c                       e Zd ZdZd Zy)AmbiguousActionz;Two tokens with different actions can match the same stringc                      y Nr	   r   s    r   r   zAmbiguousAction.__init__&   s    r
   N)r   r   r   r   r   r	   r
   r   r   r   #   s    KGr
   r   c                   $    e Zd ZdZdZdZd Zd Zy)UnrecognizedInputNc                 J    || _         |j                         | _        || _        y r   )scannerget_positionposition
state_name)r   r$   r'   s      r   r   zUnrecognizedInput.__init__/   s     ,,.$r
   c                 <    d| j                   | j                  fz   z  S )Nz8'%s', line %d, char %d: Token not recognised in state %r)r&   r'   r    s    r   __str__zUnrecognizedInput.__str__4   s"    JMMT__..0 	1r
   )r   r   r   r$   r&   r'   r   r)   r	   r
   r   r"   r"   *   s    GHJ%
1r
   r"   N)	Exceptionr   	TypeErrorr   
ValueErrorr   r   r   r   r   r"   r	   r
   r   <module>r-      sk   	 	Iy 		Y
 		9 	R9 R
	Y 	i 1	 1r
   