| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | 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&