a
    lci                     @   s   d Z ddlmZ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 ddlmZmZ ddlmZ dgZG dd deZdS )	z
    pygments.lexers.freefem
    ~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for FreeFem++ language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerincludebygroupsinheritwordsdefault)TextCommentOperatorKeywordNameStringNumberPunctuation)CLexerCppLexer)_mql_builtinsFreeFemLexerc                   @   sz   e Zd ZdZdZdZdgZdgZdgZh dZ	h dZ
h d	Zh d
Zh dZh dZh dZdhZh dZdddZdS )r   z
    For FreeFem++ source.

    This is an extension of the CppLexer, as the FreeFem Language is a superset
    of C++.

    .. versionadded:: 2.4
    Freefemzhttps://freefem.org/freefemz*.edpztext/x-freefem>   '%/z.**+-z./^z^-1:>   ZEndMacrointZNewMacroZmpiGroupcomplexZifstreamZ
PsemaphoreZvarfrealfuncZmpiCommbordermacroZofstreamZPmmapZ	gslsplineZ
mpiRequestproblemstringZmesh3matrixZmeshZfespaceZsolveZdmatrixbool>*   ZHCTZRT0OrthoZP13dZP1dcZP4EdgeZP2hZP1EdgeZP3EdgeZP1blZP2dcZP1ncZRT1OrthoZEdge23dZ	BDM1OrthoZP0EdgeZP2MorleyZFEQFZRT2ZP2bZP5EdgeZP3dcZRT2OrthoZP1bl3dZP2ZP2BRZP4ZEdge03dZP3ZRT03dZP2pncZP4dcZRT0ZBDM1ZP1bZP2EdgeZP0ZP23dZRT1ZP1b3dZP03dZP1ZEdge13d>   ZIFMACROZ
ENDIFMACROloadr   >p   pintZmpisizeZmpiBXORZquantileZARGV	verbosity	precisionZqf1pTZtellpZmpirankZqfV5nvZcoutZshowbasel2Zqf1pEmeasureZGMRESZqf2pTbeZsetwZendlZmpiUndefinedZmpiAnySourcelabelZnbeZqf2pEZCholeskyZqfV1ZmpiPRODPsumZqf7pTyr   ZimaxZnTonEdgeZmpiCommWorldfixedmaxZmpiBANDZmpiMINnZlinftyflushZlenEdgeZwhoinElementZ	qf1pElumpZLUZcinNZunusedZInternalEdgetrueZdiagZqf9pTZmpiLORZshowposZ	qf1pTlumpvolumefindZimZ
notaregionZCGZnuEdgeZmpiLANDZ	noshowposregionZ
noshowbaseZmpiMAXZndofZmpiSUMminl1ZqfnbpEZ
nuTrianglemZ	hTriangleZqf5pTZ
scientificZbordermeasureZqf3pEappendZqf2pT4P1binaryZiminzfalseZqfV1lumpZedgeOrientationZLINEZqf4pEZCroutrelengthZqfV2ZsearchMethodversionZBoundaryEdgerfindZsparsesolveradjZndofKxZffindZareaZqf5pEZmpiLXORFILEZgoodZUMFPACK>  Zgslsfdebye6ZgslsfhazardZisNaNtanZgslcdfexponentialQZsignbitZgslsflogZgslsfhyperg1F1ZgslsflegendrePlZgslsfbesselklscaledZgslsflegendresphPlmZgslcdfbetaQinvZgslsfbesselK1Zgslsfbesselj0ZdzZgslsffermidirac1ZgslsfgammaincZgslsflnfactZgslcdfbinomialPZgslsfbesselI1scaledZ
gslsfdilogZgslranweibullpdfZgslsfCiZgslsfgammaincPZgslsfgegenpoly1ZgslranlaplaceZchangeZgslsffermidirac2Zgslsftransport4Zgslsfbesseli1scaledZ
invdiffposZgslrangaussiantailZgslsfmultiplyZgslranweibullZgslcdfexponentialPZgslcdfweibullPinvZgslcdfflatPZgslsfdebye5ZmpiAlltoallZgslsflegendreP3ZgslsfbesselKnuscaledZy0ZgslsfairyzeroBiZj0Z	randreal1imagZcmaesZtgammaZgslcdfpoissonQZgslsfSiZgslsfexpint3sinhatanhZtetgZgslsfbesselK0scaledZ	dumptableZgslranugaussiantailpdfZgslcdfgumbel2PZIrecvZgslsflegendreQlZgslsfsynchrotron1Zgslsfhyperg0F1ZgslcdfrayleighQinvZdiffposexecfmodZ	gslsferfQZgslcdfbetaQZgslcdflaplaceQinvZmeditZWriteZisolineZgslcdfparetoQZgslsfbesselzeroJnuZgslsflogerfcdlog10ZgslcdfweibullQinvZgslranlognormalpdfZgslranbernoullipdfZgslsfpowintZ
gslsfexpm1ZgslcdftdistQZlroundZgslsfellintRCZgslcdfugaussianQZgslranlandauZgslcdfbetaPinvZgslranexponentialpdfZgslsfellintFZgslcdfnegativebinomialQZint3dZgslsflaguerre1Zgslrangumbel1pdfZint2dZgslrancauchyZgslsfbesselInuscaledZgslsflnchooseZgslranlognormalZgslsftransport3ZgslsfairyzeroBiderivacoshZ	gslsfsincZ
gslsfhzetaZ	mpiGatherZ	randres53ZgslsfbesselJ1ZStringificationZ	gslsferfZZtellgZfdimZgslcdfrayleighPinvZgslranerlangpdfrI   ZgslsffermidirachalfceilZgslrangaussianratiomethodZgslsfexpZgslsflegendreH3d1ZgslsfhypergUintZseekgZ	mpiReduceZgslranpascalpdfatofZmpiAllgatherZgslrangeometricpdfZdyZtetgtransfoZtetgreconstructionZcomplexEigenValueZgslranlaplacepdfZgslranrayleightailpdfZgslcdfflatQinvZgslcdfparetoPinvdistZgslsffermidiracintZtetgconvexhullZgslsflog1plusxZintallfacesZgslranerlangy1ZinvdiffZgslcdflognormalQinvZPostZgslsflogabsZ	gslsffactZgslsflambertWm1ZgslsfellintKcompZdxzZgslcdflognormalPinvZgslsfgegenpoly3Z	gslsfpsinZ	gslsfpsi1ZgslcdfbetaPZgslsfexpintE2scaledZgslcdfugaussianPZgslsflnpochZgslsfpsi1piyZgslcdfchisqPinvZgslsfbesselJnZmpiWtickZgslsfdebye1ZgslcdflogisticPinvZgslsflegendreP1Z
projectionZgslsfellintPcompZgslsfexprelnZmpiSizeZrandinitZgslcdfexponentialPinvZgslsfbesseli0scaledZ
mpiBarrierZgmshloadZgslcdfugaussianQinvZgslsfexpintEnscaledZgslsfbetaincZgslsflegendreH3d0onZdyyZgslsfexprel2ZgslsfChiZgslsfetaZgslsfairyBiderivscaledZgslcdfcauchyQZgslsfpsi1intrandomZ	randreal2setZgslcdfrayleighQZgslrancauchypdfZgslsfexpintE2ZgslsfairyAiderivscaledZgslsfbesselI1ZbuildlayersZdxyZ
movemesh23Zgslsflog1plusxmxZgslcdfexppowQatoisortZgslinterpakimaperiodicZgslcdfgaussianPinvZgslrangammamtZint1dZAffineCGZgslsfetaintZgslcdfgumbel2PinvZgslsfbesselY0ZgslsfconicalP0Z
mpiWaitAnyZ	gmshload3Zgslsfexprelr>   Zgslsffermidirac0ZgslsfzetaintZgslsflambertW0ZconjZgslranrayleighpdfatanZgslsfairyAiZgslcdffdistQinvZgslsfdebye3ZgslcdfcauchyPZgslsfgegenpoly2sqrtsystemZgslrangammaknuthZgslsfellintEcompZ	splitCommfloorZgslsfpsiintZ	randint31Z
mpiGathervZgslsflnsinhZgslsftransport5ZgslsfairyBiscaledZgslcdfgeometricPZgslinterpsteffenZgslsflaguerre3ZgslcdfexponentialQinvZgslsflegendreQ0ZgslsfbesselKnuZgslcdfpascalQZgslcdfgumbel2QroundZBFGSZgslsfdebye2ZgslsfbesselJ0ZgslcdfnegativebinomialPZrintZdxxZgslsfsynchrotron2Z	gslsfpochZgslsffermidiracinc0ZgslsfairyAiscaledZ
EigenValueZgslcdfugaussianPinvZfmaxZgslsfconicalPmhalfZgslcdftdistPinvZsavemeshZmpiAllgathervZgslcdfgumbel2QinvZgslsfbesseli2scaledZgslcdffdistQZmpiWaitZgslsfbessely2swapZgslsfbesselk1scaledZgslcdfgumbel1PinvZmpiScattervZdfftZgslinterplinearZgslsfzetam1intZgslsfgammaincQZ	readmesh3ZsavevtkZgslrannegativebinomialpdfZgslranexppowZdzxZgslcdfbinomialQZgslsfexpintEiscaledZgslsflncoshZgslsfellintEZfminZcheckmovemeshZcubeZgslsfgammainvZgslsfdoublefactZgslcdfpoissonPsignZgslsfbesselKnscaledZ	splitmeshZgslsflnbetaZgslranlogarithmicpdfZgslsfexpintE1ZfreeyamsZj1Z	emptymeshasinZgslsfhyperg2F0Zgslsfbesselj2ZSentZgslsfanglerestrictposZsquarer6   ZgslinterpakimaZgslsfexpintEiZNLCGZgslranchisqZgslrangaussianzigguratgetlineZgslsfairyzeroAiderivZgslrangaussianpdfZgslrangaussianZgslsfclausenZgslcdfweibullQZgslsfbesselk2scaledZconvectZgslcdflogisticQinvZgslcdfpascalPZdyxZ
mpiScatterZgslsfbesselK1scaledZgslinterppolynomialZ
srandomdevpowZgslcdfgammaPinvexpZgslsfbesseljlZgslsfbessely1ZReadZmmg3dZgslsfpochrelZgslsfcosZgslcdfgammaPZgslsfbesselzeroJ1ZgslsfdawsonZjumpZjnZgslranexppowpdfZgslsfanglerestrictsymmacosZgslcdfchisqQZgslsflndoublefactZgslsfbesselJnuZ
gslsfgammaZgslsfairyBiZgslranugaussianratiomethodZgslsffermidiracmhalfZgslsferfZgslsfairyBiderivlgammaZgslranrayleightailZgslranexponentialZgslsfexpintE1scaledZgslcdffdistPinvZgslsfdebye4ZgslcdfparetoQinvZgslcdfchisqPZgslsflngammaZgslsfhydrogenicR1ZgslsfconicalPhalfZgslcdfgammaQZgslsflegendrearraysizeZIsendZlrintZgslsflegendreP2ZgslsfbesselzeroJ0ZgslsfbesselK0assertZ
gslranlevyZRecvZgslsfbesselylZgslsflegendrePlmZgslsfbesselKnZgslcdfgumbel1PZgslranfdistZsrandomZgslsfbesselInuZ
gslsfhypotZ
gslranbetaZgslcdfgaussianQZmpiRankZsavesolZgslcdfexppowPZgslranparetopdfZmpiAllReduceZgslranbetapdfZgslsfgammastarZgslsfatanintZgslsfexpintEnatan2ZdiffnpZynZgslrantdistZgslsftransport2ZdzyZLinearCGddZgslsfairyzeroAiZgslsfhyperg1F1intZ	gslsferfcZgslsfShiasinhZgslsfellintDcompZgslcdfcauchyQinvZgslcdflaplacePZgslcdfflatPinvZgslcdfweibullPZgslsffermidirac3halfZ	randreal3ZdxZgslsfbesselilscaledZ	dimKrylovZgslsfhypergUZgslinterpcsplineZgslranparetomeanZ	adaptmeshZgslsfchooseZgslcdfgaussianPZgslinterpcsplineperiodicZgslranugaussianZgslsfbesselInscaledZdyzZgslsfbesselj1argZ	buildmeshchisinZgslcdftdistPZgslranlogisticpdftruncZgslsfexpmultabsZgslcdfrayleighPZgslsfbesselInZprocessorblockZgslranpoissonpdfZ
gslranflatNaNcoshZgslsflaguerre2ZgslcdflaplaceQZgetARGVcopysigntanhZtriangulateZgslsfsinZgslrantdistpdfZreadmeshZgslrangammaZgslsfbessely0ZgslranflatpdfZgslsfbesselk0scalederfcZgslsfairyAideriverfZgslsfconicalPsphregZ	randint32Zgslcdfgumbel1QZgslcdfgaussianQinvZgslcdflognormalQZgslcdfparetoPZmovemeshZ	gslsfzetaZgslcdflogisticQZgslsfbesselI0scaledZgslranchisqpdfZgslsflaguerrenZ	gslsfbetaZgslcdflognormalPZgslrangumbel2ZisInfZmshmetZAffineGMRESZgslcdftdistQinvZgslrangammapdfZgslsfbesselYnZgslsfconicalPcylregZ	invdiffnpclockZgslcdffdistPZintalledgesZmpiAlltoallvZgslcdflaplacePinvZgslrangumbel1ZgslsfbessellnKnuZgslranugaussianpdfZgslsfpsiZgslranlogisticZgslsflegendreQ1Zgslcdfgumbel1QinvZgslranbinomialpdfZgslcdflogisticPZgslsfbesselY1	broadcastZgslsfbesselYnuexitZgslcdfcauchyPinvZdzzZgslcdfgammaQinvZgslsfzetam1ZgslranrayleighcosZWaitZgslsfconicalP1ZgslsfbesselI0Zgslsffermidiracm1ZgslsfgegenpolynZLinearGMRESlogZgslranugaussiantailZgslsflegendreH3dZgslcdfchisqQinvZgslcdfflatQ	processorZgslrangaussiantailpdfZpolarZplotZgslranlandaupdfZgslrangammaintZgslcdfgeometricQZgslranfdistpdfZgslrangumbel2pdfZmpiWtimeZinterpolateZgslsftaylorcoeff>   ZB1ZlevelsetZhminerrZkeepbackverticesZrenumvZsizeofvolumeZvectorstopZnormalizationZmeditffcutoffZ
reffacelowZorientationZholelistZnbjacobyZqforderZerrgZ	factorizeZcoefZdparamsZvepsZfacetclZIsMetricZinsideZbeginendr1   ZlparamsZlabelmidoptimizeZnbvxZ	nbofholesvalueZnbarrowZptmergeZfregionopZtolpivotsymZdoptionswidthZinquireZWindowIndexfillZisoA1prevZsplitin2ZfixedborderclosesymZmaxitZtolZ	facemergeZepsZlabelupZdistmaxZflabelZnevoptionsZvarrowZ	labeldownZtgvflagsZbbZdatanameZ	rawvectorZ
reffacemidZhmaxZdatafilenamer=   ZperiodicZgreyZmemoryZnbsmoothZpsratioZnomeshgenerationZqfeZ	floatmeshZzboundZcmmpowerboundarymodetZsolverZ	gradationZhsvZloptionsbinZmembwZnbregulZfloatsolZ	reffaceupZqftfileoptionwhichZsparamsZtolpivotZ
ridgeangleZnbisoZthetamaxZaspectratiowaitZnbiterZreftriomegaZnboffacetclZ
regionlistZ	rescalingsigmaorderZtransforefnumZ	smoothingZnbofregionsZpreconZ	maxsubdivZsplitpbedgeinitZqfVZmetricAZivalueswitchZvisosaveZ
composanteZncvdimBZreftetZabserrorZdisplacementZwithsurfacemeshsplitZanisorc   ZU2VcabsoluteZstrategyZ
fixeborder>   	namespacedecltypeZthread_localZstatic_assertusingZnoexcepttypenameZalignofthisdivasmZrestrictZ	constexprdoubletemplateZtypeidZmutableZgradrootc                 c   s   t | ||D ]\}}}|| jv r0|t|fV  q|| jv rJ|tj|fV  q|| jv rd|tj	|fV  q|| j
v r~|tj|fV  q|| jv r|tj|fV  q|| jv r|tj|fV  q|| jv r|tj|fV  q|| jv r|t|fV  q|||fV  qd S )N)r   get_tokens_unprocessed	operatorsr
   typesr   Typefespacesr   Classpreprocessorr	   PreprockeywordsReserved	functionsFunction
parametersPseudosuppress_highlight)selftextstackindextokenr    r   S/var/www/html/django/DPS/env/lib/python3.9/site-packages/pygments/lexers/freefem.pyr   o  s$    







z#FreeFemLexer.get_tokens_unprocessedN)r   )__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesr   r   r   r   r   r   r   
deprecatedr   r   r   r   r   r   r      s*   	t     N)r   Zpygments.lexerr   r   r   r   r   r   Zpygments.tokenr   r	   r
   r   r   r   r   r   Zpygments.lexers.c_cppr   r   Zpygments.lexersr   __all__r   r   r   r   r   <module>   s   
 (