| 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/reportlab/lib/__pycache__/ |
Upload File : |
�
;��al � � � d Z dZdZ ddlZd� Zg d�ZdZdZ eed d
� � dz eed d� � z Zd
Zd� e� � � � � Z eed d
� � dz eed d� � z Z
dZedz d� e� � z dz ez Zedz ez dz e
z dz ez Z
ej e
� � ZdZ ej e� � Zdd�Zd� ZdS )z3.3.0a|
Module to analyze Python source code; for syntax coloring tools.
Interface::
tags = fontify(pytext, searchfrom, searchto)
- The 'pytext' argument is a string containing Python source code.
- The (optional) arguments 'searchfrom' and 'searchto' may contain a slice in pytext.
- The returned value is a list of tuples, formatted like this::
[('keyword', 0, 6, None), ('keyword', 11, 17, None), ('comment', 23, 53, None), etc. ]
- The tuple contents are always like this::
(tag, startindex, endindex, sublist)
- tag is one of 'keyword', 'string', 'comment' or 'identifier'
- sublist is not used, hence always None.
z0.4� Nc �R � |� | � |� � � � S �N)�join�split)�src�sep�reps �9/usr/lib/python3/dist-packages/reportlab/lib/PyFontify.py�replacer ( s � ��8�8�C�I�I�c�N�N�#�#�#� )�as�assert�exec�del�from�lambda�return�and�elif�global�not�try�break�else�if�or�while�class�except�import�pass�continue�finally�in�print�def�for�is�raise�yield�withz#[^\n]*z$q[^\\q\n]*(\\[\000-\377][^\\q\n]*)*q�q�'�|�"a
qqq
[^\\q]*
(
( \\[\000-\377]
| q
( \\[\000-\377]
| [^\q]
| q
( \\[\000-\377]
| [^\\q]
)
)
)
[^\\q]*
)*
qqq
� z(^|[^a-zA-Z0-9_.\"'])�(�)z[ ]*[A-Za-z_][A-Za-z_0-9.]*c � � |�t | � � }t j }t j }g }|j }d}d}d} d}
d}|} || |� � }
|
��n|
� � � }||k rn�|
� d� � }|t |� � z }|d }|dvr�||k r|dd� }|dz }n
|d d� }|dz
} || ||d f� � |d v r^ || |� � }
|
�P|
� � � }||k r6|
� d� � }|t |� � z } ||
||d f� � n%|d
k r ||||d f� � n ||||d f� � ��|S )N�comment�string�keyword�
identifierr � z#'"���)r&