Edit File: clwpos_lib.cpython-311.opt-1.pyc
� �e + � �$ � d dl mZ d dl mZ d dl mZ d dlZd dlZd dlZd dlZd dlm Z d dl mZmZm Z mZmZ d dlmZ d dlmZ d d lmZ G d � de� � Z G d� d e� � Zdededeeef fd�Zdedefd�Zdeee f defd�Zdedefd�Zdeee f defd�Zdeee f defd�Zd+dede ee dee fd�Z d� Z!de fd�Z"d � Z#d!� Z$de d"efd#�Z%d$e d%e de e fd&�Z&d$e de e fd'�Z'd,d)�Z(d*� Z)dS )-� )�print_function)�absolute_import)�divisionN)�Path)�Union�Iterable�Optional�Tuple�List)�Enum)�ClPwd)�get_rhn_systemid_valuec � � e Zd ZdZdZdZdS )� PluginTypez2 Plugin types that are currently detected zobject-cachezadvanced-cacheN)�__name__� __module__�__qualname__�__doc__�OBJECT_CACHE�ADVANCED_CACHE� � ��/builddir/build/BUILDROOT/alt-python27-cllib-3.3.5-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/clwpos_lib.pyr r s$ � � � � � �� � "�L�%�N�N�Nr r c � � e Zd ZdZdZdZdZdS )� WpPluginszj Static WP plugin names, that are not detected dynamically from drop-in files, dir names, etc �Unknownz WP Rocket�AccelerateWPN)r r r r �UNKNOWN� WP_ROCKET� ACCELERATE_WPr r r r r s) � � � � � �� � �G��I�"�M�M�Mr r �line�is_multiline_comment�returnc � � |r[d| vrdS | � d� � }t | d|� d� � \ }}t | |dz d� d� � \ }}||z |fS d| v r!| � d� � }| d|� dfS d| v r!| � d� � }| d|� dfS d | v rU| � d � � }t | d|� d� � \ }}t | |dz d� d� � \ }}||z |fS | dfS ) z� Yep, this bicycle is needed to handle different comment types in .php file https://www.php.net/manual/en/language.basic-syntax.comments.php and ensure that needed line is not under comment z*/)� TNT� Fz//�#z/*)�find� clean_comment)r! r"