https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/pygments/lexers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/r.cpython-310.pyc
o

���a�@s�dZddlZddlmZmZmZmZddlmZm	Z	m
Z
mZmZm
Z
mZmZmZgd�Ze�d�ZGdd�de�ZGd	d
�d
e�ZGdd�de�ZdS)
z�
    pygments.lexers.r
    ~~~~~~~~~~~~~~~~~

    Lexers for the R/S languages.

    :copyright: Copyright 2006-2021 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)�
RConsoleLexer�SLexer�RdLexerz.*?
c@s*eZdZdZdZddgZdgZdd�ZdS)	rz@
    For R console transcripts or R CMD BATCH output files.
    �RConsole�rconsole�routz*.Routc	cs��tdi|j��}d}g}t�|�D]E}|��}|�d�s"|�d�r=|�t|�dtj	|dd�fgf�||dd�7}q|rNt
||�|��EdHd}g}|��tj
|fVq|rgt
||�|��EdHdSdS)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�linerr�3/usr/lib/python3/dist-packages/pygments/lexers/r.pyr" s.�
�

�
��z$RConsoleLexer.get_tokens_unprocessedN)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesr"rrrr,rsrc@s
eZdZdZdZgd�Zgd�Zgd�ZdZde	j
fgeefgdefgd	e
jfgd
efdefgde
jfd
ejjfgdejfdefged�defdedfdedfed�ed�ed�ed�ed�ed�g
deejfed�defdefgd ed!fgd"ed!fgd#�Zd$d%�Zd&S)'rzG
    For S, S-plus, and R source code.

    .. versionadded:: 0.10
    �S)�splus�s�r)z*.Sz*.Rz	.Rhistoryz	.Rprofilez	.Renviron)ztext/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([^"\\]|\\.)*")r8r<r?r>r@r;r=rA�rootr9r:cCst�d|�rdSdS)Nz[a-z0-9_\])\s]<-(?!-)g)\��(�?)�re�search)r&rrr,�analyse_text�s�zSLexer.analyse_textN)r-r.r/r0r1r2r3�	mimetypesr<r�Singler
r
r	�Reservedr�Constant�Builtin�Pseudor�Hexrrr�Function�tokensrFrrrr,rCsh�������
�	�������Drc
@sfeZdZdZdZdgZdgZdgZddej	fde
fd	ejfd
efde
j
fdejfd
efdefgiZdS)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 <http://cran.r-project.org/doc/manuals/R-exts.html>`_
    and `Parsing Rd files <http://developer.r-project.org/parseRd.pdf>`_.

    .. versionadded:: 1.6
    �Rd�rdz*.Rdztext/x-r-docrCz	\\[\\{}%]z%.*$z\\(?:cr|l?dots|R|tab)\bz
\\[a-zA-Z]+\bz^\s*#(?:ifn?def|endif).*\bz[{}]z[^\\%\n{}]+rBN)r-r.r/r0r1r2r3rGr�Escaperr	rJ�Preprocr
rKrrOrrrr,r�s"
��r)r0rD�pygments.lexerrrrr�pygments.tokenrrrr	r
rrr
r�__all__�compilerrrrrrrr,�<module>s
,
,W

https://t.me/RX1948 - 2025