| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pygments/lexers/__pycache__/ |
Upload File : |
�
�E�c) � �� � d Z ddlZddlmZmZmZmZ ddlmZm Z m
Z
mZmZm
Z
mZmZmZmZ g d�Z ej d� � Z G d� de� � Z G d � d
e� � Z G d� de� � ZdS )
z�
pygments.lexers.r
~~~~~~~~~~~~~~~~~
Lexers for the R/S languages.
:copyright: Copyright 2006-2022 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 �* � e Zd ZdZdZddgZdgZd� ZdS )r z@
For R console transcripts or R CMD BATCH output files.
�RConsole�rconsole�routz*.Routc # �x K � t di | j ��}d}g }t � |� � D ]�}|� � � }|� d� � s|� d� � rH|� t |� � dt j |d d� fgf� � ||dd � z
}��|r-t ||� |� � � � E d {V �� d}g }|� � � t j
|fV � ��|r+t ||� |� � � � E d {V �� d S d S )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 �3/usr/lib/python3/dist-packages/pygments/lexers/r.pyr&