o
    Ûôj'  ã                   @   sÜ   d dl mZ dZG dd„ deƒZG dd„ deƒZG dd„ deƒZeƒ e_G d	d
„ d
eƒZG dd„ deƒZ	G dd„ deƒZ
e
ƒ e
_G dd„ deƒZeƒ e_G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZdS )é    )ÚIntEnumNc                   @   s,   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   r   úi/var/www/html/academy/tools/voices/clone/cosy-venv/lib/python3.10/site-packages/antlr4/atn/LexerAction.pyr      s    r   c                   @   s.   e Zd ZdZdefdd„Zdd„ Zdd„ Zd	S )
ÚLexerAction©Ú
actionTypeÚisPositionDependentÚactionc                 C   s   || _ d| _d S )NFr   )Úselfr   r   r   r   Ú__init__   s   
zLexerAction.__init__c                 C   s
   t | jƒS ©N)Úhashr   ©r   r   r   r   Ú__hash__   s   
zLexerAction.__hash__c                 C   s   | |u S r   r   ©r   Úotherr   r   r   Ú__eq__"   s   zLexerAction.__eq__N)r   r   r   Ú	__slots__r   r   r"   r%   r   r   r   r   r      s
    r   c                       ó6   e Zd ZdZ‡ fdd„Zdefdd„Zdd„ Z‡  ZS )	ÚLexerSkipActionNc                    ó   t ƒ  tj¡ d S r   )Úsuperr   r   r   r!   ©Ú	__class__r   r   r   0   ó   zLexerSkipAction.__init__Úlexerc                 C   ó   |  ¡  d S r   )Úskip©r   r.   r   r   r   Úexecute3   ó   zLexerSkipAction.executec                 C   ó   dS )Nr0   r   r!   r   r   r   Ú__str__6   ó   zLexerSkipAction.__str__©	r   r   r   ÚINSTANCEr   ÚLexerr2   r5   Ú__classcell__r   r   r+   r   r(   +   s
    r(   c                       óL   e Zd ZdZdef‡ fdd„Zdefdd„Zdd„ Zd	d
„ Z	dd„ Z
‡  ZS )ÚLexerTypeActionÚtypec                    ó   t ƒ  tj¡ || _d S r   )r*   r   r   r   r=   )r   r=   r+   r   r   r   @   ó   
zLexerTypeAction.__init__r.   c                 C   s   | j |_ d S r   )r=   r1   r   r   r   r2   D   r3   zLexerTypeAction.executec                 C   ó   t | j| jfƒS r   )r    r   r=   r!   r   r   r   r"   G   ó   zLexerTypeAction.__hash__c                 C   ó&   | |u rdS t |tƒsdS | j|jkS ©NTF)Ú
isinstancer<   r=   r#   r   r   r   r%   J   ó
   
zLexerTypeAction.__eq__c                 C   ó   dt | jƒ d S )Nztype(ú))Ústrr=   r!   r   r   r   r5   R   r-   zLexerTypeAction.__str__©r   r   r   r&   Úintr   r9   r2   r"   r%   r5   r:   r   r   r+   r   r<   =   s    r<   c                       r;   )ÚLexerPushModeActionÚmodec                    r>   r   )r*   r   r   r   rL   ©r   rL   r+   r   r   r   [   r?   zLexerPushModeAction.__init__r.   c                 C   s   |  | j¡ d S r   )ÚpushModerL   r1   r   r   r   r2   a   rA   zLexerPushModeAction.executec                 C   r@   r   ©r    r   rL   r!   r   r   r   r"   d   rA   zLexerPushModeAction.__hash__c                 C   rB   rC   )rD   rK   rL   r#   r   r   r   r%   g   rE   zLexerPushModeAction.__eq__c                 C   rF   )Nz	pushMode(rG   ©rH   rL   r!   r   r   r   r5   o   r-   zLexerPushModeAction.__str__rI   r   r   r+   r   rK   X   ó    rK   c                       r'   )	ÚLexerPopModeActionNc                    r)   r   )r*   r   r   r   r!   r+   r   r   r   {   r-   zLexerPopModeAction.__init__r.   c                 C   r/   r   )ÚpopModer1   r   r   r   r2      r3   zLexerPopModeAction.executec                 C   r4   )NrS   r   r!   r   r   r   r5   ‚   r6   zLexerPopModeAction.__str__r7   r   r   r+   r   rR   w   ó
    rR   c                       r'   )	ÚLexerMoreActionNc                    r)   r   )r*   r   r   r   r!   r+   r   r   r   �   r-   zLexerMoreAction.__init__r.   c                 C   r/   r   )Úmorer1   r   r   r   r2   “   r3   zLexerMoreAction.executec                 C   r4   )NrV   r   r!   r   r   r   r5   –   r6   zLexerMoreAction.__str__r7   r   r   r+   r   rU   ‹   rT   rU   c                       r;   )ÚLexerModeActionrL   c                    r>   r   )r*   r   r   r   rL   rM   r+   r   r   r       r?   zLexerModeAction.__init__r.   c                 C   s   |  | j ¡ d S r   )rL   r1   r   r   r   r2   ¦   rA   zLexerModeAction.executec                 C   r@   r   rO   r!   r   r   r   r"   ©   rA   zLexerModeAction.__hash__c                 C   rB   rC   )rD   rW   rL   r#   r   r   r   r%   ¬   rE   zLexerModeAction.__eq__c                 C   rF   )Nzmode(rG   rP   r!   r   r   r   r5   ´   r-   zLexerModeAction.__str__rI   r   r   r+   r   rW   �   rQ   rW   c                       sH   e Zd ZdZdedef‡ fdd„Zdefdd„Zd	d
„ Zdd„ Z	‡  Z
S )ÚLexerCustomAction)Ú	ruleIndexÚactionIndexrY   rZ   c                    s$   t ƒ  tj¡ || _|| _d| _d S ©NT)r*   r   r   r   rY   rZ   r   )r   rY   rZ   r+   r   r   r   Ë   ó   
zLexerCustomAction.__init__r.   c                 C   s   |  d | j| j¡ d S r   )r   rY   rZ   r1   r   r   r   r2   Ó   s   zLexerCustomAction.executec                 C   ó   t | j| j| jfƒS r   )r    r   rY   rZ   r!   r   r   r   r"   Ö   ó   zLexerCustomAction.__hash__c                 C   ó2   | |u rdS t |tƒsdS | j|jko| j|jkS rC   )rD   rX   rY   rZ   r#   r   r   r   r%   Ù   ó
   
zLexerCustomAction.__eq__)r   r   r   r&   rJ   r   r9   r2   r"   r%   r:   r   r   r+   r   rX   À   s    
rX   c                       r;   )ÚLexerChannelActionÚchannelc                    r>   r   )r*   r   r   r   rb   )r   rb   r+   r   r   r   è   r?   zLexerChannelAction.__init__r.   c                 C   s   | j |_d S r   )rb   Ú_channelr1   r   r   r   r2   î   r3   zLexerChannelAction.executec                 C   r@   r   )r    r   rb   r!   r   r   r   r"   ñ   rA   zLexerChannelAction.__hash__c                 C   rB   rC   )rD   ra   rb   r#   r   r   r   r%   ô   rE   zLexerChannelAction.__eq__c                 C   rF   )Nzchannel(rG   )rH   rb   r!   r   r   r   r5   ü   r-   zLexerChannelAction.__str__rI   r   r   r+   r   ra   ã   s    ra   c                       sH   e Zd ZdZdedef‡ fdd„Zdefdd„Zd	d
„ Z	dd„ Z
‡  ZS )ÚLexerIndexedCustomAction)Úoffsetr   re   r   c                    s$   t ƒ  |j¡ || _|| _d| _d S r[   )r*   r   r   re   r   r   )r   re   r   r+   r   r   r     r\   z!LexerIndexedCustomAction.__init__r.   c                 C   s   | j  |¡ d S r   )r   r2   r1   r   r   r   r2     s   z LexerIndexedCustomAction.executec                 C   r]   r   )r    r   re   r   r!   r   r   r   r"   !  r^   z!LexerIndexedCustomAction.__hash__c                 C   r_   rC   )rD   rd   re   r   r#   r   r   r   r%   $  r`   zLexerIndexedCustomAction.__eq__)r   r   r   r&   rJ   r   r   r9   r2   r"   r%   r:   r   r   r+   r   rd     s    rd   )Úenumr   r9   r   Úobjectr   r(   r8   r<   rK   rR   rU   rW   rX   ra   rd   r   r   r   r   Ú<module>   s    ##$