Your IP : 216.73.216.61


Current Path : /opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/__pycache__/urbi.cpython-37.pyc

B

ɽ�\v�@s^dZddlZddlmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
dgZGdd�de�ZdS)z�
    pygments.lexers.urbi
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for UrbiScript language.

    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�ExtendedRegexLexer�words)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�UrbiscriptLexerc@s<eZdZdZdZdgZdgZdgZej	Z
dd�Zdefd	e
fd
e
jdfdefed
dd�efeddd�ejfdefdefdejfdejfeddd�ejfdejjfdefdejfdefdefdejfdejfdejfdejdfd ej d!fgd"efd#ejd$fgd%efd&ej d$fgd'e
jfd
e
jd(fd)e
jd$fd*e
jfgd+�Z!d,S)-rz@
    For UrbiScript source code.

    .. versionadded:: 1.5
    Z
UrbiScriptZ
urbiscriptz*.uzapplication/x-urbiscriptc	cs�|�d�}|�d�}|�d�}t|�}|��t|fV|jt|�7_|j|��|dkr�d|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�E/opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/urbi.py�
blob_callback's


"zUrbiscriptLexer.blob_callbackz\s+z//.*?\nz/\*�commentz"(every|for|loop|while)(?:;|&|\||,))�assertZat�breakZcaseZcatchZclosureZcompl�continue�default�else�enumZeveryZexternal�finally�forZfreezeif�if�newZonleave�returnZstopif�switch�this�throw�timeout�tryZ	waituntilZwhenever�whilez\b)�suffix)$Zasm�auto�bool�charZ
const_cast�deleteZdoubleZdynamic_cast�explicitZexport�extern�floatZfriendZgoto�inliner�longZmutable�	namespace�registerZreinterpret_cast�short�signed�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�	FormatterZGlobal�GroupZHashZInputStreamZ	IoServiceZJobZKernelZLazyZListZLoadableZLobbyZLocationZLoggerZMathZMutexZnilZObjectZ	OrderableZOutputStreamZPairZPath�PatternZPositionZ	PrimitiveZProcessZProfileZ
PseudoLazyZPubSubZ
RangeIterableZRegexp�	SemaphoreZServerZ	SingletonZSocketZ
StackFrameZStreamr	�SystemZTagZTimeoutZ	TraceableZTrajectoryGeneratorZTripletZTupleZUObjectZUValueZUVarz
(?: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�"z
string.double�'z
string.singlez%((?:\\\\|\\"|[^"])*?)(\\B\((\d+)\)\()z(\\\\|\\"|[^"])*?"z#popz%((?:\\\\|\\'|[^'])*?)(\\B\((\d+)\)\()z(\\\\|\\'|[^'])*?'z[^*/]z#pushz\*/z[*/])�rootz
string.doublez
string.singlerN)"�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesZ	mimetypes�re�DOTALL�flagsrrrZ	MultilinerrZReservedZDeclarationZConstantrZBuiltinZPseudor�WordrZOtherr
ZHexrGr	�Double�Single�tokensrrrrrs^




)rSrWZpygments.lexerrrZpygments.tokenrrrrrr	r
r�__all__rrrrr�<module>
s
(