Your IP : 216.73.216.61


Current Path : /opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/__pycache__/sas.cpython-37.opt-1.pyc

B

ǽ�\�$�@sbdZddlZddlmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
mZdgZGdd�de�ZdS)z�
    pygments.lexers.sas
    ~~~~~~~~~~~~~~~~~~~

    Lexer for SAS.

    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�include�words)�Comment�Keyword�Name�Number�String�Text�Other�Generic�SASLexerc@s�eZdZdZdZdgZddgZdddgZej	ej
BZd	Zd
Z
dZdZd
Zed�ed�ed�ed�ed�defgdefdefdejfdejfgdejfgdedfgdedfgdedfgdedfd ejdfd!ejdfed�ged"�ed#�ed$�ed%�geed&d&d'�efeed&d&d'�efee
d&d&d'�efeed(d&d'�ejfeed&d)d'�ejfgd*ejfd+ejfd,e d-fd.e d/fgd0e dfd1e j!fd2e fd3e fgd.e dfd1e j!fd4ejd5fd6e fd7e fgd8ejdfgd9e"fgd:ej#fgd;�Z$d<S)=r
zL
    For `SAS <http://www.sas.com/>`_ files.

    .. versionadded:: 2.2
    ZSASZsasz*.SASz*.sasz
text/x-sasztext/saszapplication/x-sas):ZbquoteZnrbquoteZcmpresZqcmpresZcompstorZdatatyp�display�do�else�end�eval�global�goto�if�index�inputZkeydef�label�left�lengthZlet�local�lowcaseZmacroZmendZnrquoteZnrstr�putZqleftZqlowcaseZqscanZqsubstrZqsysfuncZqtrim�quoteZqupcase�scan�str�substrZsuperqZsyscallZsysevalfZsysexecZsysfunc�sysgetZsyslput�sysprod�sysrcZsysrput�then�to�trimZunquote�until�upcase�verify�while�window)rrr%rrr(r+)>�abortZarrayZattribZby�callZcardsZcards4Zcatname�continueZ	datalinesZ
datalines4�delete�delim�	delimiterrZdm�dropZendsas�error�file�filenameZfootnote�formatr�inZinfileZinformatrZkeeprZleaver�libname�link�listZlostcard�merge�missing�modify�options�output�outZpagerZredirect�remove�rename�replaceZretain�return�select�set�skipZstartsas�stop�title�updateZwaitsas�wherer,�xZsystask))�add�andZalter�asZcascade�checkZcreater0ZdescribeZdistinctr3Zforeign�from�groupZhavingr�insertZintor8�keyZlike�messager>Zmsgtype�notZnull�on�or�orderZprimaryZ
references�resetZrestrictrFrG�table�uniquerKZvalidateZviewrL(�absZaddrZairyZarcosZarsin�atanZattrcZattrnZbandZbetainvZblshiftZbnotZborZbrshiftZbxorZbyteZcdf�ceilZcexistZcinv�closeZcnonctZcollateZcompblZcompound�compress�cos�coshZcssZcurobsZcvZdaccdbZdaccdbslZdaccslZdaccsydZdacctabZdairyZdateZdatejulZdatepartZdatetimeZdayZdcloseZdepdbZdepdbslZdepslZdepsydZdeptabZdequoteZdhmsZdifZdigammaZdimZdinfoZdnumZdopenZdoptnameZdoptnumZdreadZdropnoteZdsname�erf�erfcZexist�expZfappendZfcloseZfcolZfdeleteZfetchZfetchobsZfexist�fgetZ	fileexistr6ZfilerefZfinfoZfinvZfipnameZfipnamelZfipstate�floorZfnonctZfnoteZfopenZfoptnameZfoptnumZfpointZfposZfputZfreadZfrewindZfrlenZfsepZfuzzZfwriteZgaminv�gammaZ	getoptionZgetvarcZgetvarnZhboundZhmsZhosthelpZhourZibesselrZindexcZindexwrZinputcZinputn�intZintckZintnxZintrrZirrZjbesselZjuldateZkurtosisZlagZlboundrr�lgammar9Zlibref�log�log10�log2ZlogpdfZlogpmfZlogsdfr�maxZmdyZmean�minZminute�modZmonthZmopenZmort�nZnetpvZnmissZnormalZnoteZnpv�openZordinal�pathnameZpdf�peekZpeekcZpmfZpointZpoissonZpokeZprobbetaZprobbnmlZprobchiZprobfZprobgamZprobhyprZprobitZprobnegbZprobnormZprobtrZputcZputnZqtrrZranbinZrancauZranexpZrangam�rangeZrankZrannorZranpoiZrantblZrantriZranuni�repeatZresolve�reverseZrewind�right�roundZsavingrZsdf�secondZsign�sin�sinhZskewnessZsoundexZspedis�sqrtZstd�stderrZstfipsZstnameZstnamelr!�sumZsymgetr"Zsysmsgr#r$�system�tan�tanh�timeZtimepartZtinvZtnonctZtoday�	translateZtranwrdZtrigammar'Ztrimn�truncZuniformr)Zuss�varZvarfmtZvarinfmtZvarlabelZvarlenZvarnameZvarnumZvarrayZvarrayxZvartyper*�vformatZvformatdZ	vformatdxZvformatnZ	vformatnxZvformatwZ	vformatwxZvformatxZvinarrayZ	vinarrayxZ	vinformatZ
vinformatdZvinformatdxZ
vinformatnZvinformatnxZ
vinformatwZvinformatwxZ
vinformatxZvlabelZvlabelxZvlengthZvlengthxZvnameZvnamexZvtypeZvtypexZweekdayZyearZyyqZzipfipsZzipnameZzipnamelZzipstate�commentsz	proc-datazcards-datalines�logs�general�.z
^\s*\*.*?;z	/\*.*?\*/z^\s*\*(.|\n)*?;z/[*](.|\n)*?[*]/z%(^|;)\s*(proc \w+|data|run|quit)[\s;]z^\s*(datalines|cards)\s*;\s*$�dataz(.|\n)*^\s*;\s*$z#popz
\n?^\s*%?put zlog-messageszNOTE(:|-).*zWARNING(:|-).*zERROR(:|-).*�keywordszvars-strings�special�numbersz\b)�prefix�suffix�%z\(z&[a-z_]\w{0,31}\.?z%[a-z_]\w{0,31}z\'�
string_squote�"�
string_dquote�'z
\\\\|\\"|\\\nz	[^$\'\\]+z[$\'\\]�&�validvarz	[^$&"\\]+z[$"\\]z[a-z_]\w{0,31}\.?z9\b[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+|\.)(E[+-]?[0-9]+)?i?\bza(null|missing|_all_|_automatic_|_character_|_n_|_infile_|_name_|_null_|_numeric_|_user_|_webout_))�rootr�z	proc-datazcards-datalinesr�r�zlog-messagesr�r�zvars-stringsr�r�r�r�r�N)%�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesZ	mimetypes�re�
IGNORECASE�	MULTILINE�flagsZbuiltins_macrosZbuiltins_conditionalsZbuiltins_statementsZbuiltins_sqlZbuiltins_functionsrr
rZ	MultilinerZReservedrrZEmph�ErrorrrZBuiltinZVariableZFunctionr	ZEscaperZConstant�tokens�r�r��D/opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/sas.pyr
s�

	3







)r�r�Zpygments.lexerrrrZpygments.tokenrrrrr	r
rr�__all__r
r�r�r�r��<module>
s
(