403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/python.cpython-39.pyc
a

SҼa���@s&dZddlZddlmZmZmZmZmZmZm	Z	m
Z
mZddlm
Z
mZddlmZmZmZmZmZmZmZmZmZmZmZddlmZgd�Ze�d�Z Gd	d
�d
e�Z!e!Z"Gdd�de�Z#Gd
d�de�Z$Gdd�de�Z%e%Z&Gdd�de�Z'Gdd�de�Z(Gdd�de�Z)Gdd�de!�Z*dS)z�
    pygments.lexers.python
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexers for Python and related languages.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)	�Lexer�
RegexLexer�include�bygroups�using�default�words�combined�
do_insertions)�get_bool_opt�shebang_matches)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Generic�Other�Error)�	unistring)�PythonLexer�PythonConsoleLexer�PythonTracebackLexer�Python2Lexer�Python2TracebackLexer�CythonLexer�DgLexer�
NumPyLexerz.*?
c!@speZdZdZdZgd�Zgd�Zgd�Zej	ej
BZdej
ejfZdd�Zd	d
�Zdefdeeejej�fd
eeejej�fdejfdejfdefdefed�deee�dfdeee�dfdeeje�dfdeeje�dfed�g
deejej�edd�fdeejej�edd �fd!eejej�edd"�fd#eejej�edd$�fd%eejej�ed&d�fd'eejej�ed&d �fd(eejej�ed&d"�fd)eejej�ed&d$�fd*eejej�d+fd,eejej�d-fd.eejej�d/fd0eejej�d1fd2eejej�ed3d+�fd4eejej�ed3d-�fd5eejej�ed3d/�fd6eejej�ed3d1�fd7efed8�d9efd:e fd;ej!fed<�ed=�ed>�ed?�ed@�gdAe dBfdCej"dDfdEej"dDfdFefed�gdAe dBfdGe dDfdFefed�ge#dHdIdJ�efe#dKdIdJ�ej$fge#dLdIdJ�efe#dKdIdJ�ej$fge#dMdNdIdO�e%j&fdPe%j&j'fe#dQdNdIdO�e%j(fge#dRdIdJ�e%j)j*fge#dSdIdJ�e%j+j*fgdTe,j-fdUe,j-fdVe,j.fdWe,j/fdXe,j0fdYe,j1fgdZee%j2fdZefee%fged>�ee%j)dDfe3dD�gee%j4dDfgd[eeee�fd\e%jfee%jfd]eeee�fe3dD�gd^eeej�dDfd\e%jfd_e%j&j'dDfee%jfe3dD�gd`ej5fdaej5fged�ed3�gdbej5fgeej�eej�eej�eej�dcejdDfddej5fede�gdfejdDfdgej5fedh�gdcejdDfddej5fedi�gdfejdDfdgej5fedj�gdkejdDfede�dejfgdlejdDfedh�dejfgdkejdDfedi�dejfgdlejdDfedj�dejfgdm�Z6dndo�Z7dpS)qrz�
    For `Python <http://www.python.org>`_ source code (version 3.x).

    .. versionadded:: 0.10

    .. versionchanged:: 2.5
       This is now the default ``PythonLexer``.  It is still available as the
       alias ``Python3Lexer``.
    �Python)Zpython�pyZsage�python3Zpy3)
z*.pyz*.pywz*.jyz*.sagez*.scZ
SConstructZ
SConscriptz*.bzlZBUCKZBUILDzBUILD.bazelZ	WORKSPACEz*.tac)z
text/x-pythonzapplication/x-pythonztext/x-python3zapplication/x-python3z	[%s][%s]*cCs&dtjfdtjfd|fd|fd|fgS)NzH%(\(\w+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?[hlL]?[E-GXc-giorsaux%]zg\{((\w+)((\.\w+)|(\[[^\]]+\]))*)?(\![sra])?(\:(.?[<>=\^])?[-+ ]?#?0?(\d+)?,?(\.\d+)?[E-GXb-gnosx%]?)?\}z
[^\\\'"%{\n]+�[\'"\\]z%|(\{{1,2})�r�Interpol�Zttype�r(�:/usr/lib/python3.9/site-packages/pygments/lexers/python.py�innerstring_rulesCs���zPythonLexer.innerstring_rulescCs"dtjfdtjdfd|fd|fgS)Nz\}z\{�expr-inside-fstringz
[^\\\'"{}\n]+r$r%r'r(r(r)�
fstring_rulesWs

�zPythonLexer.fstring_rules�\n�&^(\s*)([rRuUbB]{,2})("""(?:.|\n)*?""")�&^(\s*)([rRuUbB]{,2})('''(?:.|\n)*?''')�\A#!.+$�#.*$�\\\n�\\�keywords�(def)((?:\s|\\\s)+)�funcname�(class)((?:\s|\\\s)+)�	classname�(from)((?:\s|\\\s)+)�
fromimport�(import)((?:\s|\\\s)+)�import�exprz(?i)(rf|fr)(""")�rfstringescape�tdqfz(?i)(rf|fr)(''')�tsqfz(?i)(rf|fr)(")�dqfz(?i)(rf|fr)(')�sqfz([fF])(""")�
fstringescapez([fF])(''')z	([fF])(")z	([fF])(')z(?i)(rb|br|r)(""")�tdqsz(?i)(rb|br|r)(''')�tsqsz(?i)(rb|br|r)(")�dqsz(?i)(rb|br|r)(')�sqs�([uUbB]?)(""")�stringescape�([uUbB]?)(''')�([uUbB]?)(")�([uUbB]?)(')�[^\S\n]+�numbersz!=|==|<<|>>|:=|[-~+/*%=<>&^|.]�[]{}:(),;[]�(in|is|and|or|not)\b�
expr-keywords�builtins�
magicfuncs�	magicvars�namez[{([]�expr-inside-fstring-innerz(=\s*)?(\![sraf])?\}�#popz(=\s*)?(\![sraf])?:�\s+z[])}])z	async for�await�else�for�if�lambda�yield�
yield from�\b��suffix)�True�False�None)�assert�asyncrY�break�continue�del�elifrZ�except�finallyr[�globalr\r]�pass�raise�nonlocal�return�try�whiler^r_�as�with)@�
__import__�abs�all�any�bin�bool�	bytearray�bytes�chr�classmethod�compile�complex�delattr�dict�dir�divmod�	enumerate�eval�filter�float�format�	frozenset�getattr�globals�hasattr�hash�hex�id�input�int�
isinstance�
issubclass�iter�len�list�locals�map�max�
memoryview�min�next�object�oct�open�ord�pow�print�property�range�repr�reversed�round�set�setattr�slice�sorted�staticmethod�str�sum�super�tuple�type�vars�zip�(?<!\.)��prefixrbz+(?<!\.)(self|Ellipsis|NotImplemented|cls)\b)D�ArithmeticError�AssertionError�AttributeError�
BaseException�BufferError�BytesWarning�DeprecationWarning�EOFError�EnvironmentError�	Exception�FloatingPointError�
FutureWarning�
GeneratorExit�IOError�ImportError�
ImportWarning�IndentationError�
IndexError�KeyError�KeyboardInterrupt�LookupError�MemoryError�	NameError�NotImplementedError�OSError�
OverflowError�PendingDeprecationWarning�ReferenceError�ResourceWarning�RuntimeError�RuntimeWarning�
StopIteration�SyntaxError�
SyntaxWarning�SystemError�
SystemExit�TabError�	TypeError�UnboundLocalError�UnicodeDecodeError�UnicodeEncodeError�UnicodeError�UnicodeTranslateError�UnicodeWarning�UserWarning�
ValueError�VMSError�Warning�WindowsError�ZeroDivisionError�BlockingIOError�ChildProcessError�ConnectionError�BrokenPipeError�ConnectionAbortedError�ConnectionRefusedError�ConnectionResetError�FileExistsError�FileNotFoundError�InterruptedError�IsADirectoryError�NotADirectoryError�PermissionError�ProcessLookupError�TimeoutError�StopAsyncIteration�ModuleNotFoundError�RecursionError)^�__abs__�__add__�
__aenter__�	__aexit__�	__aiter__�__and__�	__anext__�	__await__�__bool__�	__bytes__�__call__�__complex__�__contains__�__del__�__delattr__�
__delete__�__delitem__�__dir__�
__divmod__�	__enter__�__eq__�__exit__�	__float__�__floordiv__�
__format__�__ge__�__get__�__getattr__�__getattribute__�__getitem__�__gt__�__hash__�__iadd__�__iand__�
__ifloordiv__�__ilshift__�__imatmul__�__imod__�__imul__�	__index__�__init__�__instancecheck__�__int__�
__invert__�__ior__�__ipow__�__irshift__�__isub__�__iter__�__itruediv__�__ixor__�__le__�__len__�__length_hint__�
__lshift__�__lt__�
__matmul__�__missing__�__mod__�__mul__�__ne__�__neg__�__new__�__next__�__or__�__pos__�__pow__�__prepare__�__radd__�__rand__�__rdivmod__�__repr__�__reversed__�
__rfloordiv__�__rlshift__�__rmatmul__�__rmod__�__rmul__�__ror__�	__round__�__rpow__�__rrshift__�
__rshift__�__rsub__�__rtruediv__�__rxor__�__set__�__setattr__�__setitem__�__str__�__sub__�__subclasscheck__�__truediv__�__xor__)�__annotations__�	__bases__�	__class__�__closure__�__code__�__defaults__�__dict__�__doc__�__file__�__func__�__globals__�__kwdefaults__�
__module__�__mro__�__name__�__objclass__�__qualname__�__self__�	__slots__�__weakref__zT(\d(?:_?\d)*\.(?:\d(?:_?\d)*)?|(?:\d(?:_?\d)*)?\.\d(?:_?\d)*)([eE][+-]?\d(?:_?\d)*)?z!\d(?:_?\d)*[eE][+-]?\d(?:_?\d)*j?z0[oO](?:_?[0-7])+z0[bB](?:_?[01])+z0[xX](?:_?[a-fA-F0-9])+z\d(?:_?\d)*�@�(\s+)(as)(\s+)z\.�
(\s*)(,)(\s*)z(\s+)(import)\b�None\bz\{\{z\}\}�Y\\([\\abfnrtv"\']|\n|N\{.*?\}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|x[a-fA-F0-9]{2}|[0-7]{1,3})�"�
\\\\|\\"|\\\n�fstrings-double�'�
\\\\|\\'|\\\n�fstrings-single�strings-double�strings-single�"""�''')�rootr=r+rVrQr4rRrSrTrNrUr6r8r<r:r>rCrIrzrwr|r{rArBrFrGr?r@rDrEcCst|d�pd|dd�vS)N�pythonw?(3(\.\d)?)?�import ���r��textr(r(r)�analyse_text|s
�zPythonLexer.analyse_textN)8rjrhrlrcrU�aliases�	filenames�	mimetypes�re�	MULTILINE�UNICODE�flags�uniZ	xid_startZxid_continueZuni_namer*r,r
rr�Affix�Docr�Hashbang�Singlerr�	Namespace�Doubler	rr�Wordr&rZConstantr�Builtin�Pseudor��Function�Magic�Variabler�Float�Oct�Bin�Hex�Integer�	Decoratorr�Class�Escape�tokensr�r(r(r(r)rs�
����������������������5�������	���

��
���)������
��
�
�
���
����
�
�
�
�
�
�
�
����rc @sbeZdZdZdZddgZgZddgZdd�Zd	e	fd
e
e	ejej
�fde
e	ejej
�fde	fd
ejfdejfdefde	fde	fdejfdefed�de
ee	�dfde
ee	�dfde
eje	�dfde
eje	�dfed�ed�ed�ed �d!e
ejej�d"fd#e
ejej�d$fd%e
ejej�d&fd'e
ejej�d(fd)e
ejej�ed*d"�fd+e
ejej�ed*d$�fd,e
ejej�ed*d&�fd-e
ejej�ed*d(�fed.�ed/�ged0d1d2�efged3d4d1d5�ejfd6ejjfed7d4d1d5�ejfged8d1d2�ejjfged9d1d2�ej jfgd:e!j"fd;e!j"fd<e!j#fd=e!j$fd>e!j%fd?e!j&j'fd@e!j&fgdAej(fgdBej)fdCefged�dCejdDfe*dD�gdCej+dDfgdEe	fdFejfdGefdHejfe*dD�gdEe	fdIejdDfdJejjdDfdKejfe*dD�gdLej,fgeej�eej�dMejdDfdNej,fedO�gdPejdDfdQej,fedR�gdSejdDfedO�d	ejfgdTejdDfedR�d	ejfgdU�Z-dVdW�Z.dXS)Yra 
    For `Python 2.x <http://www.python.org>`_ source code.

    .. versionchanged:: 2.5
       This class has been renamed from ``PythonLexer``.  ``PythonLexer`` now
       refers to the Python 3 variant.  File name patterns like ``*.py`` have
       been moved to Python 3 as well.
    z
Python 2.xZpython2Zpy2ztext/x-python2zapplication/x-python2cCsdtjfd|fd|fd|fgS)N�G%(\(\w+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?[hlL]?[E-GXc-giorsux%]�[^\\\'"%\n]+r$�%r%r'r(r(r)r*�s��zPython2Lexer.innerstring_rulesr-r.r/rMr0r1rOr2r3rPz!=|==|<<|>>|[-~+/*%=<>&^|.]r4r5r6r7r8r9r:r;r<rRrSrT�backtickz!([rR]|[uUbB][rR]|[rR][uUbB])(""")rDz!([rR]|[uUbB][rR]|[rR][uUbB])(''')rEz([rR]|[uUbB][rR]|[rR][uUbB])(")rFz([rR]|[uUbB][rR]|[rR][uUbB])(')rGrHrIrJrKrLrUrN)rfrhrirjrkrZrl�execrmr[rnr\r]ror�rprrrsrtr^r_rurvr`ra)Nrwrxryrz�apply�
basestringr{r|�bufferr}r~�callablerr��cmp�coercer�r�r�r�r�r�r�r��execfile�exit�filer�r�r�r�r�r�r�r�r�r�r��internr�r�r�r�r�r��longr�r�r�r�r�r�r�r�r�r�r��	raw_input�reduce�reloadr�r�r�r�r�r�r�r�r�r�r�r�r��unichr�unicoder��xranger�r�r�z;(?<!\.)(self|None|Ellipsis|NotImplemented|False|True|cls)\b)1r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r��OverflowWarningr�r�r�r��
StandardErrorr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�)_r�r�rrZ__cmp__Z
__coerce__r	r
rrr
rZ__delslice__Z__div__rrrrrrrrrrrZ__getslice__rrZ__hex__rrZ__idiv__r r!r#r$r%r&r'r(r)Z__iop__r*r+r,r-r.r/r0r1r2Z__long__r4r5r7r8r9r:r;r<Z__nonzero__Z__oct__Z__op__r>r?r@rBrCZ__rcmp__Z__rdiv__rDrErFrGrHrJrKZ__rop__rLrNrOrPrQrRrSrTrUrVZ__setslice__rWrXrYrZZ__unicode__r[)r]r^r_r`rarbrcrdrerfZ
__metaclass__rhrirjrmrnroz'(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?j?z\d+[eE][+-]?[0-9]+j?z	0[0-7]+j?z
0[bB][01]+�0[xX][a-fA-F0-9]+�\d+Lz\d+j?�`.*?`z@[\w.]+�[a-zA-Z_]\w*rWz(?:[ \t]|\\\n)+�as\b�,�[a-zA-Z_][\w.]*zimport\brs�[a-zA-Z_.][\w.]*rtrurvr{rxryr|r}r~)rr4rRrSrTrNr�rUr6r8r<r:rIr|r{rFrGrDrEcCs
t|d�S)Nzpythonw?2(\.\d)?r�r�r(r(r)r�]szPython2Lexer.analyse_textN)/rjrhrlrcrUr�r�r�r*r
rrr�r�rr�r�rrr�rrr�r�r	rrr�r�r�r�r�r�rr�r�r�r�r��Long�Backtickr�rr�r�r�r�r(r(r(r)r�s,	�������������-���	�
�����#������

�
��
�
��
�
��
�
�
�
���>rc@s0eZdZdZdZdgZdgZdd�Zdd�Zd	S)
ra�
    For Python console output or doctests, such as:

    .. sourcecode:: pycon

        >>> a = 'foo'
        >>> print a
        foo
        >>> 1 / 0
        Traceback (most recent call last):
          File "<stdin>", line 1, in <module>
        ZeroDivisionError: integer division or modulo by zero

    Additional options:

    `python3`
        Use Python 3 lexer for code.  Default is ``True``.

        .. versionadded:: 1.0
        .. versionchanged:: 2.5
           Now defaults to ``True``.
    zPython console sessionZpyconztext/x-python-doctestcKs$t|dd�|_tj|fi|��dS)Nr#T)rr#rr&)�self�optionsr(r(r)r&|szPythonConsoleLexer.__init__c	cs.|jr(tfi|j��}tfi|j��}n tfi|j��}tfi|j��}d}g}d}d}d}t�|�D�]v}	|	��}
|
�	d�s�|
�	d�r�d}|�
t|�dtj
|
dd�fgf�||
dd�7}qf|
��dk�r|�s|�
t|�dtj
dfgf�||
dd�7}qf|�r(t||�|��EdHd}g}|
�	d��sBt�d	|
��rTd
}|
}|	��}qf|
dk�rr|	��tj|
fVqf|�r�||
7}|
�	d��s�|
��dk�s�d}|�|�D]\}}}
||||
fV�q�d}qf|	��tj|
fVqf|�r�t||�|��EdH|�r*|�|�D]\}}}
||||
fV�qdS)
N�rz>>> z... �z...�z"Traceback (most recent call last):z  File "[^"]+", line \d+\n$�zKeyboardInterrupt
� )r#rr�rrr�line_re�finditer�group�
startswith�appendr�rZPrompt�rstripr
�get_tokens_unprocessedr��match�startrr��stripZOutput)r�r�ZpylexerZtblexerZcurcodeZ
insertionsZcurtbZtbindex�tbr��line�i�t�vr(r(r)r��sh
�
�
�

�

�
z)PythonConsoleLexer.get_tokens_unprocessedN)	rjrhrlrcrUr�r�r&r�r(r(r(r)rasrc@s�eZdZdZdZddgZddgZddgZd	efd
e	j
dfde	j
fd
e	j
fde	j
dfdefgdeee
jeeee
e�fdeee
jeee�fdeeee�e�dfdeeee�fdee	jee
e�dfdee	je�dfgdeeeje�dfed�gd�ZdS)ra
    For Python 3.x tracebacks, with support for chained exceptions.

    .. versionadded:: 1.0

    .. versionchanged:: 2.5
       This is now the default ``PythonTracebackLexer``.  It is still available
       as the alias ``Python3TracebackLexer``.
    zPython TracebackZpytbZpy3tbz*.pytbz*.py3tbztext/x-python-tracebackztext/x-python3-tracebackr-z'^Traceback \(most recent call last\):\n�intbzH^During handling of the above exception, another exception occurred:\n\nzI^The above exception was the direct cause of the following exception:\n\n�^(?=  File "[^"]+", line \d+)�^.*\n�0^(  File )("[^"]+")(, line )(\d+)(, in )(.+)(\n)�%^(  File )("[^"]+")(, line )(\d+)(\n)�^(    )(.+)(\n)�markers�^([ \t]*)(\.\.\.)(\n)�^([^:]+)(: )(.+)(\n)rWz^([a-zA-Z_][\w.]*)(:?\n)z^( {4,})(\^+)(\n))rr�r�N)rjrhrlrcrUr�r�r�r
r�	Tracebackrrrr�rrrrrr�Markerrr�r(r(r(r)r�sT

��
����
�������rc@s�eZdZdZdZdgZdgZdgZdee	e
j�dfde
jdfd	efgd
ee	e
je	ee	e
e	�fdee	e
je	ee	�fdee	ee�e	�d
fdee	ee	�fdee
je	e
e	�dfdee
je	�dfgdee	ej�dfed�gd�ZdS)rz�
    For Python tracebacks.

    .. versionadded:: 0.7

    .. versionchanged:: 2.5
       This class has been renamed from ``PythonTracebackLexer``.
       ``PythonTracebackLexer`` now refers to the Python 3 variant.
    zPython 2.x TracebackZpy2tbz*.py2tbztext/x-python2-tracebackz^(\^C)?(Traceback.*\n)r�r�r�r�r�r��markerr�r�rWz^([a-zA-Z_]\w*)(:?\n)z( {4,})(\^))rr�r�N)rjrhrlrcrUr�r�r�rr
rr�rrr�rrrrrrr�rr�r(r(r(r)r�sD
�
�
���
������rc!@sHeZdZdZdZgd�Zgd�ZddgZdefde	ee
j�fd	e	ee
j�fd
efdefde
fd
efdefdejfde	e
eje
�fdefde	eejeeeee
�fed�de	ee�dfde	ee�dfde	ee
�fde	ee�dfde	ee�dfde	ee�dfed�ed �d!e
d"fd#e
d$fd%e
d&fd'e
d(fd)e
ed*d"�fd+e
ed*d$�fd,e
ed*d&�fd-e
ed*d(�fed.�ed/�ged0d1d2�efd3ejfged4d5d1d6�ejfd7ejjfed8d5d1d6�ejfgd9ejfd:ejfd;ejfd<ejjfd=ejfgd>e
j fgd?ej!fd@efgd@ej"dAfgdBej#fdCefdDe	ej"e�dAfdEe	ej"ee
�fdFedAfdGefdHe
dAfdIedAfd@ejfdJefg
d@ej$dAfgdKe	eee�fdLej%fdMe	eee�fe&dA�gdNe	ee�dAfdOej%fe&dA�gdPe
j'fgdQe
j(fdRe
fdSe
fdTe
fgde
fgdUe
dAfdVe
j'fedW�gdXe
dAfdYe
j'fedW�gdZe
dAfedW�ed[�gd\e
dAfedW�ed[�gd]�Z)d^S)_rz]
    For Pyrex and `Cython <http://cython.org>`_ source code.

    .. versionadded:: 1.1
    ZCython)ZcythonZpyxZpyrex)z*.pyxz*.pxdz*.pxiz
text/x-cythonzapplication/x-cythonr-z^(\s*)("""(?:.|\n)*?""")z^(\s*)('''(?:.|\n)*?''')rMr1rOr2r3rPz(<)([a-zA-Z0-9.?]+)(>)z!=|==|<<|>>|[-~+/*%=<>&^|.?]z(from)(\d+)(<=)(\s+)(<)(\d+)(:)r4z(def|property)(\s+)r6z
(cp?def)(\s+)�cdefz	(cdef)(:)z(class|struct)(\s+)r8z(from)(\s+)r:z(c?import)(\s+)r<rRr�z(?:[rR]|[uU][rR]|[rR][uU])"""rDz(?:[rR]|[uU][rR]|[rR][uU])'''rEz(?:[rR]|[uU][rR]|[rR][uU])"rFz(?:[rR]|[uU][rR]|[rR][uU])'rGz[uU]?"""rIz[uU]?'''z[uU]?"z[uU]?'rUrN)rfrgrYrhZbyriZctypedefrjrkrZrlzexcept?r�rmr[ZfusedZgilrnr\rr]Znogilror�rprrrsrtr^rurvr`raz(DEF|IF|ELIF|ELSE)\b)Qrwrxryrzr�r�r{Zbintr|r�r}r~r�rr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�Z
Py_ssize_tr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�Zunsignedr�r�r�r�r�z<(?<!\.)(self|None|Ellipsis|NotImplemented|False|True|NULL)\b)0r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r��NotImplementedr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�z&(\d+\.?\d*|\d*\.\d+)([eE][+-]?[0-9]+)?z0\d+r�r�z\d+r�z@\w+r�rWz%(public|readonly|extern|api|inline)\bz(struct|enum|union|class)\bz([a-zA-Z_]\w*)(\s*)(?=[(:#=]|$)z([a-zA-Z_]\w*)(\s*)(,)zfrom\br��:z	(?=["\'])�.rqr�rrz(\s+)(c?import)\br�rtzP%(\([a-zA-Z0-9]+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?[hlL]?[E-GXc-giorsux%]r�r$r�rurv�stringsrxryr}�nlr~)rr4rRrNr�rUr6r�r8r<r:rIr�r�rFrGrDrEN)*rjrhrlrcrUr�r�r�r
rrr�rrrr�r�Typerr�rrr	rZPreprocr�r�r�r�r�r�r�r�r�r��Reservedr�r�rr�r&r�r(r(r(r)r!s����&���
�
�����#
���
����
��������������rc@szeZdZdZdZdgZdgZdgZdefde	j
fdejfdej
fd	ejfd
ejfdejfdejfd
eeddd�fdeeddd�fdeeddd�fdeeddd�fdefdejfdefedddd�ejfedddd�ejfdejjfd ejfd!ejfd"ejfd#efd$ejfd%efd&efd'efgd(ejfgd)ej fd*efd+efd,efd-efgd.ed/fgd0ed/fgd1ed/fgd2ed/fgd3�Z!d4S)5rz�
    Lexer for `dg <http://pyos.github.com/dg>`_,
    a functional and object-oriented programming language
    running on the CPython 3 VM.

    .. versionadded:: 1.6
    Zdgz*.dgz	text/x-dgrXz#.*?$z(?i)0b[01]+z(?i)0o[0-7]+z(?i)0x[0-9a-f]+z((?i)[+-]?[0-9]+\.[0-9]+(e[+-]?[0-9]+)?j?z(?i)[+-]?[0-9]+e[+-]?\d+j?z(?i)[+-]?[0-9]+j?z(?i)(br|r?b?)'''rIrE�stringz(?i)(br|r?b?)"""rDz(?i)(br|r?b?)'rGz(?i)(br|r?b?)"rFz`\w+'*`z\b(and|in|is|or|where)\bz[!$%&*+\-./:<-@\\^|~;,]+)r|r}r~r�r�r�zdict'r�r�r�r�zlist'r�r�r�r�r�zset'r�r�r�r�r�ztuple'r�r�z
(?![\'\w])r�)=rwrxryrzr{Zbindrr�r�r�r�r�r�Zdrop�	dropwhiler�r�Zexhaustr�Zflipzfoldl1?r�Zfstr�r�r�r��headr�r��initr�r�r�r�ZiterateZlastr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�zscanl1?Zsndr�r��tail�take�	takewhiler�r�z>(?<!\.)(self|Ellipsis|NotImplemented|None|True|False)(?!['\w])z3(?<!\.)[A-Z]\w*(Error|Exception|Warning)'*(?!['\w])zT(?<!\.)(Exception|GeneratorExit|KeyboardInterrupt|StopIteration|SystemExit)(?!['\w])z_(?<![\w.])(except|finally|for|if|import|not|otherwise|raise|subclass|while|with|yield)(?!['\w])z[A-Z_]+'*(?!['\w])z[A-Z]\w+'*(?!['\w])z\w+'*z[()]r�rtr�r�r$r�r-rurWrxr}r~)rrIr�rFrGrDrEN)"rjrhrlrcrUr�r�r�r
rr�rr�r�r�r�r�rr	rr�rrr�r�r�rr�r�rrr�r&r�r(r(r(r)r�s���	�
������9���������rc@s:eZdZdZdZdgZgZgZhd�Zdd�Z	dd�Z
d	S)
r z[
    A Python lexer recognizing Numerical Python builtins.

    .. versionadded:: 0.10
    ZNumPyZnumpy>�ZseterrZlstsqZpolyfitZmatrzZdtypeZcan_castZfftfreqZravelZinterp�infoZitemsetZstandard_normalZ	array_strZ
unravel_indexZallcloseZ
restoredotr�Zc_�sourceZ
cumproductZset_string_functionZasfarrayZintersect1dZ
getbufsizeZ
random_sample�nanZ	remainder�typenameZmodfZascontiguousarrayZflipudZ
bitwise_orZarccosZgreater�compressZogridZchooseZ	nanargminZpinvZcommon_typeZsolve�shapeZarray_equivZcos�modZ
frompyfuncr�Zget_numarray_include�deleter�ZcorrcoefZfromfileZsctype2charZbitwise_and�repeatZsetxor1dZ
atleast_1dZshuffleZnanminZweibullZbinary_reprZhypotZfft�diffZones�invZ
arrayrangeZpolyvalZasfortranarrayZhanningr�Zget_printoptions�imagZpolyZhstackZpolyadd�innerZexpZargwhereZsignbitZbmatZisscalarZpolydivZdiagonal�inf�item�identityZbetaZediff1dZapply_along_axisZsqueezeZ	base_reprZifftZfmodZfixZ
frombufferZgeterr�invertZbincount�splitZconj�uniqueZflatnonzeroZarctanZvonmisesZhistogramddZissubsctypeZsometrueZ
nan_to_numZfromiterZtrilZnewaxisZ	seterrobj�realZminimum�	conjugateZtracerxZtrue_dividery�fillZdiagZunique1dZasarray_chkfiniteZasscalarZint_asbuffer�productZgumbelZtanhZbyte_bounds�sortZsincZ	broadcastZfloorZlog2r�Zmaximum_sctypeZbitwise_xorZ
fromstringZmgrid�loadZ
obj2sctypeZdispZlogical_xorZsquareZeyeZsinhZhammingZ
setbufsize�emptyZarcsinh�negative�dumpZ
reciprocalZdstack�iterableZset_printoptionsZbinomialZhistogram2dZisfiniteZ
trim_zerosZ	isrealobjZrandom_integersZdiagflatZmay_share_memory�insertZpolysubZvsplitZfinfo�extractZmultiply�dotZtriuZfromfunctionZ	piecewiseZkronZargminZamin�loadsZ
asanyarrayZprodZpolyderZvdotZarcsinZexpand_dimsZbitwise_notZ
issubdtypeZ	newbufferZdivideZ	ones_likeZtanZexpm1ZargmaxZmatrixZsetfieldZisinfZkaiserZvstackZcolumn_stackZmintypecodeZissctypeZloadtxtZmeshgridZswapaxesZ	index_expZpowerZ
atleast_2dZ
less_equalr�Z	vectorizeZseedZargsortZpoisson�varZasarrayZblackmanZlinspaceZldexpZ	deprecater~�unwrapZpkgloadr�Zapply_over_axesZrot90ZndindexZpolyintZ
array_repr�testZiscomplexobjZputZs_�tolistZnonzeroZuniformZsort_complexZhsplitZfrexpZcoshZtypeDictZ
logical_orZfastCopyAndTransposeZ
fromarraysZ
left_shiftZconcatenateZsearchsortedZconvolveZ	histogramZmean�copyZwhoZndenumerateZputmaskZ	not_equalZarray_splitZflatZarray_equalZbyteswapZlog1p�viewZ	isfortranZr_�alenZlogical_andZcumsumZcrossZrankZset_numeric_opsZunion1dZisposinfZvanderZfftshiftZ
atleast_3dZ
seterrcallZtrapzZpermutation�
accumulate�ndimZget_includeZsqrtZcov�logZfloor_divideZlessZtriZceilZpolymulZisneginfZtileZround_ZlexsortZ	nanargmaxZasmatrixZmedianZcumprodZisnanZrollZaverageZclip�addZdigitizeZ	iscomplexZget_array_wrapZ	setdiff1dZarctan2Z
zeros_likeZalltrueZ
real_if_closeZget_numpy_includeZ
geterrcallZgenericZcompare_chararrays�subtractZsvd�indicesZarrayZsetflagsZshow_configZgradientZi0ZfliplrZ	tensordot�absoluteZpoly1dZouterZrecarrayZnanmaxZranf�	getbufferZflattenZix_ZarangeZastypeZfabsZ
greater_equal�whereZzerosZnewbyteorderZarccoshZsetmember1dZresizeZissubclass_ZsavetxtZlogical_notZ	correlateZ	geterrobjZsinZarray2stringZselectZdsplitZplaceZamax�size�signZtostringZreshapeZgetfieldr�ZrequireZisrealZmaximum�dumpsZintersect1d_nuZrollaxis�rootsZalterdotZarctanhZ	row_stackZlogspaceZsampleZ
empty_likeZtofileZbartlettZlog10ZstdZmsortZrandintZ	transposeZangleZaroundZright_shiftZnansumZptpZrintZequalccsJt�||�D]8\}}}|tur8||jvr8|tj|fVq|||fVqdS)N)rr�r�EXTRA_KEYWORDSrr�)r�r��index�token�valuer(r(r)r��s

�z!NumPyLexer.get_tokens_unprocessedcCs.|dd�}t|d�sd|vo,d|vp,d|vS)Nr�r�r�zimport numpyzfrom numpy importr�)r��ltextr(r(r)r��s
��zNumPyLexer.analyse_textN)rjrhrlrcrUr�r�r�r,r�r�r(r(r(r)r 7sCr )+rcr�Zpygments.lexerrrrrrrrr	r
Z
pygments.utilrrZpygments.tokenr
rrrrrrrrrrZpygmentsrr��__all__r�r�rZPython3LexerrrrZPython3TracebackLexerrrrr r(r(r(r)�<module>s*
,4
h^X504c

Youez - 2016 - github.com/yon3zu
LinuXploit