Your IP : 216.73.216.213
B
7��\j � @ s� d Z ddlmZmZmZmZmZmZ ddlm Z m
Z
mZmZm
Z
mZmZmZ ddlmZmZ ddlmZ dgZG dd� de�ZdS ) z�
pygments.lexers.freefem
~~~~~~~~~~~~~~~~~~~~~~~
Lexer for FreeFem++ language.
:copyright: Copyright 2006-2019 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 @ sv e Zd ZdZdZdgZdgZdgZed�Z ed�Z
ed�Zed �Zed
�Z
ed�Zed�Zed
�Zed�Zdd� ZdS )r z�
For `FreeFem++ <https://freefem.org/>`_ source.
This is an extension of the CppLexer, as the FreeFem Language is a superset
of C++.
.. versionadded:: 2.4
ZFreefemZfreefemz*.edpztext/x-freefem)�+�-�*z.*�/z./�%�^z^-1�:�')�boolZborder�complexZdmatrixZfespace�funcZ gslsplineZifstream�int�macroZmatrixZmeshZmesh3ZmpiCommZmpiGroupZ
mpiRequestZNewMacroZEndMacroZofstreamZPmmapZproblemZ
Psemaphore�realZsolve�stringZvarf)*ZBDM1Z BDM1OrthoZEdge03dZEdge13dZEdge23dZFEQFZHCTZP0ZP03dZP0EdgeZP1ZP13dZP1bZP1b3dZP1blZP1bl3dZP1dcZP1EdgeZP1ncZP2ZP23dZP2bZP2BRZP2dcZP2EdgeZP2hZP2MorleyZP2pncZP3ZP3dcZP3EdgeZP4ZP4dcZP4EdgeZP5EdgeZRT0ZRT03dZRT0OrthoZRT1ZRT1OrthoZRT2ZRT2Ortho)Z
ENDIFMACROr ZIFMACRO�load)p�adj�appendZareaZARGV�be�binaryZBoundaryEdgeZ
bordermeasureZCGZCholeskyZcinZcoutZCroutr ZdiagZedgeOrientationZendl�falseZffindZFILE�findZfixed�flushZGMRESZgoodZ hTriangleZimZimaxZiminZInternalEdge�l1�l2�labelZlenEdge�lengthZLINEZlinftyZLU�m�maxZmeasure�minZmpiAnySourceZmpiBANDZmpiBXORZmpiCommWorldZmpiLANDZmpiLORZmpiLXORZmpiMAXZmpiMINZmpiPRODZmpirankZmpisizeZmpiSUMZmpiUndefined�n�NZnbeZndofZndofKZ
noshowbaseZ noshowposZ
notaregion�ntZnTonEdgeZnuEdgeZ
nuTriangle�nv�P�piZ precisionZqf1pEZ qf1pElumpZqf1pTZ qf1pTlumpZqfV1ZqfV1lumpZqf2pEZqf2pTZqf2pT4P1ZqfV2Zqf3pEZqf4pEZqf5pEZqf5pTZqfV5Zqf7pTZqf9pTZqfnbpEZquantile�re�region�rfindZ
scientificZsearchMethodZsetwZshowbaseZshowposZsparsesolver�sumZtellp�trueZUMFPACKZunusedZwhoinElement� verbosity�version�volume�x�y�z( �abs�acos�acoshZ adaptmeshr$ ZAffineCGZAffineGMRES�arg�asin�asinh�assert�atan�atan2�atanh�atof�atoiZBFGSZ broadcastZbuildlayersZ buildmesh�ceilZchiZcomplexEigenValue�copysignZchangeZ
checkmovemesh�clockZcmaesZconjZconvect�cos�coshZcube�d�ddZdfftZdiffnpZdiffposZ dimKrylov�distZ dumptableZdxZdxxZdxyZdxzZdyZdyxZdyyZdyzZdzZdzxZdzyZdzzZ
EigenValueZ emptymesh�erf�erfc�exec�exit�expZfdim�floorZfmaxZfmin�fmodZfreeyamsZgetARGV�getlineZgmshloadZ gmshload3ZgslcdfugaussianPZgslcdfugaussianQZgslcdfugaussianPinvZgslcdfugaussianQinvZgslcdfgaussianPZgslcdfgaussianQZgslcdfgaussianPinvZgslcdfgaussianQinvZgslcdfgammaPZgslcdfgammaQZgslcdfgammaPinvZgslcdfgammaQinvZ
gslcdfcauchyPZ
gslcdfcauchyQZgslcdfcauchyPinvZgslcdfcauchyQinvZgslcdflaplacePZgslcdflaplaceQZgslcdflaplacePinvZgslcdflaplaceQinvZgslcdfrayleighPZgslcdfrayleighQZgslcdfrayleighPinvZgslcdfrayleighQinvZgslcdfchisqPZgslcdfchisqQZgslcdfchisqPinvZgslcdfchisqQinvZgslcdfexponentialPZgslcdfexponentialQZgslcdfexponentialPinvZgslcdfexponentialQinvZ
gslcdfexppowPZ
gslcdfexppowQZgslcdftdistPZgslcdftdistQZgslcdftdistPinvZgslcdftdistQinvZgslcdffdistPZgslcdffdistQZgslcdffdistPinvZgslcdffdistQinvZgslcdfbetaPZgslcdfbetaQZgslcdfbetaPinvZgslcdfbetaQinvZgslcdfflatPZgslcdfflatQZgslcdfflatPinvZgslcdfflatQinvZgslcdflognormalPZgslcdflognormalQZgslcdflognormalPinvZgslcdflognormalQinvZgslcdfgumbel1PZgslcdfgumbel1QZgslcdfgumbel1PinvZgslcdfgumbel1QinvZgslcdfgumbel2PZgslcdfgumbel2QZgslcdfgumbel2PinvZgslcdfgumbel2QinvZgslcdfweibullPZgslcdfweibullQZgslcdfweibullPinvZgslcdfweibullQinvZ
gslcdfparetoPZ
gslcdfparetoQZgslcdfparetoPinvZgslcdfparetoQinvZgslcdflogisticPZgslcdflogisticQZgslcdflogisticPinvZgslcdflogisticQinvZgslcdfbinomialPZgslcdfbinomialQZgslcdfpoissonPZgslcdfpoissonQZgslcdfgeometricPZgslcdfgeometricQZgslcdfnegativebinomialPZgslcdfnegativebinomialQZ
gslcdfpascalPZ
gslcdfpascalQZgslinterpakimaZgslinterpakimaperiodicZgslinterpcsplineperiodicZgslinterpcsplineZgslinterpsteffenZgslinterplinearZgslinterppolynomialZgslranbernoullipdfZ
gslranbetaZ
gslranbetapdfZgslranbinomialpdfZgslranexponentialZgslranexponentialpdfZgslranexppowZgslranexppowpdfZgslrancauchyZgslrancauchypdfZgslranchisqZgslranchisqpdfZgslranerlangZgslranerlangpdfZgslranfdistZgslranfdistpdfZ
gslranflatZ
gslranflatpdfZgslrangammaZgslrangammaintZgslrangammapdfZ
gslrangammamtZgslrangammaknuthZgslrangaussianZgslrangaussianratiomethodZgslrangaussianzigguratZgslrangaussianpdfZgslranugaussianZgslranugaussianratiomethodZgslranugaussianpdfZgslrangaussiantailZgslrangaussiantailpdfZgslranugaussiantailZgslranugaussiantailpdfZgslranlandauZgslranlandaupdfZgslrangeometricpdfZ
gslrangumbel1Zgslrangumbel1pdfZ
gslrangumbel2Zgslrangumbel2pdfZgslranlogisticZgslranlogisticpdfZgslranlognormalZgslranlognormalpdfZgslranlogarithmicpdfZgslrannegativebinomialpdfZgslranpascalpdfZgslranparetoZgslranparetopdfZgslranpoissonpdfZgslranrayleighZgslranrayleighpdfZgslranrayleightailZgslranrayleightailpdfZgslrantdistZgslrantdistpdfZ
gslranlaplaceZgslranlaplacepdfZ
gslranlevyZ
gslranweibullZgslranweibullpdfZgslsfairyAiZgslsfairyBiZgslsfairyAiscaledZgslsfairyBiscaledZgslsfairyAiderivZgslsfairyBiderivZgslsfairyAiderivscaledZgslsfairyBiderivscaledZgslsfairyzeroAiZgslsfairyzeroBiZgslsfairyzeroAiderivZgslsfairyzeroBiderivZ
gslsfbesselJ0Z
gslsfbesselJ1Z
gslsfbesselJnZ
gslsfbesselY0Z
gslsfbesselY1Z
gslsfbesselYnZ
gslsfbesselI0Z
gslsfbesselI1Z
gslsfbesselInZgslsfbesselI0scaledZgslsfbesselI1scaledZgslsfbesselInscaledZ
gslsfbesselK0Z
gslsfbesselK1Z
gslsfbesselKnZgslsfbesselK0scaledZgslsfbesselK1scaledZgslsfbesselKnscaledZ
gslsfbesselj0Z
gslsfbesselj1Z
gslsfbesselj2Z
gslsfbesseljlZ
gslsfbessely0Z
gslsfbessely1Z
gslsfbessely2Z
gslsfbesselylZgslsfbesseli0scaledZgslsfbesseli1scaledZgslsfbesseli2scaledZgslsfbesselilscaledZgslsfbesselk0scaledZgslsfbesselk1scaledZgslsfbesselk2scaledZgslsfbesselklscaledZgslsfbesselJnuZgslsfbesselYnuZgslsfbesselInuscaledZgslsfbesselInuZgslsfbesselKnuscaledZgslsfbesselKnuZgslsfbessellnKnuZgslsfbesselzeroJ0ZgslsfbesselzeroJ1ZgslsfbesselzeroJnuZgslsfclausenZgslsfhydrogenicR1ZgslsfdawsonZgslsfdebye1Zgslsfdebye2Zgslsfdebye3Zgslsfdebye4Zgslsfdebye5Zgslsfdebye6Z
gslsfdilogZ
gslsfmultiplyZgslsfellintKcompZgslsfellintEcompZgslsfellintPcompZgslsfellintDcompZgslsfellintFZgslsfellintEZ
gslsfellintRCZ gslsferfcZgslsflogerfcZgslsferfZ gslsferfZZ gslsferfQZgslsfhazardZgslsfexpZgslsfexpmultZ
gslsfexpm1ZgslsfexprelZgslsfexprel2ZgslsfexprelnZ
gslsfexpintE1Z
gslsfexpintE2Z
gslsfexpintEnZgslsfexpintE1scaledZgslsfexpintE2scaledZgslsfexpintEnscaledZ
gslsfexpintEiZgslsfexpintEiscaledZgslsfShiZgslsfChiZgslsfexpint3ZgslsfSiZgslsfCiZgslsfatanintZgslsffermidiracm1Zgslsffermidirac0Zgslsffermidirac1Zgslsffermidirac2ZgslsffermidiracintZgslsffermidiracmhalfZgslsffermidirachalfZgslsffermidirac3halfZgslsffermidiracinc0ZgslsflngammaZ
gslsfgammaZgslsfgammastarZ
gslsfgammainvZgslsftaylorcoeffZ gslsffactZgslsfdoublefactZgslsflnfactZgslsflndoublefactZ
gslsflnchooseZgslsfchooseZgslsflnpochZ gslsfpochZgslsfpochrelZgslsfgammaincQZgslsfgammaincPZ
gslsfgammaincZgslsflnbetaZ gslsfbetaZgslsfbetaincZgslsfgegenpoly1Zgslsfgegenpoly2Zgslsfgegenpoly3ZgslsfgegenpolynZgslsfhyperg0F1Zgslsfhyperg1F1intZgslsfhyperg1F1ZgslsfhypergUintZgslsfhypergUZgslsfhyperg2F0Zgslsflaguerre1Zgslsflaguerre2Zgslsflaguerre3ZgslsflaguerrenZgslsflambertW0ZgslsflambertWm1ZgslsflegendrePlZgslsflegendreP1ZgslsflegendreP2ZgslsflegendreP3ZgslsflegendreQ0ZgslsflegendreQ1ZgslsflegendreQlZgslsflegendrePlmZgslsflegendresphPlmZgslsflegendrearraysizeZgslsfconicalPhalfZgslsfconicalPmhalfZgslsfconicalP0ZgslsfconicalP1ZgslsfconicalPsphregZgslsfconicalPcylregZgslsflegendreH3d0ZgslsflegendreH3d1ZgslsflegendreH3dZgslsflogZgslsflogabsZgslsflog1plusxZgslsflog1plusxmxZgslsfpowintZgslsfpsiintZgslsfpsiZgslsfpsi1piyZgslsfpsi1intZ gslsfpsi1Z gslsfpsinZgslsfsynchrotron1Zgslsfsynchrotron2Zgslsftransport2Zgslsftransport3Zgslsftransport4Zgslsftransport5ZgslsfsinZgslsfcosZ
gslsfhypotZ gslsfsincZgslsflnsinhZgslsflncoshZgslsfanglerestrictsymmZgslsfanglerestrictposZgslsfzetaintZ gslsfzetaZgslsfzetam1Zgslsfzetam1intZ
gslsfhzetaZgslsfetaintZgslsfeta�imagZint1dZint2dZint3dZintalledgesZintallfacesZinterpolateZinvdiffZ invdiffnpZ
invdiffposZIsendZisInfZisNaNZisolineZIrecvZj0Zj1ZjnZjump�lgammaZLinearCGZLinearGMRES�log�log10ZlrintZlroundr0 ZmeanZmeditr1 Zmmg3dZmovemeshZ
movemesh23ZmpiAlltoallZmpiAlltoallvZmpiAllgatherZ
mpiAllgathervZmpiAllReduceZ
mpiBarrierZ mpiGatherZ
mpiGathervZmpiRankZ mpiReduceZ
mpiScatterZmpiScattervZmpiSizeZmpiWaitZ
mpiWaitAnyZmpiWtickZmpiWtimeZmshmetZNaNZNLCG�onZplotZpolarZPost�pow� processorZprocessorblockZ
projectionZrandinitZ randint31Z randint32�randomZ randreal1Z randreal2Z randreal3Z randres53ZReadZreadmeshZ readmesh3ZRecvZrint�roundZsavemeshZsavesolZsavevtkZseekgZSent�set�signZsignbit�sin�sinh�sortZ splitCommZ splitmesh�sqrtZsquareZsrandomZ
srandomdevZStringification�swap�system�tan�tanhZtellgZtetgZtetgconvexhullZtetgreconstructionZtetgtransfoZtgammaZtriangulate�truncZWaitZWriteZy0�y1Zyn)��AZA1ZabserrorZabsoluteZanisoZaspectratio�BZB1ZbbZbeginend�bin�boundaryZbw�closeZcmmZcoefZ
composante�cutoffZdatafilenameZdatanameZdimZdistmaxZdisplacementZdoptionsZdparams�eps�errZerrgZ facemergeZfacetclZ factorize�file�fillZfixedborderZflabel�flagsZ floatmeshZfloatsolZfregionZ gradationZgreyZhmaxZhminZholelistZhsv�initZinquireZinsideZIsMetricZisoZivalueZkeepbackverticesr- Z labeldownZlabelmidZlabelupZlevelsetZloptionsZlparamsZmaxitZ maxsubdivZmeditffZmemZmemoryZmetric�modeZnbarrowZnbisoZnbiterZnbjacobyZnboffacetclZ nbofholesZnbofregionsZnbregulZnbsmoothZnbvxZncvZnevZnomeshgenerationZ
normalizationZomega�op�optimize�option�options�orderZorientationZperiodicZpowerZprecon�prevZpsZptmergeZqfeZqforderZqftZqfVZratioZ rawvectorZ
reffacelowZ
reffacemidZ reffaceup�refnumZreftetZreftrir9 Z
regionlistZrenumvZ rescalingZ
ridgeangleZsave�sigmaZsizeofvolumeZ smoothingZsolverZsparams�splitZsplitin2Zsplitpbedge�stopZstrategyrn �switch�sym�tZtgvZthetamaxZtolZtolpivotZtolpivotsymZtransfoZU2Vc�valueZvarrowZvectorZvepsZviso�wait�widthZwithsurfacemeshZWindowIndex�whichZzbound)Z
fixeborder)ZalignofZasmZ constexprZdecltypeZdivZdoubleZgradZmutable� namespaceZnoexceptZrestrictZ
static_assert�template�thisZthread_localZtypeid�typenameZusingc c s� x�t �| |�D ]�\}}}|| jkr0|t|fV q|| jkrJ|tj|fV q|| jkrd|tj |fV q|| j
kr~|tj|fV q|| j
kr�|tj|fV q|| jkr�|tj|fV q|| jkr�|tj|fV q|| jkr�|t|fV q|||fV qW d S )N)r �get_tokens_unprocessed� operatorsr
�typesr ZType�fespacesr ZClass�preprocessorr ZPreproc�keywordsZReserved� functionsZFunction�
parametersZPseudo�suppress_highlight)�self�text�index�tokenr� � r� �H/opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/freefem.pyr� o s$
z#FreeFemLexer.get_tokens_unprocessedN)�__name__�
__module__�__qualname__�__doc__�name�aliases� filenamesZ mimetypesrh r� r� r� r� r� r� r� Z
deprecatedr� r� r� r� r� r� r s0 s N)r� Zpygments.lexerr r r r r r Zpygments.tokenr r r
r r r
r r Zpygments.lexers.c_cppr r Zpygments.lexersr �__all__r r� r� r� r� �<module>
s (