Ë 6­â*ÅZÝãóÆ—dZddlZddlmZmZmZmZddlmZm Z m Z m Z m Z m Z mZmZmZmZgd¢Zej&d«ZGd„de«ZGd „d e«ZGd „d e«Zy) zÄ pygments.lexers.r ~~~~~~~~~~~~~~~~~ Lexers for the R/S languages. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. éN)ÚLexerÚ RegexLexerÚincludeÚ do_insertions) ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚ PunctuationÚGenericÚ Whitespace)Ú RConsoleLexerÚSLexerÚRdLexerz.*? có(—eZdZdZdZddgZdgZd„Zy)rz@ For R console transcripts or R CMD BATCH output files. ÚRConsoleÚrconsoleÚroutz*.Routc #ó6K—tdi|j¤Ž}d}g}tj|«D]º}|j «}|j d«s|j d«r:|j t|«dtj|ddfgf«||ddz }Œo|r't||j|««Ed{–—†d}g}|j«tj|f–—Œ¼|r$t||j|««Ed{–—†yy7ŒT7Œ­w)NÚÚ>Ú+ré©)rÚoptionsÚline_reÚfinditerÚgroupÚ startswithÚappendÚlenrÚPromptrÚget_tokens_unprocessedÚstartÚOutput)ÚselfÚtextÚslexerÚcurrent_code_blockÚ insertionsÚmatchÚlines ú6/usr/lib/python3.12/site-packages/pygments/lexers/r.pyr&z$RConsoleLexer.get_tokens_unprocessed s,èø€ÜÑ'˜$Ÿ,™,Ñ'ˆàÐØˆ ä×%Ñ% dÖ+ˆEØ—;‘;“=ˆDØ�‰˜sÔ# t§¡°sÔ';ð×!Ñ!¤3Ð'9Ó#:Ø%&¬¯©¸¸R¸a¸Ð$AÐ#Bð#DôEà" d¨1¨2 hÑ.Ñ"ñ&ä,Ø" F×$AÑ$AÐBTÓ$Uó W÷WðWð*,Ð&Ø!#�Jà—k‘k“m¤W§^¡^°TÐ9Ó9ð',ñ0 Ü$ؘF×9Ñ9Ð:LÓMóO÷ Oñ Oð ðWøð Oús%‚B>DÃDÃA DÄDÄDÄDN)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚaliasesÚ filenamesr&rór0rrs%„ñð €Dؘ6Ð"€GØ� €Ió Or8rcóÈ—eZdZdZdZgd¢Zgd¢Zgd¢ZdZde jfgee fgde fgd e jfgd efd efgd e j fd e j"j$fgdej(fdefged«defdedfdedfed«ed«ed«ed«ed«ed«g deze j0fed«de fdefgd ed!fgd"ed!fgd#œ Zd$„Zy%)&rzG For S, S-plus, and R source code. .. versionadded:: 0.10 ÚS)ÚsplusÚsÚr)z*.Sz*.Rz .Rhistoryz .Rprofilez .Renviron)z text/S-plusztext/Sztext/x-r-sourceztext/x-rztext/x-Rztext/x-r-historyztext/x-r-profilez;`[^`\\]*(?:\\.[^`\\]*)*`|(?:[a-zA-Z]|\.[A-Za-z_.])[\w.]*|\.z#.*$z\[{1,2}|\]{1,2}|\(|\)|;|,zH(if|else|for|while|repeat|in|next|break|return|switch|function)(?![\w.])z(<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\?z$\*|\+|\^|/|!|%[^%]*%|=|~|\$|@|:{1,3}zm(NULL|NA(_(integer|real|complex|character)_)?|letters|LETTERS|Inf|TRUE|FALSE|NaN|pi|\.\.(\.|[0-9]+))(?![\w.])z(T|F)\bz#0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?z;[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+|\.)([eE][+-]?[0-9]+)?[Li]?Úcommentsz\s+z\'Ú string_squotez\"Ú string_dquoteÚbuiltin_symbolsÚ valid_nameÚnumbersÚkeywordsÚ punctuationÚ operatorsz (%s)\s*(?=\()Ú statementsz\{|\}Ú.z([^\'\\]|\\.)*\'z#popz([^"\\]|\\.)*") r>rBrErDrFrArCrGÚrootr?r@có2—tjd|«ryy)Nz[a-z0-9_\])\s]<-(?!-)g)\�Âõ(¼?)ÚreÚsearch)r*s r0Ú analyse_textzSLexer.analyse_text•s€Ü �9‰9Ð-¨tÔ 4Øð 5r8N)r1r2r3r4r5r6r7Ú mimetypesrBrÚSingler rr ÚReservedr ÚConstantÚBuiltinÚPseudor ÚHexrrr ÚFunctionrÚtokensrMrr8r0rrCs�„ñð €DÚ!€GÚE€IòE€IðP€Jð�g—n‘nÐ %ð ð˜Ð ð ð*¨;Ð 7ð ðà × Ñ ð ð ð 9¸(Ð CØ 4°hÐ ?ð ð ð× Ñ ð 𘟙×,Ñ,Ð -ð  ð4°V·Z±ZÐ @à KØ ð ð  ñ �JÓ à �ZÐ Ø �F˜OÐ ,Ø �F˜OÐ ,Ù Ð%Ó &Ù �LÓ !Ù �IÓ Ù �JÓ Ù �MÓ "Ù �KÓ ð  ð  Ñ *¨D¯M©MÐ :Ù �LÓ !à �{Ð #à �4ˆLð ð! &¨&Ð 1ð ð ¨Ð /ð ñB€FóHr8rc ó®—eZdZdZdZdgZdgZdgZddejfde fd e jfd e fd e jfd ejfd efdefgiZy)ram Pygments Lexer for R documentation (Rd) files This is a very minimal implementation, highlighting little more than the macros. A description of Rd syntax is found in `Writing R Extensions `_ and `Parsing Rd files `_. .. versionadded:: 1.6 ÚRdÚrdz*.Rdz text/x-r-docrIz \\[\\{}%]z%.*$z\\(?:cr|l?dots|R|tab)\bz \\[a-zA-Z]+\bz^\s*#(?:ifn?def|endif).*\bz[{}]z [^\\%\n{}]+rHN)r1r2r3r4r5r6r7rNr ÚEscaperr rQÚPreprocr rRrrVrr8r0rršs†„ñ ð €D؈f€GØ�€IØÐ €Ið à ˜6Ÿ=™=Ð )à �gÐ à '¨×)9Ñ)9Ð :à ˜wÐ 'à *¨G¯O©OÐ <à �d—l‘lÐ #à ˜TÐ "Ø �4ˆLð ð�Fr8r)r4rKÚpygments.lexerrrrrÚpygments.tokenrrr r r r r rrrÚ__all__Úcompilerrrrrr8r0Úr`sgðñó çDÓD÷-÷-÷-ò 1€ð ˆ2�:‰:�gÓ €ô)O�Eô)OôXTˆZôTôn$ˆjõ$r8