File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/__pycache__/dax.cpython-310.pyc
Back
o ;j� � @ sV d Z ddlmZmZ ddlmZmZmZmZm Z m Z mZmZ dgZ G dd� de�ZdS )z� pygments.lexers.dax ~~~~~~~~~~~~~~~~~~~ Lexer for LilyPond. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � )� RegexLexer�words)�Comment�Punctuation� Whitespace�Name�Operator�String�Number�Text�DaxLexerc @ s� e Zd ZdZdZdgZdgZdZg ZdZ de fdejfd ejfd ej dfedd dd�ejfedd dd�ejfdefdejfdedfdejfdejfdefdefdefgd ej dfdej dfdej fdej fgdejfdedfdefgd �Zd!S )"r zi Lexer for Power BI DAX Referenced from: https://github.com/sql-bi/SyntaxHighlighterBrushDax ZDaxZdaxz*.daxz<https://learn.microsoft.com/en-us/dax/dax-function-referencez2.15z\s+z--.*\n?z//.*\n?z/\*�multiline-comments(k �absZaccrintZaccrintm�acos�acoshZacotZacothZ addcolumnsZaddmissingitems�allZallcrossfilteredZ allexceptZ allnoblankrowZallselectedZ amordegrcZamorlinc�andZapproximatedistinctcount�asin�asinh�atan�atanhZaverageZaverageaZaveragexz beta.distzbeta.invZbitandZ bitlshiftZbitorZ bitrshiftZbitxorZblankZ calculateZcalculatetable�calendarZcalendarautoZceilingz chisq.distz chisq.dist.rtz chisq.invzchisq.inv.rtZclosingbalancemonthZclosingbalancequarterZclosingbalanceyearZcoalesceZcolumnstatisticsZcombinZcombinaZ combinevaluesZconcatenateZconcatenatexzconfidence.normzconfidence.t�containsZcontainsrowZcontainsstringZcontainsstringexact�convert�cos�coshZcotZcoth�countZcountaZcountaxZ countblankZ countrowsZcountxZ coupdaybsZcoupdaysZ coupdaysncZcoupncdZcoupnumZcouppcdZcrossfilterZ crossjoinZcumipmtZcumprinc�currencyZcurrentgroupZ customdataZ datatable�dateZdateaddZdatediffZdatesbetweenZ datesinperiodZdatesmtdZdatesqtdZdatesytdZ datevalue�dayZdbZddb�degreesZ detailrowsZdiscZdistinctZ distinctcountZdistinctcountnoblankZdivideZdollardeZdollarfrZdurationZearlierZearliestZedateZeffectZ endofmonthZendofquarterZ endofyearZeomonth�errorZevaluateandlogZeven�exact�except�expz expon.distZfact�false�filter�filters�findZ firstdateZ firstnonblankZfirstnonblankvalue�fixed�floor�formatZfv�gcdZgenerateZgenerateallZgenerateseriesZgeomeanZgeomeanx�groupby�hashZhasonefilterZhasonevalue�hour�ifzif.eagerZiferror�ignore�index�intZ intersectZintrateZipmtZisafterZisblankZiscrossfilteredZisemptyZiserrorZisevenZ isfilteredZ isinscopeZ islogicalZ isnontextZisnumberziso.ceilingZisoddZisonorafterZispmtZisselectedmeasureZ issubtotal�istextZkeepfiltersZkeywordmatchZlastdateZlastnonblankZlastnonblankvalue�lcm�left�lenZlinestZlinestxZln�log�log10Zlookupvalue�lower�maxZmaxaZmaxxZ mdurationZmedianZmedianxZmid�minZmina�minuteZminx�mod�monthZmroundZnameofZnaturalinnerjoinZnaturalleftouterjoinZnetworkdaysZnextdayZ nextmonthZnextquarterZnextyearZnominalZ nonvisualz norm.distznorm.invznorm.s.distz norm.s.inv�not�nowZnperZoddZ oddfpriceZ oddfyieldZ oddlpriceZ oddlyield�offsetZopeningbalancemonthZopeningbalancequarterZopeningbalanceyear�orZorderbyZparallelperiodZpartitionby�pathZpathcontainsZpathitemZpathitemreverseZ pathlengthZ pdurationzpercentile.exczpercentile.inczpercentilex.exczpercentilex.incZpermut�piZpmtzpoisson.distZpowerZppmtZpreviousdayZ previousmonthZpreviousquarterZpreviousyearZpriceZ pricediscZpricemat�productZproductx�pvZquarterZquotient�radiansZrandZrandbetweenzrank.eqZrankxZrateZreceived�relatedZrelatedtableZ removefilters�replaceZrept�rightZrollupZrollupaddissubtotalZrollupgroupZrollupissubtotal�roundZ rounddownZroundup�rowZrriZsameperiodlastyear�sampleZsampleaxiswithlocalminmax�search�secondZ selectcolumnsZselectedmeasureZselectedmeasureformatstringZselectedmeasurenameZ selectedvalue�sign�sin�sinhZsln�sqrtZsqrtpiZstartofmonthZstartofquarterZstartofyearzstdev.pzstdev.szstdevx.pzstdevx.s� substituteZsubstitutewithindex�sumZ summarizeZsummarizecolumnsZsumxZswitchZsydzt.distz t.dist.2tz t.dist.rtzt.invzt.inv.2t�tan�tanhZtbilleqZ tbillpriceZ tbillyield�timeZ timevalueZtocsv�todayZtojsonZtopnZtopnperlevelZtopnskipZtotalmtdZtotalqtdZtotalytdZtreatasZtrim�true�truncZunicharZunicode�union�upperZusercultureZuserelationship�usernameZuserobjectidZuserprincipalname�utcnowZutctoday�value�valueszvar.pzvar.szvarx.pzvarx.sZvdb�weekdayZweeknumZwindowZxirrZxnpv�yearZyearfrac�yieldZ yielddiscZyieldmatz(?i)z\b)�prefix�suffix)ZatZascZbooleanZbothZby�creater �datetimer Zdefine�descZdoubleZevaluater% �integerZmeasurer? �none�order�returnZsingle�start�string�tabler[ �varrd z:=|[-+*\/=^]z\b(IN|NOT)\b�"rp z0'(?:[^']|'')*'(?!')(?:\[[ \w]+\])?|\w+\[[ \w]+\]z \[[ \w]+\]z(?<!\w)(\d+\.?\d*|\.\d+\b)z [\[\](){}`,.]z.*\nz\*/z#popz[^/*]+z[/*]z""z[^"]+)�rootr rp N)�__name__� __module__�__qualname__�__doc__�name�aliases� filenames�urlZ mimetypesZ version_addedr r �SingleZ Multiliner r ZFunctionZBuiltinr ZWordr Z Attributer r r ZEscape�tokens� r r �G/opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/dax.pyr sV D�D�F���� ^ �� �N)rx Zpygments.lexerr r Zpygments.tokenr r r r r r r r �__all__r r r r r� �<module> s (
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings