HEX
Server: Apache/2.4.67 (Debian)
System: Linux vps-b2547eb4 6.1.0-41-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/pygments/lexers/__pycache__/ampl.cpython-311.pyc
�

�E�cQ��t�dZddlmZmZmZmZmZddlmZm	Z	m
Z
mZmZm
Z
mZmZmZdgZGd�de��ZdS)z�
    pygments.lexers.ampl
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for the AMPL language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer�bygroups�using�this�words)	�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�
Whitespace�	AmplLexerc�,�eZdZdZdZdZdgZdgZddefde	fd	e
jfd
e
jfe
dd�
��ejfdejfdejfdejfdefdeejeej��fdeeje	ej��fdeeje	ee	eje	ee	ej�	�	fdeeje	ee��e	ej��fe
ddd���ejfdefe
dd�
��ejfdejfdejfdejfdefgiZdS)rz:
    For AMPL source code.

    .. versionadded:: 2.2
    �Amplzhttp://ampl.com/�amplz*.run�rootz\nz\s+z#.*?\nz/[*](.|\n)*?[*]/);�call�cd�close�commands�data�delete�display�drop�end�environ�exit�expand�include�load�model�	objective�option�problem�purge�quit�	redeclare�reload�remove�reset�restore�shell�show�	solexpand�solution�solve�update�unload�xref�coeff�coef�cover�obj�interval�default�from�to�to_come�net_in�net_out�dimen�	dimension�check�complements�write�function�pipe�format�if�then�else�in�while�repeat�forz\b)�suffixzF(integer|binary|symbolic|ordered|circular|reversed|INOUT|IN|OUT|LOCAL)z\".*?\"z\'.*?\'z[()\[\]{},;:]+zu\b(\w+)(\.)(astatus|init0|init|lb0|lb1|lb2|lb|lrc|lslack|rc|relax|slack|sstatus|status|ub0|ub1|ub2|ub|urc|uslack|val)zr(set|param|var|arc|minimize|maximize|subject to|s\.t\.|subj to|node|table|suffix|read table|write table)(\s+)(\w+)z0(param)(\s*)(:)(\s*)(\w+)(\s*)(:)(\s*)((\w|\s)+)z+(let|fix|unfix)(\s*)((?:\{.*\})?)(\s*)(\w+))<�abs�acos�acosh�alias�asin�asinh�atan�atan2�atanh�ceil�ctime�cos�exp�floor�log�log10�max�min�	precision�round�sin�sinh�sqrt�tan�tanh�time�trunc�Beta�Cauchy�Exponential�Gamma�Irand224�Normal�Normal01�Poisson�Uniform�	Uniform01�num�num0�ichar�char�length�substr�sprintf�match�sub�gsub�print�printf�next�nextw�prev�prevw�first�last�ord�ord0�card�arity�
indexarity)�prefixrQz>(\+|\-|\*|/|\*\*|=|<=|>=|==|\||\^|<|>|\!|\.\.|:=|\&|\!=|<<|>>))�or�exists�forall�andrM�not�within�union�diff�
difference�symdiff�inter�	intersect�intersection�cross�setof�by�less�sum�prod�product�div�modz*(\d+\.(?!\.)\d*|\.(?!.)\d+)([eE][+-]?\d+)?z\d+([eE][+-]?\d+)?z
[+-]?Infinityz(\w+|(\.(?!\.)))N) �__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenamesrrr	�Single�	Multilinerr�Reserved�Typer
�Doublerrr�Variable�Declarationrr�Builtinr
r�Float�Integer�tokens���6/usr/lib/python3/dist-packages/pygments/lexers/ampl.pyrrs���������
�D�
�C��h�G��	�I�	�
�D�M�
�Z� �
���'�
 �'�"3�4�
�U�
� %�
&�
&�
&�(/�'7�

9�W�
�\�
�
���'�
���'�
��,�#��X�d�m�[�'�2B�
C�
C�
E�D�
�X�g�)�:�t�}�
E�
E�
G�A�
�X�g�)�:�{�J��m�Z��j�$�-�Y�Y�
Z�<�
�X�g�)�:�u�u�T�{�{�J��m�%�%�
&��U�	�',�E�	;�	;�	;�=A�L�	
J�O�
�
�
�U�)�27�	8�8�8�
�
�
�;�F�L�I�
"�F�N�3�
�v�~�.�
 �$�'�o8
�;�F�F�Fr�N)r��pygments.lexerrrrrr�pygments.tokenrr	r
rrr
rrr�__all__rr�r�r��<module>r�s�����D�C�C�C�C�C�C�C�C�C�C�C�C�C�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$��-��F�F�F�F�F�
�F�F�F�F�Fr�