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__/urbi.cpython-310.pyc
o

;j��@s^dZddlZddlmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
dgZGdd�de�ZdS)z�
    pygments.lexers.urbi
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for UrbiScript language.

    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�ExtendedRegexLexer�words)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�UrbiscriptLexerc@sLeZdZdZdZdgZdgZdgZdZdZ	e
jZdd	�Z
d
efdefdejd
fdefeddd�efeddd�ejfdefdefdejfdejfeddd�ejfdejjfdefdejfdefdefdejfdejfdejfd e j!d!fd"e j"d#fgd$e
fd%e j!d&fgd'e
fd(e j"d&fgd)ejfdejd*fd+ejd&fd,ejfgd-�Z#d.d/�Z$d0S)1rz%
    For UrbiScript source code.
    Z
UrbiScriptZ
urbiscriptz*.uzapplication/x-urbiscriptz!https://github.com/urbiforge/urbiz1.5c	cs��|�d�}|�d�}|�d�}t|�}|��t|fV|jt|�7_|j|��|dkrId|d}|��t|fV|jt|�7_dS||j|��|��|�d}|��tj|fV|��|d|_dS)N����)z\B(z)()	�group�int�startr	�pos�len�text�endZEscape)	Zlexer�match�ctxZtext_before_blobZ
blob_startZ
blob_size_strZ	blob_size�resultZ	blob_text�r�H/opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/urbi.py�
blob_callback&s�


"zUrbiscriptLexer.blob_callbackz\s+z//.*?\nz/\*�commentz"(every|for|loop|while)(?:;|&|\||,))�assertZat�break�caseZcatchZclosureZcompl�continue�default�else�enumZeveryZexternal�finally�for�freezeif�if�newZonleave�returnZstopifZswitch�this�throw�timeout�try�	waituntilZwhenever�whilez\b)�suffix)$Zasm�auto�bool�charZ
const_cast�deleteZdoubleZdynamic_castZexplicitZexportZextern�floatZfriendZgoto�inlinerZlongZmutable�	namespace�registerZreinterpret_castZshortZsigned�sizeofZstatic_cast�struct�templateZtypedefZtypeid�typename�unionZunsignedZusingZvirtualZvolatileZwchar_tz&(emit|foreach|internal|loopn|static)\bz(private|protected|public)\bz(var|do|const|function|class)\bz(true|false|nil|void)\b)E�BarrierZBinaryZBooleanZCallMessageZChannelZCodeZ
Comparable�	ContainerZControlZDateZ
DictionaryZ	DirectoryZDurationZEnumeration�Event�	ExceptionZ
ExecutableZFileZFinalizable�FloatZ
FormatInfo�	FormatterZGlobalZGroupZHashZInputStreamZ	IoServiceZJobZKernelZLazy�ListZLoadableZLobbyZLocation�LoggerZMathZMutex�nilZObjectZ	OrderableZOutputStreamZPair�Path�PatternZPositionZ	PrimitiveZProcessZProfileZ
PseudoLazyZPubSubZ
RangeIterableZRegexp�	SemaphoreZServerZ	SingletonZSocketZ
StackFrameZStreamr	�SystemZTagZTimeoutZ	TraceableZTrajectoryGeneratorZTriplet�TupleZUObjectZUValueZUVarz
(?:this)\bz(?:[-=+*%/<>~^:]+|\.&?|\|\||&&)z?(?:and_eq|and|bitand|bitor|in|not|not_eq|or_eq|or|xor_eq|xor)\bz[{}\[\]()]+z(?:;|\||,|&|\?|!)+z
[$a-zA-Z_]\w*z0x[0-9a-fA-F]+zV(?:[0-9]+(?:(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?)?((?:rad|deg|grad)|(?:ms|s|min|h|d))?)\b�"�
string.double�'�
string.singlez%((?:\\\\|\\"|[^"])*?)(\\B\((\d+)\)\()z(\\\\|\\[^\\]|[^"\\])*?"z#popz%((?:\\\\|\\'|[^'])*?)(\\B\((\d+)\)\()z(\\\\|\\[^\\]|[^'\\])*?'z[^*/]z#pushz\*/z[*/])�rootrOrQrcCs(d}d|vr
|d7}d|vr|d7}|S)z_This is fairly similar to C and others, but freezeif and
        waituntil are unique keywords.rr(g�������?r0r)rrrrr�analyse_text�szUrbiscriptLexer.analyse_textN)%�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesZ	mimetypes�urlZ
version_added�re�DOTALL�flagsrrrZ	MultilinerrZReservedZDeclarationZConstantrZBuiltinZPseudorZWordrZOtherr
ZHexrDr	�Double�Single�tokensrSrrrrrsz
����	�
�
��

�:
�
�

��K)rWr\Zpygments.lexerrrZpygments.tokenrrrrrr	r
r�__all__rrrrr�<module>s
(