HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/__pycache__/dylan.cpython-310.pyc
o

;j�(�@s�dZddlZddlmZmZmZmZmZmZddl	m
Z
mZmZm
Z
mZmZmZmZmZmZgd�ZGdd�de�ZGdd	�d	e�ZGd
d�de�ZdS)z�
    pygments.lexers.dylan
    ~~~~~~~~~~~~~~~~~~~~~

    Lexers for the Dylan language.

    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�Lexer�
RegexLexer�bygroups�
do_insertions�default�line_re)
�Comment�Operator�Keyword�Name�String�Number�Punctuation�Generic�Literal�
Whitespace)�
DylanLexer�DylanConsoleLexer�
DylanLidLexerc@s�eZdZdZdZdZdgZgd�ZdgZdZ	e
jZhd�Z
hd	�Zhd
�Zhd�ZdZd
d�Zdefdejfdeejeee�fed�gdefdeeje�fdejdfdedfdejfdejfdej fdej!fdej"fdej#fdedeej$eej%�fd eej$eej%�fd!eej$fd"e&fd#efd$e'fd%ej(d&fd'e)fed(e)fd)ed*ej*fd+ed+ej+j,fd,eej-feefgd-ejfdejd.fd/ejd0fd1ejfgdej(d0fd2ej(fgded0fd3ej.fd4efd5efd6efgd7�Z/d8S)9rz!
    For the Dylan language.
    ZDylan�http://www.opendylan.org/Zdylan)z*.dylanz*.dylz*.intrztext/x-dylanz0.7>%�class�instanceZmacro�domain�keyword�threadZsidewaysz
compiler-openz
each-subclasszinline-onlyZconstantZconcreteZgenericZabstract�	singleton�required�	exceptionZvirtual�methodZprimary�functionZdynamic�inline�openZsealedZ	inheritedzcompiler-sideways�handler�subclassZslot�import�blockZexcludeZ	interface�module�library�variable>Zexport�if�in�renameZuseZaboveZdefine�local�select�createZbelow�for�else�toZwhen�while�begin�finallyZthenZ
afterwardsZletZelseifZby�endZ	otherwise�caseZuntil�from�signalZcleanupZunless>�>�|�&�+�<�^z~==�=z>=�-z<=�~z~=�*z==>�z
as-uppercase!zadd!�union�addzobject-hashz
restart-query�rangezremove-key!�errorzas-lowercasezobject-classZdoZmodulozcondition-format-string�gcdzmerge-hash-codeszapplicable-method?zlast-setterzremove-duplicates!Zash�reverse�alwayszfunction-specializersZcomposez	instance?zadd-newzdirect-subclasseszpop-last�lcmzsubsequence-position�valuesZapply�tail�maxz
remove-methodzrow-major-index�reducezmap-intoztable-protocolz
add-methodzfunction-return-valueszodd?zdo-handlersZrcurry�floorzaref-setterzkey-sequencezlogbit?zbackward-iteration-protocolzremove-duplicateszfind-methodz#generic-function-mandatory-keywordsztail-setterzadd-new!Zlogxorz
type-for-copyZcerrorzany?zfloor/Zconcatenateztype-error-expected-typez
second-setterzgeneric-function-methodszas-uppercaseztype-error-valuezsize-setterZdisjoinzelement-setterzreturn-descriptionzreturn-queryzshallow-copyZreduce1�listzslot-initialized?�intersection�mapzfunction-argumentsZrank�pushz	truncate/zzero?zeven?Z
dimensionszreplace-subsequence!Zcurryzmember?zremove!zsubtype?zconcatenate-aszfalse-orzreturn-allowed?�minzround/zall-superclasses�secondzdirect-superclassesZlognot�identityz
check-typezmap-asZ
initialize�elementZvectorZ	dimensionzreverse!z	integral?�third�negative�pairz
as-lowercase!�sortZconjoinzcondition-format-argumentsz
copy-sequencezdefault-handler�absZ
complementz	negative?Zlimited�abortZmakezsorted-applicable-methodsr8�truncate�removezhead-setter�break�roundzempty?�headz	push-lastznext-methodzthird-setterzforward-iteration-protocolzreplace-elements!Zlogand�sizezevery?�firstrzsort!ZceilingZarefZlogiorzceiling/zkey-testZchoose�lastz	choose-byzfirst-setterzone-of�pop�	remainderz	positive?z
type-union�aszfill!zfind-keyz\\?[\w!&*<>|^$%@\-+~?/=]+ccs��t�||�D]E\}}}|turF|��}||jvr!|tj|fVq||jvr-|t|fVq||jvr:|tj|fVq||j	vrF|t
|fVq|||fVqdS)N)r�get_tokens_unprocessedr�lower�builtins�Builtin�keywordsr
�	functions�	operatorsr	)�self�text�index�token�valueZlowercase_value�ru�I/opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/dylan.pyri]s$�



�z!DylanLexer.get_tokens_unprocessed�\s+z//.*?\nz)([a-z0-9-]+)(:)([ \t]*)(.*(?:\n[ \t].+)*)�code�(//.*?)(\n)z/\*�comment�"�stringz/'(\\.|\\[0-7]{1,3}|\\x[a-f0-9]{1,2}|[^\\\'\n])'z#b[01]+z#o[0-7]+z0[-+]?(\d*\.\d+(e[-+]?\d+)?|\d+(\.\d*)?e[-+]?\d+)z[-+]?\d+z#x[0-9a-f]+z(\?z6)(:)(token|name|variable|expression|body|case-body|\*)z9(\?)(:)(token|name|variable|expression|body|case-body|\*)z\?z,(=>|::|#\(|#\[|##|\?\?|\?=|\?|[(){}\[\],.;])z:=z#[tf]z#"rz#[a-z0-9-]+�:r=r9z\*z\$z[^*/]+z#pushz\*/z#popz[*/]z[^\\"]+z,\\([\\abfnrtv"\']|x[a-f0-9]{2,4}|[0-7]{1,3})z	[^\\"\n]+z\\\nz\\)�rootrxrzrr|N)0�__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenames�	mimetypes�
version_added�re�
IGNORECASE�flagsrkrmrornZ
valid_namerirr�Singlerr�	Attributer	rrZ	MultilineZCharr
ZBin�OctZFloatZIntegerZHexZTagrlrrZSymbolr
ZClassZVariableZGlobalZConstantZEscape�tokensrurururvrs�	$��

��

�E

�
��
�rc	@sfeZdZdZdZddgZddgZdgZdZd	Z	e
jZd
de
fdeeje
�fd
eejee
e�fgiZdS)rz?
    For Dylan LID (Library Interchange Definition) files.
    ZDylanLIDz	dylan-lidZlidz*.lidz*.hdpztext/x-dylan-lidr�1.6r~rwryz"(.*?)(:)([ \t]*)(.*(?:\n[ \t].+)*)N)rr�r�r�r�r�r�r�r�r�r�r�r�rrrr�rr�r	rr�rurururvr�s"���rc@sFeZdZdZdZddgZdgZdgZdZdZ	d	Z
e�d
�Z
dd�Zd
S)rzi
    For Dylan interactive console output.

    This is based on a copy of the ``RubyConsoleLexer``.
    z
Dylan sessionz
dylan-consolez
dylan-replz*.dylan-consoleztext/x-dylan-consolerr�z#dylan-console/console.dylan-consolez\?| c		cs��tdi|j��}d}g}t�|�D]I}|��}|j�|�}|durA|��}|�t	|�dt
j|d|�fgf�|||d�7}q|rRt||�
|��EdHd}g}|��t
j|fVq|rkt||�
|��EdHdSdS)N�rru)r�optionsr�finditer�group�
_prompt_re�matchr5�append�lenrZPromptrri�startZOutput)	rprqZdylexerZcurcodeZ
insertionsr��line�mr5rururvris2�
�
���z(DylanConsoleLexer.get_tokens_unprocessedN)rr�r�r�r�r�r�r�r�r�Z_exampler��compiler�rirurururvr�s
r)r�r�Zpygments.lexerrrrrrrZpygments.tokenrr	r
rrr
rrrr�__all__rrrrurururv�<module>s
 0A