
    Ng'                        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dS )    )IntEnumNc                   .    e Zd ZdZdZdZdZdZdZdZ	dZ
d	S )
LexerActionTyper                        N)__name__
__module____qualname__CHANNELCUSTOMMODEMOREPOP_MODE	PUSH_MODESKIPTYPE     R/var/www/html/ai-engine/env/lib/python3.11/site-packages/antlr4/atn/LexerAction.pyr   r      s6        GFDDHIDDDDr   r   c                   *    e Zd ZdZdefdZd Zd ZdS )LexerAction
actionTypeisPositionDependentactionc                 "    || _         d| _        d S )NFr   )selfr    s     r   __init__zLexerAction.__init__   s     #(   r   c                 *    t          | j                  S N)hashr   r"   s    r   __hash__zLexerAction.__hash__   s    DO$$$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      sR        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                   d S r%   )superr#   r   r   r"   	__class__s    r   r#   zLexerSkipAction.__init__0   $    -.....r   lexerc                 .    |                                  d S r%   )skipr"   r5   s     r   executezLexerSkipAction.execute3       

r   c                     dS )Nr7   r   r'   s    r   __str__zLexerSkipAction.__str__6       vr   	r   r   r   INSTANCEr#   Lexerr9   r<   __classcell__r3   s   @r   r/   r/   +   si         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                 l    t                                          t          j                   || _        d S r%   )r1   r#   r   r   rE   )r"   rE   r3   s     r   r#   zLexerTypeAction.__init__@   )    -...			r   r5   c                     | j         |_         d S r%   )rE   r8   s     r   r9   zLexerTypeAction.executeD   s    Y


r   c                 8    t          | j        | j        f          S r%   )r&   r   rE   r'   s    r   r(   zLexerTypeAction.__hash__G       T_di0111r   c                 \    | |u rdS t          |t                    sdS | j        |j        k    S NTF)
isinstancerD   rE   r*   s     r   r,   zLexerTypeAction.__eq__J   6    5==4E?33 	+59
**r   c                 6    dt          | j                  z   dz   S )Nztype())strrE   r'   s    r   r<   zLexerTypeAction.__str__R       TY'#--r   r   r   r   r-   intr#   r@   r9   r(   r,   r<   rA   rB   s   @r   rD   rD   =   s        IC      E    2 2 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                 l    t                                          t          j                   || _        d S r%   )r1   r#   r   r   rW   r"   rW   r3   s     r   r#   zLexerPushModeAction.__init__[   s)    2333			r   r5   c                 :    |                     | j                   d S r%   )pushModerW   r8   s     r   r9   zLexerPushModeAction.executea   s    ty!!!!!r   c                 8    t          | j        | j        f          S r%   r&   r   rW   r'   s    r   r(   zLexerPushModeAction.__hash__d   rJ   r   c                 \    | |u rdS t          |t                    sdS | j        |j        k    S rL   )rM   rV   rW   r*   s     r   r,   zLexerPushModeAction.__eq__g   s7    5==4E#677 	+59
**r   c                 6    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 2 2+ + +2 2 2 2 2 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                   d S r%   )r1   r#   r   r   r2   s    r   r#   zLexerPopModeAction.__init__{   s$    122222r   r5   c                 .    |                                  d S r%   )popModer8   s     r   r9   zLexerPopModeAction.execute   s    r   c                     dS )Nre   r   r'   s    r   r<   zLexerPopModeAction.__str__   s    yr   r>   rB   s   @r   rb   rb   w   sg        H3 3 3 3 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                   d S r%   )r1   r#   r   r   r2   s    r   r#   zLexerMoreAction.__init__   r4   r   r5   c                 .    |                                  d S r%   )morer8   s     r   r9   zLexerMoreAction.execute   r:   r   c                     dS )Nrk   r   r'   s    r   r<   zLexerMoreAction.__str__   r=   r   r>   rB   s   @r   rh   rh      sg        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                 l    t                                          t          j                   || _        d S r%   )r1   r#   r   r   rW   rY   s     r   r#   zLexerModeAction.__init__   rG   r   r5   c                 :    |                     | j                    d S r%   )rW   r8   s     r   r9   zLexerModeAction.execute   s    

49r   c                 8    t          | j        | j        f          S r%   r]   r'   s    r   r(   zLexerModeAction.__hash__   rJ   r   c                 \    | |u rdS t          |t                    sdS | j        |j        k    S rL   )rM   rn   rW   r*   s     r   r,   zLexerModeAction.__eq__   rN   r   c                 6    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 2 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                     t                                          t          j                   || _        || _        d| _        d S NT)r1   r#   r   r   rv   rw   r   )r"   rv   rw   r3   s      r   r#   zLexerCustomAction.__init__   s;    /000"&#'   r   r5   c                 H    |                     d | j        | j                   d S r%   )r    rv   rw   r8   s     r   r9   zLexerCustomAction.execute   s#    T4>4+;<<<<<r   c                 D    t          | j        | j        | j        f          S r%   )r&   r   rv   rw   r'   s    r   r(   zLexerCustomAction.__hash__   s    T_dnd6FGHHHr   c                 |    | |u rdS t          |t                    sdS | j        |j        k    o| j        |j        k    S rL   )rM   ru   rv   rw   r*   s     r   r,   zLexerCustomAction.__eq__   sH    5==4E#455 	_5>U_4^9IUM^9^^r   )r   r   r   r-   rT   r#   r@   r9   r(   r,   rA   rB   s   @r   ru   ru      s        ,I( (# ( ( ( ( ( (=E = = = =I I 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                 l    t                                          t          j                   || _        d S r%   )r1   r#   r   r   r   )r"   r   r3   s     r   r#   zLexerChannelAction.__init__   s)    0111r   r5   c                     | j         |_        d S r%   )r   _channelr8   s     r   r9   zLexerChannelAction.execute   s    r   c                 8    t          | j        | j        f          S r%   )r&   r   r   r'   s    r   r(   zLexerChannelAction.__hash__   s    T_dl3444r   c                 \    | |u rdS t          |t                    sdS | j        |j        k    S rL   )rM   r~   r   r*   s     r   r,   zLexerChannelAction.__eq__   s7    5==4E#566 	15<5=00r   c                 6    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 5 51 1 14 4 4 4 4 4 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                 ~    t                                          |j                   || _        || _        d| _        d S ry   )r1   r#   r   r   r    r   )r"   r   r    r3   s      r   r#   z!LexerIndexedCustomAction.__init__  s:    *+++#'   r   r5   c                 :    | j                             |           d S r%   )r    r9   r8   s     r   r9   z LexerIndexedCustomAction.execute  s    E"""""r   c                 D    t          | j        | j        | j        f          S r%   )r&   r   r   r    r'   s    r   r(   z!LexerIndexedCustomAction.__hash__!  s    T_dk4;?@@@r   c                 |    | |u rdS t          |t                    sdS | j        |j        k    o| j        |j        k    S rL   )rM   r   r   r    r*   s     r   r,   zLexerIndexedCustomAction.__eq__$  sF    5==4E#;<< 	O5;%,.N4;%,3NNr   )r   r   r   r-   rT   r   r#   r@   r9   r(   r,   rA   rB   s   @r   r   r     s        $I(c (+ ( ( ( ( ( (#E # # # #A A AO O O O O O Or   r   )enumr   r@   r   objectr   r/   r?   rD   rV   rb   rh   rn   ru   r~   r   r   r   r   <module>r      sE         		 	 	 	 	g 	 	 	    &   &    k    +?,, . . . . .k . . .62 2 2 2 2+ 2 2 2>        1022      k    +?,, . . . . .k . . .F_ _ _ _ _ _ _ _F4 4 4 4 4 4 4 4H#O #O #O #O #O{ #O #O #O #O #Or   