HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/algebra.cpython-38.pyc
U

`a�[!�@s�dZddlZddlmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
mZddddgZGd	d�de�ZGd
d�de�ZGdd�de�ZGdd�de�ZdS)
z�
    pygments.lexers.algebra
    ~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for computer algebra systems.

    :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�bygroups�words)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�GAPLexer�MathematicaLexer�
MuPADLexer�BCLexerc@s�eZdZdZdZdgZddddgZdd	ejfd
e	fde
fdefd
ej
fdejfdefdejfdejfdefdefdefgiZdS)r
zX
    For `GAP <http://www.gap-system.org>`_ source code.

    .. versionadded:: 2.0
    ZGAPZgapz*.gz*.gdz*.giz*.gap�rootz#.*$�"(?:[^"\\]|\\.)*"�\(|\)|\[|\]|\{|\}aV(?x)\b(?:
                if|then|elif|else|fi|
                for|while|do|od|
                repeat|until|
                break|continue|
                function|local|return|end|
                rec|
                quit|QUIT|
                IsBound|Unbind|
                TryNextMethod|
                Info|Assert
              )\bzD(?x)\b(?:
                true|false|fail|infinity
              )\bzx(?x)\b(?:
                (Declare|Install)([A-Z][A-Za-z]+)|
                   BindGlobal|BIND_GLOBAL
              )\bz\.|,|:=|;|=|\+|-|\*|/|\^|>|<z=(?x)\b(?:
                and|or|not|mod|in
              )\bzC(?x)
              (?:\w+|`[^`]*`)
              (?:::\w+|`[^`]*`)*�[0-9]+(?:\.[0-9]*)?(?:e[0-9]+)?�\.[0-9]+(?:e[0-9]+)?�.N)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesr�Singler
rrr	�Constant�Builtinr�Word�Variablerr�tokens�r$r$�9/usr/lib/python3/dist-packages/pygments/lexers/algebra.pyr
s:�������c@s�eZdZdZdZdddgZdddd	gZd
ddd
gZdZdZ	dd�Z
ddefdej
fdejfdejfdefdejfdejfdejfee�efee	�efdefdejfgiZdS)rzp
    Lexer for `Mathematica <http://www.wolfram.com/mathematica/>`_ source code.

    .. versionadded:: 2.0
    ZMathematicaZmathematicaZmmaZnbz*.nbz*.cdfz*.nbpz*.mazapplication/mathematicaz#application/vnd.wolfram.mathematicaz+application/vnd.wolfram.mathematica.packagezapplication/vnd.wolfram.cdf) z;;�=z=.z!===z:=z->z:>z/.�+�-�*�/�^z&&z||�!z<>�|z/;�?�@z//z/@z@@z@@@z~~z===�&�<�>z<=z>=)�,�;�(�)�[�]�{�}cCsdd�dd�|D��S)Nz(%s)r-css|]}t�|�VqdS)N)�re�escape)�.0�entryr$r$r%�	<genexpr>`sz1MathematicaLexer._multi_escape.<locals>.<genexpr>)�join)�entriesr$r$r%�
_multi_escape_szMathematicaLexer._multi_escaperz(?s)\(\*.*?\*\)z([a-zA-Z]+[A-Za-z0-9]*`)z([A-Za-z0-9]*_+[A-Za-z0-9]*)z#\d*z([a-zA-Z]+[a-zA-Z0-9]*)z
-?\d+\.\d*z
-?\d*\.\d+z-?\d+z".*?"z\s+N)rrrrrrrZ	mimetypesZ	operatorsZpunctuationrBrr	Z	Namespacer"rZFloatZIntegerrrrr
r�
Whitespacer#r$r$r$r%rHs6
�

��c@s�eZdZdZdZdgZdgZdejfdej	dfde
fd	efd
efde
jfde
jfd
e
jjfdefdejfdefdee
jee�fde
jfdefdefdefgdej	fdej	dfdej	dfdej	fgd�ZdS)rz�
    A `MuPAD <http://www.mupad.com>`_ lexer.
    Contributed by Christopher Creutzig <christopher@creutzig.de>.

    .. versionadded:: 0.8
    ZMuPADZmupadz*.muz//.*?$�/\*�commentrra�(?x)\b(?:
                next|break|end|
                axiom|end_axiom|category|end_category|domain|end_domain|inherits|
                if|%if|then|elif|else|end_if|
                case|of|do|otherwise|end_case|
                while|end_while|
                repeat|until|end_repeat|
                for|from|to|downto|step|end_for|
                proc|local|option|save|begin|end_proc|
                delete|frame
              )\baU(?x)\b(?:
                DOM_ARRAY|DOM_BOOL|DOM_COMPLEX|DOM_DOMAIN|DOM_EXEC|DOM_EXPR|
                DOM_FAIL|DOM_FLOAT|DOM_FRAME|DOM_FUNC_ENV|DOM_HFARRAY|DOM_IDENT|
                DOM_INT|DOM_INTERVAL|DOM_LIST|DOM_NIL|DOM_NULL|DOM_POLY|DOM_PROC|
                DOM_PROC_ENV|DOM_RAT|DOM_SET|DOM_STRING|DOM_TABLE|DOM_VAR
              )\bz�(?x)\b(?:
                PI|EULER|E|CATALAN|
                NIL|FAIL|undefined|infinity|
                TRUE|FALSE|UNKNOWN
              )\bz\b(?:dom|procname)\bz-\.|,|:|;|=|\+|-|\*|/|\^|@|>|<|\$|\||!|\'|%|~=z�(?x)\b(?:
                and|or|not|xor|
                assuming|
                div|mod|
                union|minus|intersect|in|subset
              )\bz \b(?:I|RDN_INF|RD_NINF|RD_NAN)\bzi(?x)
              ((?:[a-zA-Z_#][\w#]*|`[^`]*`)
              (?:::[a-zA-Z_#][\w#]*|`[^`]*`)*)(\s*)([(])z](?x)
              (?:[a-zA-Z_#][\w#]*|`[^`]*`)
              (?:::[a-zA-Z_#][\w#]*|`[^`]*`)*rrrz[^*/]z#push�\*/�#pop�[*/]�rrEN)rrrrrrrrr�	Multiliner
rrr	ZClassrr ZPseudorr!rrZFunctionrr"r#r$r$r$r%rwsN

���
����3

��c	@s�eZdZdZdZdgZdgZdejdfde	fde
fed	d
d�efde
fd
efdefdefgdejfdejdfdejfgd�ZdS)rzV
    A `BC <https://www.gnu.org/software/bc/>`_ lexer.

    .. versionadded:: 2.1
    ZBCZbcz*.bcrDrErz[{}();,])�if�else�while�for�break�continueZhalt�returnZdefine�auto�print�readZlengthZscaleZsqrtZlimits�quitZwarrantyz\b)�suffixz!\+\+|--|\|\||&&|([-<>+*%\^/!=])=?z[0-9]+(\.[0-9]*)?z\.[0-9]+rz[^*/]+rFrGrHrIN)rrrrrrrrrJr
rrrrrrr#r$r$r$r%r�s0
����
��)rr;Zpygments.lexerrrrZpygments.tokenrrrrr	r
rr�__all__r
rrrr$r$r$r%�<module>s
(3/G