
    kh'                     N   d dl mZ dZ G d de      Z G d de      Z G d de      Z e       e_         G d	 d
e      Z G d de      Z	 G d de      Z
 e
       e
_         G d de      Z e       e_         G d de      Z G d de      Z G d de      Z G d de      Zy)    )IntEnumNc                   ,    e Zd ZdZdZdZdZdZdZdZ	dZ
y	)
LexerActionTyper                        N)__name__
__module____qualname__CHANNELCUSTOMMODEMOREPOP_MODE	PUSH_MODESKIPTYPE     R/var/www/teggl/fontify/venv/lib/python3.12/site-packages/antlr4/atn/LexerAction.pyr   r      s*    GFDDHIDDr   r   c                   (    e Zd ZdZdefdZd Zd Zy)LexerAction
actionTypeisPositionDependentactionc                      || _         d| _        y )NFr   )selfr    s     r   __init__zLexerAction.__init__   s     #( r   c                 ,    t        | j                        S N)hashr   r"   s    r   __hash__zLexerAction.__hash__   s    DOO$$r   c                 
    | |u S r%   r   r"   others     r   __eq__zLexerAction.__eq__"   s    u}r   N)r   r   r   	__slots__r   r#   r(   r,   r   r   r   r   r      s    5I)o )%r   r   c                   4     e Zd ZdZ fdZdefdZd Z xZS )LexerSkipActionNc                 @    t         |   t        j                         y r%   )superr#   r   r   r"   	__class__s    r   r#   zLexerSkipAction.__init__0       --.r   lexerc                 $    |j                          y r%   )skipr"   r5   s     r   executezLexerSkipAction.execute3       

r   c                      y)Nr7   r   r'   s    r   __str__zLexerSkipAction.__str__6       r   	r   r   r   INSTANCEr#   Lexerr9   r<   __classcell__r3   s   @r   r/   r/   +   s      H/E r   r/   c                   F     e Zd ZdZdef fdZdefdZd Zd Z	d Z
 xZS )LexerTypeActiontypec                 N    t         |   t        j                         || _        y r%   )r1   r#   r   r   rE   )r"   rE   r3   s     r   r#   zLexerTypeAction.__init__@       --.	r   r5   c                 &    | j                   |_         y r%   )rE   r8   s     r   r9   zLexerTypeAction.executeD   s    YY
r   c                 D    t        | j                  | j                  f      S r%   )r&   r   rE   r'   s    r   r(   zLexerTypeAction.__hash__G       T__dii011r   c                 `    | |u ryt        |t              sy| j                  |j                  k(  S NTF)
isinstancerD   rE   r*   s     r   r,   zLexerTypeAction.__eq__J   ,    5=E?399

**r   c                 8    dt        | j                        z   dz   S )Nztype())strrE   r'   s    r   r<   zLexerTypeAction.__str__R       TYY'#--r   r   r   r   r-   intr#   r@   r9   r(   r,   r<   rA   rB   s   @r   rD   rD   =   s/    IC E 2+.r   rD   c                   F     e Zd ZdZdef fdZdefdZd Zd Z	d Z
 xZS )LexerPushModeActionmodec                 N    t         |   t        j                         || _        y r%   )r1   r#   r   r   rW   r"   rW   r3   s     r   r#   zLexerPushModeAction.__init__[   s    223	r   r5   c                 :    |j                  | j                         y r%   )pushModerW   r8   s     r   r9   zLexerPushModeAction.executea   s    tyy!r   c                 D    t        | j                  | j                  f      S r%   r&   r   rW   r'   s    r   r(   zLexerPushModeAction.__hash__d   rJ   r   c                 `    | |u ryt        |t              sy| j                  |j                  k(  S rL   )rM   rV   rW   r*   s     r   r,   zLexerPushModeAction.__eq__g   s-    5=E#6799

**r   c                 8    dt        | j                        z   dz   S )Nz	pushMode(rP   rQ   rW   r'   s    r   r<   zLexerPushModeAction.__str__o   s    S^+c11r   rS   rB   s   @r   rV   rV   X   s/    IC "E "2+2r   rV   c                   4     e Zd ZdZ fdZdefdZd Z xZS )LexerPopModeActionNc                 @    t         |   t        j                         y r%   )r1   r#   r   r   r2   s    r   r#   zLexerPopModeAction.__init__{   s    112r   r5   c                 $    |j                          y r%   )popModer8   s     r   r9   zLexerPopModeAction.execute   s    r   c                      y)Nre   r   r'   s    r   r<   zLexerPopModeAction.__str__   s    r   r>   rB   s   @r   rb   rb   w   s    H3E r   rb   c                   4     e Zd ZdZ fdZdefdZd Z xZS )LexerMoreActionNc                 @    t         |   t        j                         y r%   )r1   r#   r   r   r2   s    r   r#   zLexerMoreAction.__init__   r4   r   r5   c                 $    |j                          y r%   )morer8   s     r   r9   zLexerMoreAction.execute   r:   r   c                      y)Nrk   r   r'   s    r   r<   zLexerMoreAction.__str__   r=   r   r>   rB   s   @r   rh   rh      s    H/E r   rh   c                   F     e Zd ZdZdef fdZdefdZd Zd Z	d Z
 xZS )LexerModeActionrW   c                 N    t         |   t        j                         || _        y r%   )r1   r#   r   r   rW   rY   s     r   r#   zLexerModeAction.__init__   rG   r   r5   c                 :    |j                  | j                          y r%   )rW   r8   s     r   r9   zLexerModeAction.execute   s    

499r   c                 D    t        | j                  | j                  f      S r%   r]   r'   s    r   r(   zLexerModeAction.__hash__   rJ   r   c                 `    | |u ryt        |t              sy| j                  |j                  k(  S rL   )rM   rn   rW   r*   s     r   r,   zLexerModeAction.__eq__   rN   r   c                 8    dt        | j                        z   dz   S )Nzmode(rP   r`   r'   s    r   r<   zLexerModeAction.__str__   rR   r   rS   rB   s   @r   rn   rn      s/    IC E 2+.r   rn   c                   D     e Zd ZdZdedef fdZdefdZd Zd Z	 xZ
S )	LexerCustomAction)	ruleIndexactionIndexrv   rw   c                 j    t         |   t        j                         || _        || _        d| _        y NT)r1   r#   r   r   rv   rw   r   )r"   rv   rw   r3   s      r   r#   zLexerCustomAction.__init__   s-    //0"&#' r   r5   c                 R    |j                  d | j                  | j                         y r%   )r    rv   rw   r8   s     r   r9   zLexerCustomAction.execute   s    T4>>4+;+;<r   c                 Z    t        | j                  | j                  | j                  f      S r%   )r&   r   rv   rw   r'   s    r   r(   zLexerCustomAction.__hash__   s"    T__dnnd6F6FGHHr   c                     | |u ryt        |t              sy| j                  |j                  k(  xr | j                  |j                  k(  S rL   )rM   ru   rv   rw   r*   s     r   r,   zLexerCustomAction.__eq__   sC    5=E#45>>U__4^9I9IUM^M^9^^r   )r   r   r   r-   rT   r#   r@   r9   r(   r,   rA   rB   s   @r   ru   ru      s3    ,I( (# (=E =I_r   ru   c                   F     e Zd ZdZdef fdZdefdZd Zd Z	d Z
 xZS )LexerChannelActionchannelc                 N    t         |   t        j                         || _        y r%   )r1   r#   r   r   r   )r"   r   r3   s     r   r#   zLexerChannelAction.__init__   s    001r   r5   c                 &    | j                   |_        y r%   )r   _channelr8   s     r   r9   zLexerChannelAction.execute   s    r   c                 D    t        | j                  | j                  f      S r%   )r&   r   r   r'   s    r   r(   zLexerChannelAction.__hash__   s    T__dll344r   c                 `    | |u ryt        |t              sy| j                  |j                  k(  S rL   )rM   r~   r   r*   s     r   r,   zLexerChannelAction.__eq__   s-    5=E#56<<5==00r   c                 8    dt        | j                        z   dz   S )Nzchannel(rP   )rQ   r   r'   s    r   r<   zLexerChannelAction.__str__   s    C--33r   rS   rB   s   @r   r~   r~      s/    Is &E &514r   r~   c                   D     e Zd ZdZdedef fdZdefdZd Z	d Z
 xZS )	LexerIndexedCustomAction)offsetr    r   r    c                 b    t         |   |j                         || _        || _        d| _        y ry   )r1   r#   r   r   r    r   )r"   r   r    r3   s      r   r#   z!LexerIndexedCustomAction.__init__  s,    **+#' r   r5   c                 :    | j                   j                  |       y r%   )r    r9   r8   s     r   r9   z LexerIndexedCustomAction.execute  s    E"r   c                 Z    t        | j                  | j                  | j                  f      S r%   )r&   r   r   r    r'   s    r   r(   z!LexerIndexedCustomAction.__hash__!  s     T__dkk4;;?@@r   c                     | |u ryt        |t              sy| j                  |j                  k(  xr | j                  |j                  k(  S rL   )rM   r   r   r    r*   s     r   r,   zLexerIndexedCustomAction.__eq__$  s?    5=E#;<;;%,,.N4;;%,,3NNr   )r   r   r   r-   rT   r   r#   r@   r9   r(   r,   rA   rB   s   @r   r   r     s3    $I(c (+ (#E #AOr   r   )enumr   r@   r   objectr   r/   r?   rD   rV   rb   rh   rn   ru   r~   r   r   r   r   <module>r      s     		g 	& &k  +, .k .62+ 2>  12  k  +, .k .F_ _F4 4H#O{ #Or   