+
    TBi$                     j    R t ^ RIt^ RIHtHtHt ^ RIHtHtH	t	H
t
HtHtHtHt R.t ! R R]4      tR# )z
pygments.lexers.sas
~~~~~~~~~~~~~~~~~~~

Lexer for SAS.

:copyright: Copyright 2006-2025 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                      ] tR t^tRtRtR.tRR.t. R8OtRt	Rt
]P                  ]P                  ,          tR9tR:tR;tR<tR=tR]! R	4      ]! R
4      ]! R4      ]! R4      ]! R4      R]3.R	R]3R]3R]P.                  3R]P.                  3.R
R]P2                  3.RR]R3.RR]R3.RR]R3.RR]R3R]P8                  R3R]P:                  R3]! R4      .R]! R4      ]! R4      ]! R4      ]! R 4      .R]! ]R!R!R"7      ]3]! ]R!R!R"7      ]3]! ]R!R!R"7      ]3]! ]R#R!R"7      ]P@                  3]! ]R!R$R"7      ]P@                  3.RR%]PB                  3R&]PD                  3R']#R(3R)]#R*3.R(R+]#R3R,]#PH                  3R-]#3R.]#3.R*R)]#R3R,]#PH                  3R/]PB                  R03R1]#3R2]#3.R0R3]PB                  R3.R R4]%3.RR5]PL                  3./t'R6t(R7# )>r   z
For SAS files.
SASsasz*.SASz*.sasz,https://en.wikipedia.org/wiki/SAS_(software)z2.2rootcommentsz	proc-datazcards-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-messageszNOTE(:|-).*zWARNING(:|-).*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_) N)z
text/x-sasztext/saszapplication/x-sas):bquotenrbquotecmpresqcmprescompstordatatypdisplaydoelseendevalglobalgotoifindexinputkeydeflabelleftlengthletlocallowcasemacromendnrquotenrstrputqleftqlowcaseqscanqsubstrqsysfuncqtrimquotequpcasescanstrsubstrsuperqsyscallsysevalfsysexecsysfuncsysgetsyslputsysprodsysrcsysrputthentotrimunquoteuntilupcaseverifywhilewindow)r+   r1   rU   r,   r-   rY   r\   )>abortarrayattribbycallcardscards4catnamecontinue	datalines
datalines4deletedelim	delimiterr*   dmdropendsaserrorfilefilenamefootnoteformatr0   ininfileinformatr3   keepr5   leaver7   libnamelinklistlostcardmergemissingmodifyoptionsoutputoutpager?   redirectremoverenamereplaceretainreturnselectsetskipstartsasstoptitleupdatewaitsaswherer]   xsystask))addandalterascascadecheckcreateri   describedistinctrm   foreignfromgrouphavingr2   insertintort   keylikemessager   msgtypenotnullonororderprimary
referencesresetrestrictr   r   tableuniquer   validateviewr   (  absaddrairyarcosarsinatanattrcattrnbandbetainvblshiftbnotborbrshiftbxorbytecdfceilcexistcinvclosecnonctcollatecompblcompoundcompresscoscoshcsscurobscvdaccdbdaccdbsldaccsldaccsyddacctabdairydatedatejuldatepartdatetimedaydclosedepdbdepdbsldepsldepsyddeptabdequotedhmsdifdigammadimdinfodnumdopendoptnamedoptnumdreaddropnotedsnameerferfcexistexpfappendfclosefcolfdeletefetchfetchobsfexistfget	fileexistrq   filereffinfofinvfipnamefipnamelfipstatefloorfnonctfnotefopenfoptnamefoptnumfpointfposfputfreadfrewindfrlenfsepfuzzfwritegaminvgamma	getoptiongetvarcgetvarnhboundhmshosthelphouribesselr2   indexcindexwr3   inputcinputnintintckintnxintrrirrjbesseljuldatekurtosislaglboundr6   r7   lgammary   librefloglog10log2logpdflogpmflogsdfr:   maxmdymeanminminutemodmonthmopenmortnnetpvnmissnormalnotenpvopenordinalpathnamepdfpeekpeekcpmfpointpoissonpokeprobbetaprobbnmlprobchiprobfprobgamprobhyprprobitprobnegbprobnormprobtr?   putcputnqtrrF   ranbinrancauranexprangamrangerankrannorranpoirantblrantriranunirepeatresolvereverserewindrightroundsavingrH   sdfsecondsignsinsinhskewnesssoundexspedissqrtstdstderrstfipsstnamestnamelrJ   sumsymgetrP   sysmsgrR   rS   systemtantanhtimetimeparttinvtnoncttoday	translatetranwrdtrigammarW   trimntruncuniformrZ   ussvarvarfmtvarinfmtvarlabelvarlenvarnamevarnumvarrayvarrayxvartyper[   vformatvformatd	vformatdxvformatn	vformatnxvformatw	vformatwxvformatxvinarray	vinarrayx	vinformat
vinformatdvinformatdx
vinformatnvinformatnx
vinformatwvinformatwx
vinformatxvlabelvlabelxvlengthvlengthxvnamevnamexvtypevtypexweekdayyearyyqzipfipszipnamezipnamelzipstate))__name__
__module____qualname____firstlineno____doc__namealiases	filenames	mimetypesurlversion_addedre
IGNORECASE	MULTILINEflagsbuiltins_macrosbuiltins_conditionalsbuiltins_statementsbuiltins_sqlbuiltins_functionsr   r
   r   	Multiliner   Reservedr   r   EmphErrorr   r   BuiltinVariableFunctionr	   Escaper   Constanttokens__static_attributes__r#       8/usr/lib/python3.14/site-packages/pygments/lexers/sas.pyr   r      s(   
 DG'"I?I
8CM,EO
L0f 	JK %&FOI4L
 	G$7#!2!23 '"3"34	
 	5

 	-w?
 	 %0
 	w7
 	Wf-f5gmmV4I	
 	JN#II	
 	&!!#  <!!#  (!!#  ? !# \\ %!!# \\#
. 	"DMM2/FO,6?+	
 	66"v}}- 6" 
 	66"v}}-4==*-6"
 	!4==&9
 	I
 	B
CjFr  )r  r  pygments.lexerr   r   r   pygments.tokenr   r   r   r   r	   r
   r   r   __all__r   r#   r  r  <module>r     s;    
 5 5   ,Pz Pr  