a
    lc;                     @   sf   d Z ddlmZmZmZmZmZ ddlmZm	Z	m
Z
mZmZmZmZmZmZ dgZG dd deZdS )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                   @   s  e Zd ZdZdZdZdgZdgZddefde	fd	e
jfd
e
jfedddejfdejfdejfdejfdefdeejeejfdeeje	ejfdeeje	ee	eje	ee	ej	fdeeje	eee	ejfeddddejfdefedddejfdejfdejfdejfdefgiZdS )r   z:
    For AMPL source code.

    .. versionadded:: 2.2
    Amplzhttp://ampl.com/amplz*.runrootz\nz\s+z#.*?\nz/[*](.|\n)*?[*]/);callcdclosecommandsdatadeletedisplayZdropendenvironexitexpandincludeloadmodelZ	objectiveoptionproblempurgequitZ	redeclarereloadremoveresetrestoreshellshowZ	solexpandZsolutionZsolveupdateZunloadZxrefZcoeffZcoefZcoverobjintervaldefaultfromtoZto_comeZnet_inZnet_outZdimen	dimensioncheckZcomplementswritefunctionpipeformatifZ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BetaZCauchyZExponentialGammaZIrand224ZNormalZNormal01ZPoissonZUniformZ	Uniform01numZnum0ZicharcharlengthsubstrZsprintfmatchsubZgsubprintZprintfnextZnextwprevZprevwfirstlastordZord0ZcardarityZ
indexarity)prefixr>   z>(\+|\-|\*|/|\*\*|=|<=|>=|==|\||\^|<|>|\!|\.\.|:=|\&|\!=|<<|>>))orexistsforallandr:   notZwithinuniondiff
differenceZsymdiffinterZ	intersectintersectioncrossZsetofZ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	filenamesr   r   r   Single	Multiliner   r
   ReservedTyper   Doubler   r   r   VariableDeclarationr   r   Builtinr	   r   FloatIntegertokens r   r   P/var/www/html/django/DPS/env/lib/python3.9/site-packages/pygments/lexers/ampl.pyr      sl   

		
N)r~   Zpygments.lexerr   r   r   r   r   Zpygments.tokenr   r   r	   r
   r   r   r   r   r   __all__r   r   r   r   r   <module>   s   
,