
    i                     @    S SK Jr  S SKJrJr  SrSr " S S\5      rCg)    )InputStream)LexerActionLexerIndexedCustomActionNc                       \ rS rSrSr\" 5       4S\4S jjr\S\S\	4S j5       r
S\4S	 jrS
\S\S\4S jrS rS rSrg)LexerActionExecutor   )lexerActionshashCoder	   c           
          Xl         [        SR                  U Vs/ s H  n[        U5      PM     sn5      5      U l        g s  snf )N )r	   hashjoinstrr
   )selfr	   las      ]/var/www/html/ai-image-ml/venv/lib/python3.13/site-packages/antlr4/atn/LexerActionExecutor.py__init__LexerActionExecutor.__init__   s5    ( RWW%E"c"g%EFG%Es   AlexerActionExecutorlexerActionc                 V    U c  [        U/5      $ U R                  U/-   n[        U5      $ N)r   r	   )r   r   r	   s      r   appendLexerActionExecutor.append-   s2    &&77*77K/I"<00    offsetc                 t   S n[        S[        U R                  5      5       H  nU R                  U   R                  (       d  M#  [	        U R                  U   [
        5      (       a  MG  Uc  U R                   Vs/ s H  oDPM     nn[        XR                  U   5      X#'   M     Uc  U $ [        U5      $ s  snf )Nr   )rangelenr	   isPositionDependent
isinstancer   r   )r   r   updatedLexerActionsir   s        r   fixOffsetBeforeMatch(LexerActionExecutor.fixOffsetBeforeMatchQ   s    "q#d//01A  #777
4K\K\]^K_ay@z@z&.9=9J9J*L9J2B9J'*L)A&J[J[\]J^)_#&	 2 &K&':;; +Ms   :B5lexerinput
startIndexc                    SnUR                   n U R                   H  n[        U[        5      (       a3  UR                  nUR                  X7-   5        UR                  nX7-   U:g  nO$UR                  (       a  UR                  U5        SnUR                  U5        M     U(       a  UR                  U5        g g ! U(       a  UR                  U5        f f = f)NF)	indexr	   r!   r   r   seekactionr    execute)r   r&   r'   r(   requiresSeek	stopIndexr   r   s           r   r-   LexerActionExecutor.executeq   s    KK		&#00k+CDD(//FJJz23"-"4"4K$.$7I#EL 44JJy)#(L##E*  1 

9% |

9% s   BB: :Cc                     U R                   $ r   )r
   )r   s    r   __hash__LexerActionExecutor.__hash__   s    }}r   c                     XL a  g[        U[        5      (       d  gU R                  UR                  :H  =(       a    U R                  UR                  :H  $ )NTF)r!   r   r
   r	   )r   others     r   __eq__LexerActionExecutor.__eq__   sI    =E#677==ENN2 <%%););;<r   )r
   r	   N)__name__
__module____qualname____firstlineno__	__slots__listr   staticmethodr   r   r   intr$   Lexerr   r-   r2   r6   __static_attributes__ r   r   r   r      so    ,I)- HD H( 1#6 1[ 1 1F<# <@&E & & &$<r   r   )antlr4.InputStreamr   antlr4.atn.LexerActionr   r   r@   r   objectrB   r   r   <module>rF      s.    + H 	 w<& w<r 
r   