a
    ñ»j$i  ã                   @   sB   d Z ddlmZmZ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-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )ÚCommentÚOperatorÚKeywordÚName)ÚCppLexerÚFreeFemLexerc                   @   s~   e Zd ZdZdZdZdgZdgZdgZd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++.
    ÚFreefemzhttps://freefem.org/Úfreefemz*.edpztext/x-freefemz2.4>   ú/Ú*z.*ú%ú+z./z^-1ú^ú-ú'ú:>   ÚcomplexZPmmapÚborderZvarfÚmacroZ
mpiRequestZsolveÚrealZfespaceÚstringÚintÚboolZmeshZ
PsemaphoreZEndMacroZmesh3ZdmatrixZifstreamÚfuncZmpiCommZofstreamÚmatrixZNewMacroZmpiGroupÚproblemZ	gslspline>*   ZP1bl3dZP4ZP03dZFEQFZBDM1Z	BDM1OrthoZRT2ZP4dcZP2hZP5EdgeZRT2OrthoZP4EdgeZP2pncZEdge13dZEdge23dZP2MorleyZP1EdgeZP0ZP1ncZP2BRZP1b3dZRT1OrthoZP23dZP1bZRT0ZP2EdgeZRT0OrthoZP1dcZP13dZP2dcZHCTZP3dcZP3ZRT1ZP1ZP2bZP2ZP1blZRT03dZEdge03dZP3EdgeZP0Edge>   ÚloadZ
ENDIFMACROZIFMACROÚinclude>p   Z
notaregionZmpiCommWorldÚversionZqf2pT4P1ZtellpZlinftyZmpiLANDZmpiLORZqf4pEÚmaxZmpiBXORZqfV5ZendlÚPZndofKZqf7pTZqf9pTÚfixedZffindÚmeasureZimaxZshowposÚregionZiminÚpiÚfalseZGMRESÚlabelÚnZareaZmpisizeZCGZ	qf1pElumpZlenEdgeZqf3pEZcinZqfV1ZUMFPACKÚnvÚ	verbosityZnuEdgeÚminZqf2pTZ
scientificZqf5pEÚxZ
noshowbaseÚmÚadjÚvolumeZgoodZsetwÚsumZmpirankZmpiMAXZ
nuTriangleZedgeOrientationZqfV2ZCholeskyÚfindÚ	precisionÚtrueÚappendZmpiBANDZInternalEdgeZbordermeasureZsparsesolverÚbinaryZmpiAnySourceZqf1pTZqf1pEÚflushÚlengthZ	hTriangleÚl1ÚbeÚzZLINEZmpiMINZshowbaseZ	qf1pTlumpZBoundaryEdgeZnbeZndofZwhoinElementÚdefaultZmpiUndefinedZqf5pTÚl2ZdiagÚntZqfV1lumpZcoutZ	noshowposZunusedZmpiPRODZmpiSUMZmpiLXORZquantileÚreZsearchMethodZnTonEdgeZqfnbpEZqf2pEZARGVÚNZLUZimÚFILEÚrfindÚyZCrout>  ZgslcdfcauchyQinvZgslsfgegenpoly3ZgslsfbesselY0ZcomplexEigenValueZgslsfpsi1intZ	randreal2Z
mpiScatterZgslranugaussianratiomethodZgslsfbesselylZint1dZgslcdfgumbel2QinvZgslcdfbetaPinvZgslsfbesselY1ZgslsfairyAiZgslsffermidiracinc0ZsavemeshZgslsfgammainvZgslranrayleighZgslsfconicalPsphregZgslsfairyAiderivscaledZgslsflnbetaZgslsfexpintE2Z	readmesh3ZmovemeshZgslcdflaplacePinvZgslsfellintEcompZgslsftaylorcoeffÚassertZdyZgslranugaussiantailZgslsfbetaincZgslcdfgammaPZgslsfbesselI0ZgslsfbesselKnscaledZgslsftransport3ZgslcdfchisqQinvZgslrangaussiantailZgslcdfugaussianQZgslcdfexponentialQinvZgslcdfparetoPZgslrangaussianratiomethodZgslcdfchisqQZgslsfellintKcompZgslsfhyperg1F1intÚatanZgslsfbesselj1ZgslrantdistZdzxZgslranpascalpdfZgslrangammaintZgslsfpsiÚddÚexecZgslsfellintDcompZsavevtkZgslrantdistpdfZgslcdflaplaceQinvZseekgZgslcdfnegativebinomialQZ	gmshload3ZjnZgslsflambertW0ZjumpZgslsfclausenZgslcdfweibullPinvZgslcdfexppowQZmpiWtickZgslcdfgumbel1PZgslsfexpint3Zgslsfzetam1intZgslsffermidirachalfÚcosZ	randint31ZgslsfmultiplyZ
gslsfgammaZAffineCGZgslsfbesseli0scaledZgslsfbesselk1scaledZchangeZgslsflegendreP1ZgslsfairyBiZgslsfairyzeroAiderivÚtanZy0ZgslsfairyzeroBiderivZsavesolÚpowZgslsflegendreQlZgslcdfflatQinvZgslinterpakimaperiodicZgslcdfgammaPinvZgslcdfrayleighQinvZgslsflegendreP2ZmpiSizeZsrandomZgslranrayleightailpdfZfreeyamsZint3dZAffineGMRESZgslsfexprelnZgslrangumbel1ZgslsfbesselK1scaledZgslsfbesselzeroJ1ÚabsZisolineZgslsftransport5ZgslranbernoullipdfZgslsfbesselKnuZ
gslsfhzetaZgslsflnchooseZgslcdfchisqPinvZgslrangammamtÚmeanZgslcdflogisticPZgslcdfgumbel2PinvZdiffnpZgslranerlangÚacosZgslsfexpintEnZgslsfdebye5ZgslcdfbinomialPZgslcdfweibullPZgslsfhyperg0F1Z
movemesh23Zgslsfbesseli2scaledZgslsflegendrePlZgslsfbesselJ0ZgslcdffdistPZmpiAlltoallvZgslsfexpintE1scaledZgslcdffdistQinvZlroundZgslrangumbel1pdfZ	randreal3ZgslranrayleightailZgslsfellintEZ	mpiReduceZgslsfanglerestrictsymmZgslsfgammaincPZsquareZgslsffermidiracm1Zj1ÚatanhZgslsfhyperg1F1ZgslsfbesselYnZgslcdfbetaQinvZgslrangumbel2pdfZtetgtransfoÚatan2ZgslcdfugaussianPinvZgslcdfgumbel1PinvZgslsflaguerrenZtriangulateZ
gslranbetaZgslsfdoublefactÚonZgslranpoissonpdfZgslranrayleighpdfZgslranexponentialZgslranexppowZgslcdftdistPZgslcdfpascalQZgslsflogabsZgslranweibullZgslsflegendrearraysizeZmpiAllReduceZgslranlaplacepdfZgslsfgegenpoly2Zgslsfdebye3ZgslcdfugaussianQinvZgslsfhypergUintZgslranlogisticZgslsfexpintEiZgslsfbesselI0scaledZgslsflaguerre3ZgslsfbesselzeroJnuZgslsflaguerre1Zgslsfdebye6ZgslcdfpoissonQZgslsfconicalPcylregZ	gslsferfQZgslsfShiZRecvZgetARGVZLinearCGZcheckmovemeshÚ	broadcastZtellgZgslsfconicalPhalfZgslrangaussiantailpdfZgslsffermidirac0ZmpiAllgatherZcmaesZgslranugaussianpdfZgslsfbesselk2scaledZ
gslsfhypotÚswapÚargZgslcdfugaussianPZgslsfexpmultZgslsfgegenpoly1ZgslsfexpintEiscaledZgslsfexpZ
gslsfdilogZgslsfbesselzeroJ0ZdfftZgslsffermidirac2ZgslranweibullpdfZgslsflog1plusxÚsetZgslsfzetaintZgslsfbesselKnuscaledZmpiWtimeZgslsfairyBiderivscaledZgslsffermidiracintZ
srandomdevZgslcdftdistQinvZbuildlayersZgslranugaussiantailpdfZgslsfbesseljlZgslsfhydrogenicR1ZgslsfsinZgslcdfflatQZgslsflnsinhÚasinhÚerfZgslsfanglerestrictposZ	gslsferfZZ	invdiffnpZgslranparetopdfZmpiAlltoallÚcoshZgslcdflognormalPZgslranchisqpdfZmpiWaitZgslcdfbetaQZfminZdzzZgslcdfbetaPZfdimZgslrangaussianzigguratZgslsfairyzeroAiZgslrangammaknuthZgslranexponentialpdfZgslsfbesselj2Zint2dZStringificationZgslsflegendreP3ZgslsfhazardZgslsfconicalP0ZgslsfairyAiderivZgslsfexprel2ZgslsflegendresphPlmÚfmodZgslcdfgaussianQinvZgslsfdebye2ZgslsfexprelZgslsfairyAiscaledZgslcdfweibullQZgslsffermidiracmhalfZgslsfgammaincQZ	gslsfpsinZgslsfcosÚy1Z	dimKrylovÚdZ	gslsfpochZgslcdfrayleighQZgslranchisqZgslsflndoublefactZinvdiffZ
EigenValueZgslsfhyperg2F0ZgslsflegendreQ1ZmshmetÚsystemZgslsfpsi1piyZgslranerlangpdfZgslsflegendrePlmZgslsfetaintZgslcdfcauchyQZgslsfdawsonZgslsfgammaincZgslranfdistZgslsfexpintE2scaledZgslsflegendreQ0ZgslsfgegenpolynZgslcdfgumbel2PZmpiRankZWaitZdxyZ
gslsfexpm1ZisNaNZgslsfzetam1Z	dumptableZ	gslsfbetaZgslsfbesselJnuZreadmeshZgslcdfparetoQZgslcdftdistPinvZgslrangaussianpdfZgslsfbesselK1ZtgammaZgslsfdebye1ZgslsfellintFZgslsfpochrelZgslsfbesselInuscaledZgslsftransport2ÚexitZgslcdfgammaQZgslsfbesselI1scaledZgslcdfchisqPZLinearGMRESZgslsferfZ	randint32ZgslsflegendreH3d1r-   ZgslrancauchypdfZ	randres53ZgslsfSiZynZconjZgslinterpcsplineperiodicZ
mpiWaitAnyZtetgconvexhullZgslsfexpintE1Zgslrangumbel2ZrandinitZgslsflngammaZgslcdfexponentialPZgslsflambertWm1Z	randreal1ZgslcdfgaussianPZgslcdfflatPZgslcdfflatPinvZgslcdfgumbel1QZgslsflnfactZgslsftransport4Z	adaptmeshZgslrangammaZmeditZgslranflatpdfZfmaxZgslsfbessellnKnuZgslsffermidirac3halfZgslsflogZgslsfpowintZmmg3dÚtanhZgslcdfparetoPinvÚsinhZgslsfairyBiscaledZgslcdftdistQZ
mpiGathervZgslranlognormalZgslsfbesselInuZgslcdfexponentialQZgslcdfexppowPZIsendZgslsfbessely1Z
invdiffposZgslcdfparetoQinvZgslsflog1plusxmxZdyzZgslsfconicalPmhalfZmpiScattervZtetgreconstructionZisInfZgslsfbesselklscaledÚimagZ
gslranflatZgslsfsynchrotron1ZgslsfbesselJnZgslcdflognormalQinvZgslsffermidirac1ZlrintZSentÚchiZgslsfpsiintZintallfacesZgslcdflaplaceQZgslsflnpochZgslsfgammastarZgslcdfgammaQinvZgslranlaplaceZgslsfsynchrotron2ÚsignÚatoiZgslsflaguerre2ZdzyZgslsflogerfcÚtruncZBFGSÚfloorZgslsflegendreH3d0ZgslcdfweibullQinvZgslsfellintPcompZgslcdfgumbel1QinvÚdistZcubeZgslcdfgeometricPZgslcdfcauchyPinvZ	emptymeshZ	splitmeshZgslsflncoshZgslcdfbinomialQZgslsfbesseli1scaledZgslsfbesselInscaledZgslcdfgaussianQZdxr   ZrintZgslinterpcsplineÚroundZgslcdflogisticPinvÚlgammaZgslsfconicalP1ZReadZgslsfbessely2ZgslsfairyBiderivZ	splitCommZj0ÚclockZgslranfdistpdfZgslcdfpascalPZgslsfbesselK0scaledZgslsfhypergUZgslsfbesselI1ZgslcdfcauchyPÚcopysignZsignbitZgslinterppolynomialZtetgZgslsflegendreH3dÚatofZ
gslranlevyZ	mpiGatherZgslranbetapdfÚgetlineÚlog10ZgslsfbesselKnZmpiAllgathervZgslranlogisticpdfZ	gslsfsincÚsortr*   ÚacoshZgslranlogarithmicpdfZgslsfbessely0ZgslsfCiÚceilZ	gslsfzetaZprocessorblockZgslinterpakimaZNLCGZgslcdfnegativebinomialPZgslcdffdistPinvZIrecvZconvectZgslcdfgaussianPinvZdxxÚsinZgslcdfgeometricQZgslranlandauZgslinterplinearZ	gslsffactZgslsfbesselInZgslranugaussianZgslcdflaplacePZintalledgesÚerfcZgslcdflogisticQinvÚrandomZgslsfairyzeroBiZgslsfexpintEnscaledZgslsfbesselYnuZgslranparetoZ
mpiBarrierZgslcdflognormalQZgslranlognormalpdfZgslcdffdistQZgslsfChiÚNaNZ	gslsfpsi1ZgslsfellintRCZgslinterpsteffenZgslsfchooseZgslsfetaÚlogÚsqrtZgslrannegativebinomialpdfZgmshloadZgslsfdebye4ZgslrangammapdfZgslranexppowpdfZdyyÚ	processorZgslcdfexponentialPinvÚexpZgslsfatanintZgslrancauchyZPostZdyxZdiffposZgslsfbesselK0ZdxzZgslsfbesselilscaledZWriteÚasinZgslcdfrayleighPZgslsfbesselk0scaledZgslcdflogisticQZgslranbinomialpdfZ	gslsferfcZgslcdflognormalPinvZdzZ	buildmeshZgslranlandaupdfZgslcdfgumbel2QZgslrangaussianZgslsfbesselJ1Zgslsfbesselj0Z
projectionZinterpolateZpolarZgslcdfrayleighPinvZgslrangeometricpdfZplotZgslcdfpoissonP>�   ZqfVÚA1ZvarrowZdparamsZ	rawvectorÚsplitZtgvZlparamsZnbjacobyZsplitin2Z	labeldownZWindowIndexZvisoZholelistÚepsZnboffacetclÚomegaZnbarrowZ	rescalingÚoptionsZlevelsetÚbinZfregionZhminZncvÚpowerZqfeÚratioZmemZfacetclÚboundaryZperiodicZptmergeZlabelmidr#   ZcmmZinsideZdisplacementZcoefZsizeofvolumeZhsvr&   ÚwhichZmaxitZthetamaxZtolpivotZvepsZdatanameÚrefnumÚprevZvectorÚflagsZqftZbbZtransfoZloptionsZtolpivotsymZlabelupZnevZnbregulÚoptionÚdimÚabsoluteZgreyZ	floatmeshÚswitchZmemoryZB1ZorientationZnbisoZfloatsolZrenumvZ	nbofholesZdistmaxZnbsmoothZ
reffacelowZ
ridgeangleÚinitÚerrZpsZbeginendZmetricZ
reffacemidÚfileZdoptionsZ	reffaceupZU2VcZnbofregionsZwithsurfacemeshrP   ZfixedborderZanisoZkeepbackverticesZ
composanteÚwidthZnomeshgenerationÚcloseZinquireZerrgZ	factorizeZdatafilenameZnbiterZhmaxÚtÚopÚAZ	gradationZtolZivalueZflabelÚcutoffZabserrorZnbvxZqforderZsparamsZzboundZ
regionlistZisoÚwaitZ	smoothingÚoptimizeZreftriÚfillÚsymZstrategyÚBZaspectratioÚorderZsolverZpreconÚbwZ	maxsubdivZsplitpbedgeZreftetZmeditffÚsaveZ	facemergeÚmodeÚsigmaÚstopZIsMetricÚvalueZnormalizationZ
fixeborder>   Z	constexprÚdivZmutableZthread_localZtypeidÚdecltypeZstatic_assertÚ	namespaceZnoexceptZgradÚusingÚasmÚthisZrestrictÚdoubleÚtemplateZalignofÚtypename©Ú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¼   ú=E:\soccer\ml_env\Lib\site-packages\pygments/lexers/freefem.pyr¨   j  s$    







z#FreeFemLexer.get_tokens_unprocessedN)r¦   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesÚversion_addedr©   rª   r¬   r®   r°   r²   r´   Ú
deprecatedr¶   r¨   r¼   r¼   r¼   r½   r      s,   t     N)
rÁ   Zpygments.tokenr   r   r   r   Zpygments.lexers.c_cppr   Ú__all__r   r¼   r¼   r¼   r½   Ú<module>   s   
