Edit File: clwpos_lib.cpython-37.opt-1.pyc
B �e + � @ s� 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 d� de�ZG dd � d e�Zeeeeef d�dd�Zeed�dd�Zeee f ed�dd�Zeed�dd�Zeee f ed�dd�Zeee f ed�dd�Zd8ee ee ee d�dd �Z d!d"� Z!e d#�d$d%�Z"d&d'� Z#d(d)� Z$e ed*�d+d,�Z%e e e e d-�d.d/�Z&e e e d0�d1d2�Z'd9d4d5�Z(d6d7� Z)dS ):� )�print_function)�absolute_import)�divisionN)�Path)�Union�Iterable�Optional�Tuple�List)�Enum)�ClPwd)�get_rhn_systemid_valuec @ s e Zd ZdZdZdZdS )� PluginTypez2 Plugin types that are currently detected zobject-cachezadvanced-cacheN)�__name__� __module__�__qualname__�__doc__ZOBJECT_CACHE�ADVANCED_CACHE� r r ��/builddir/build/BUILDROOT/alt-python27-cllib-3.3.5-1.el8.cloudlinux.x86_64/opt/alt/python37/lib/python3.7/site-packages/clcommon/clwpos_lib.pyr s r c @ s e Zd ZdZdZdZdZdS )� WpPluginszj Static WP plugin names, that are not detected dynamically from drop-in files, dir names, etc ZUnknownz WP RocketZAccelerateWPN)r r r r �UNKNOWN� WP_ROCKET� ACCELERATE_WPr r r r r s r )�line�is_multiline_comment�returnc C s� |rVd| krdS | � d�}t| d|� d�\}}t| |d d� d�\}}|| |fS d| krx| � d�}| d|� dfS d| kr�| � d�}| d|� dfS d | kr�| � d �}t| d|� d�\}}t| |d d� d�\}}|| |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 �posZpart1�_Zpart2r r r r! ) s&