Your IP : 216.73.216.213


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.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�lowcase�macro�mendZnrquoteZnrstr�putZqleftZqlowcaseZqscanZqsubstrZqsysfuncZqtrim�quoteZqupcase�scan�str�substrZsuperqZsyscallZsysevalfZsysexecZsysfunc�sysgetZsyslput�sysprod�sysrcZsysrput�then�to�trim�unquote�until�upcase�verify�while�window)rrr'rrr+r.)>�abort�arrayZattribZby�callZcardsZcards4Zcatname�continueZ	datalinesZ
datalines4�delete�delim�	delimiterr�dm�dropZendsas�error�file�filenameZfootnote�formatr�in�infileZinformatrZkeeprZleaver�libname�link�listZlostcard�merge�missing�modify�options�output�outZpagerZredirect�remove�rename�replaceZretain�return�select�set�skipZstartsas�stop�title�updateZwaitsas�wherer/�xZsystask))�add�andZalter�asZcascade�check�creater4ZdescribeZdistinctr8Zforeign�from�groupZhavingr�insertZintor=�keyZlike�messagerDZmsgtype�notZnull�on�or�orderZprimaryZ
references�resetZrestrictrLrM�table�uniquerQ�validate�viewrR(�abs�addrZairyZarcosZarsin�atanZattrcZattrnZbandZbetainvZblshiftZbnotZborZbrshiftZbxorZbyteZcdf�ceilZcexistZcinv�closeZcnonctZcollateZcompblZcompound�compress�cos�cosh�cssZcurobsZcvZdaccdbZdaccdbslZdaccslZdaccsydZdacctabZdairy�dateZdatejulZdatepart�datetime�dayZdcloseZdepdbZdepdbslZdepslZdepsydZdeptabZdequoteZdhmsZdifZdigammaZdimZdinfoZdnumZdopenZdoptnameZdoptnumZdreadZdropnoteZdsname�erf�erfcZexist�expZfappendZfcloseZfcolZfdeleteZfetchZfetchobsZfexist�fgetZ	fileexistr;ZfilerefZfinfoZfinvZfipnameZfipnamelZfipstate�floorZfnonctZfnoteZfopenZfoptnameZfoptnumZfpointZfposZfputZfreadZfrewindZfrlenZfsepZfuzzZfwriteZgaminv�gammaZ	getoptionZgetvarcZgetvarnZhboundZhmsZhosthelp�hourZibesselrZindexcZindexwrZinputcZinputn�intZintckZintnxZintrrZirrZjbesselZjuldateZkurtosisZlagZlboundrr�lgammar?Zlibref�log�log10�log2ZlogpdfZlogpmfZlogsdfr�maxZmdyZmean�min�minute�mod�monthZmopenZmort�nZnetpvZnmissZnormalZnoteZnpv�openZordinal�pathnameZpdf�peekZpeekcZpmfZpointZpoissonZpokeZprobbetaZprobbnmlZprobchiZprobfZprobgamZprobhyprZprobitZprobnegbZprobnormZprobtrZputcZputnZqtrr ZranbinZrancauZranexpZrangam�rangeZrankZrannorZranpoiZrantblZrantriZranuni�repeat�resolve�reverseZrewind�right�roundZsavingr!Zsdf�second�sign�sin�sinhZskewnessZsoundexZspedis�sqrtZstd�stderrZstfipsZstnameZstnamelr#�sumZsymgetr$Zsysmsgr%r&�system�tan�tanh�timeZtimepartZtinvZtnonct�today�	translateZtranwrdZtrigammar)Ztrimn�trunc�uniformr,Zuss�varZvarfmtZvarinfmtZvarlabelZvarlenZvarnameZvarnumZvarrayZvarrayx�vartyper-�vformatZvformatdZ	vformatdxZvformatnZ	vformatnxZvformatwZ	vformatwxZvformatxZvinarrayZ	vinarrayxZ	vinformatZ
vinformatdZvinformatdxZ
vinformatnZvinformatnxZ
vinformatwZvinformatwxZ
vinformatxZvlabelZvlabelxZvlengthZvlengthxZvnameZvnamexZvtypeZvtypex�weekday�yearZyyqZzipfipsZzipnameZzipnamelZzipstate�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�ErrorrrZBuiltin�VariableZFunctionr	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
(