+
    ¿Ìjä  ã                   ó’   € R t ^ RIHtHt ^ RIHtHt ^RIHt ^RI	H
t
 ^RIHt  ! R R]4      t ! R R	]
]4      t ! R
 R]4      tR# )z@Provides a post-lexer for implementing Python-style indentation.)ÚABCÚabstractmethod)ÚListÚIterator)Ú	LarkError)ÚPostLex)ÚTokenc                   ó   € ] tR t^tRtR# )ÚDedentError© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__static_attributes__r   ó    Úg/home/l0st/web/w4ttz.lol/public_html/toolz/MsgDoxxer/venv/lib/python3.14/site-packages/lark/indenter.pyr
   r
      s   † Ûr   r
   c                   óT  a € ] tR t^t o RtV 3R lR ltV 3R lR ltR tR t]	R 4       t
]	]V 3R	 lR
 l4       4       t]	]V 3R lR l4       4       t]	]V 3R lR l4       4       t]	]V 3R lR l4       4       t]	]V 3R lR l4       4       t]	]V 3R lR l4       4       tV 3R ltRtV tR# )ÚIndenterañ  This is a postlexer that "injects" indent/dedent tokens based on indentation.

It keeps track of the current indentation, as well as the current level of parentheses.
Inside parentheses, the indentation is ignored, and no indent/dedent tokens get generated.

Note: This is an abstract class. To use it, inherit and implement all its abstract methods:
    - tab_len
    - NL_type
    - OPEN_PAREN_types, CLOSE_PAREN_types
    - INDENT_type, DEDENT_type

See also: the ``postlex`` option in `Lark`.
c                ó   <€ V ^8„  d   QhRR/# )é   ÚreturnNr   )ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚIndenter.__annotate__    s   ø€ ÷  ñ  ˜$ñ  r   c                óJ   € ^ V n         ^ .V n        V P                  ^ 8”  g   Q hR# )é    N)Úparen_levelÚindent_levelÚtab_len©Úselfs   &r   Ú__init__ÚIndenter.__init__    s&   € ØˆÔØ˜CˆÔØ�|‰|˜aÔÐÒr   c                ó6   <€ V ^8„  d   QhRS[ RS[S[ ,          /# )r   Útokenr   )r   r   )r   r   s   "€r   r   r   %   s#   ø€ ÷ }ñ }™uð }©±%­ñ }r   c              #  ó®  "  € V P                   ^ 8”  d   R# Vx € VP                  R^4      ^,          pVP                  R4      VP                  R4      V P                  ,          ,           pW0P                  R,          8”  dA   V P                  P                  V4       \        P                  ! V P                  W!4      x € R# W0P                  R,          8  d@   V P                  P                  4        \        P                  ! V P                  W!4      x € KV  W0P                  R,          8w  d%   \        RV: RV P                  R,          : 24      hR# 5i)r   NÚ
Ú Ú	zUnexpected dedent to column z. Expected dedent to éÿÿÿÿ)r   ÚrsplitÚcountr    r   Úappendr   Únew_borrow_posÚINDENT_typeÚpopÚDEDENT_typer
   )r"   r&   Ú
indent_strÚindents   &&  r   Ú	handle_NLÚIndenter.handle_NL%   s  é € Ø×Ñ˜aÔÙàŠà—\‘\ $¨Ó*¨1Õ-ˆ
Ø×!Ñ! #Ó&¨×)9Ñ)9¸$Ó)?À$Ç,Á,Õ)NÕNˆà×%Ñ% bÕ)Ô)Ø×Ñ×$Ñ$ VÔ,Ü×&Ò& t×'7Ñ'7¸ÓKÔKà×,Ñ,¨RÕ0Ô0Ø×!Ñ!×%Ñ%Ô'Ü×*Ò*¨4×+;Ñ+;¸ZÓOÔOà×*Ñ*¨2Õ.Ô.Ý!Ó]cÐei×evÑevÐwy×ezÐ"{Ó|Ð|ñ /ùs   ‚EEc           
   #  óÜ  "  € R pV F»  pVP                   V P                  8X  d   V P                  V4       R j  x€L
  MVx € VP                   V P                  9   d   V ;P                  ^,          un        Kr  VP                   V P
                  9   g   K�  V ;P                  ^,          un        V P                  ^ 8¼  d   K»  Q h	  \        V P                  4      ^8”  de   V P                  P                  4        V'       d#   \        P                  ! V P                  RV4      M\        V P                  R^ ^ ^ ^ ^ ^ 4      x € K~  V P                  ^ .8X  g   Q V P                  4       hR #  EL05i)NÚ )ÚtypeÚNL_typer5   ÚOPEN_PAREN_typesr   ÚCLOSE_PAREN_typesÚlenr   r1   r   r/   r2   )r"   Ústreamr&   s   && r   Ú_processÚIndenter._process9   s#  é € ØˆÛˆEØ�z‰z˜TŸ\™\Ô)ØŸ>™>¨%Ó0×0Ñ0à’à�z‰z˜T×2Ñ2Ô2Ø× Ò  AÕ%× Ø—‘˜t×5Ñ5Ö5Ø× Ò  AÕ%Õ Ø×'Ñ'¨1Ö,Ð,Ð,ñ ô �$×#Ñ#Ó$ qÔ(Ø×Ñ×!Ñ!Ô#ßGL”%×&Ò& t×'7Ñ'7¸¸UÔCÔRWÐX\×XhÑXhÐjlÐnoÐqrÐtuÐwxÐz{Ð}~ÓRÔà× Ñ  Q CÔ'Ð:¨×):Ñ):Ó:Ò'ò 1ùs#   ‚7E,¹E)ºAE,Â'E,Ã?E,ÄA(E,c                óB   € ^ V n         ^ .V n        V P                  V4      # )r   )r   r   r?   )r"   r>   s   &&r   ÚprocessÚIndenter.processM   s#   € ØˆÔØ˜CˆÔØ�}‰}˜VÓ$Ð$r   c                ó   € V P                   3# )N)r:   r!   s   &r   Úalways_acceptÚIndenter.always_acceptS   s   € à—‘ˆÐr   c                ó    <€ V ^8„  d   QhRS[ /# ©r   r   ©Ústr)r   r   s   "€r   r   r   Y   ó   ø€ ÷ $ñ $™ñ $r   c                ó   € \        4       h)zThe name of the newline token©ÚNotImplementedErrorr!   s   &r   r:   ÚIndenter.NL_typeW   ó   € ô "Ó#Ð#r   c                ó0   <€ V ^8„  d   QhRS[ S[,          /# rH   ©r   rJ   )r   r   s   "€r   r   r   _   s   ø€ ÷ $ñ $¡$¡s¥)ñ $r   c                ó   € \        4       h)z/The names of the tokens that open a parenthesisrM   r!   s   &r   r;   ÚIndenter.OPEN_PAREN_types]   rP   r   c                ó0   <€ V ^8„  d   QhRS[ S[,          /# rH   rR   )r   r   s   "€r   r   r   e   s   ø€ ÷ $ñ $¡4©¥9ñ $r   c                ó   € \        4       h)z9The names of the tokens that close a parenthesis
        rM   r!   s   &r   r<   ÚIndenter.CLOSE_PAREN_typesc   s   € ô
 "Ó#Ð#r   c                ó    <€ V ^8„  d   QhRS[ /# rH   rI   )r   r   s   "€r   r   r   l   ó   ø€ ÷ $ñ $™Sñ $r   c                ó   € \        4       h)zUThe name of the token that starts an indentation in the grammar.

See also: %declare
rM   r!   s   &r   r0   ÚIndenter.INDENT_typej   ó   € ô "Ó#Ð#r   c                ó    <€ V ^8„  d   QhRS[ /# rH   rI   )r   r   s   "€r   r   r   u   rY   r   c                ó   € \        4       h)zRThe name of the token that end an indentation in the grammar.

See also: %declare
rM   r!   s   &r   r2   ÚIndenter.DEDENT_types   r\   r   c                ó    <€ V ^8„  d   QhRS[ /# rH   )Úint)r   r   s   "€r   r   r   ~   rK   r   c                ó   € \        4       h)z How many spaces does a tab equalrM   r!   s   &r   r    ÚIndenter.tab_len|   rP   r   c                óB   <€ V ^8„  d   Qh/ S[ ;R&   S[S[ ,          ;R&   # )r   r   r   )ra   r   )r   r   s   "€r   r   r      s#   ø‡ ‚ ñ Ññ ñ ‘s•)Ñò r   )r   r   N)r   r   r   r   Ú__doc__r#   r5   r?   rB   ÚpropertyrE   r   r:   r;   r<   r0   r2   r    Ú__annotate_func__r   Ú__classdictcell__)r   s   @r   r   r      sî   ø‡ € ñ÷  ð  ÷
}ð }ò(;ò(%ð ñó ðð Ø÷$ó ó ð$ð Ø÷$ó ó ð$ð Ø÷$ó ó ð$ð
 Ø÷$ó ó ð$ð Ø÷$ó ó ð$ð Ø÷$ó ó ð$÷_ ƒ r   r   c                   ó:   € ] tR t^ƒtRtRt. ROt. ROtRtRt	^t
RtR# )	ÚPythonIndenterz•A postlexer that "injects" _INDENT/_DEDENT tokens based on indentation, according to the Python syntax.

See also: the ``postlex`` option in `Lark`.
Ú_NEWLINEÚ_INDENTÚ_DEDENTr   N)ÚLPARÚLSQBÚLBRACE)ÚRPARÚRSQBÚRBRACE)r   r   r   r   re   r:   r;   r<   r0   r2   r    r   r   r   r   rj   rj   ƒ   s)   † ñð
 €GÚ1ÐÚ2ÐØ€KØ€KØ„Gr   rj   N)re   Úabcr   r   Útypingr   r   Ú
exceptionsr   Úlarkr   Úlexerr   r
   r   rj   r   r   r   Ú<module>ry      s@   ðÙ Bç #ß !å !Ý Ý ô	�)ô 	ôq$ˆw˜ô q$ôh�Xö r   