AlkantarClanX12
Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/coverage/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/coverage/__pycache__/phystokens.cpython-311.pyc |
� �܋f} � � � d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl mZmZm Z mZmZ ddlmZ ddlmZmZ ee j Zdd �Z G d� dej � � Zdd�Z G d� d� � Z e� � j Zdd�ZdS )z"Better tokenizing for coverage.py.� )�annotationsN)�Iterable�List�Optional�Set�Tuple)�env)�TLineNo�TSourceTokenLines�toks� TokenInfos�returnc # �: K � d}d}d}| D �]\ }}\ }}\ }} } ||k r�|r�|� d� � r�d}|� d� � rd}n<|t j k r,d|v r(|� dd � � d d dk rd}|rLt |� d� � d � � d z }t j dd||f||d z f|� � V � | }|t j t j fvr|}t j ||||f|| f| � � V � |}��dS )aB Return all physical tokens, even line continuations. tokenize.generate_tokens() doesn't return a token for the backslash that continues lines. This wrapper provides those tokens so that we can re-create a faithful representation of the original source. Returns the same values as generate_tokens() N���� z\ T�\F� � r ���i�� � ) �endswith�token�STRING�split�len�tokenize� TokenInfo�NEWLINE�NL) r � last_line�last_lineno� last_ttext�ttype�ttext�slineno�scol�elineno�ecol�ltext�inject_backslash�ccols �f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/coverage/phystokens.py�_phys_tokensr- s� � � � � $�I��K��J�AE� '� '�=��u�o�w�������'�!�!�� �Y�/�/��7�7� � $(� ��&�&�t�,�,� 1�',�$�$��e�l�*�*��u�}�}����T�1�)=�)=�a�)@��)D��)L�)L� ,1�(�#� ��y���t�4�4�R�8�9�9�A�=�D�"�,��v� �$��'�4��6�):�!�� � � � � �I���)�8�;�7�7�7��J�� �������$��QV�W�W�W�W�W����O'� '� c �<