HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/configs.cpython-38.pyc
U

G�
\Ip�@s�dZddlZddlmZmZmZmZmZmZddl	m
Z
mZmZm
Z
mZmZmZmZmZmZddlmZddlmZddd	d
ddd
ddddddddgZGdd�de�ZGdd�de�ZGdd	�d	e�Zdd�ZGdd
�d
e�ZGdd�de�ZGdd�de�ZGdd
�d
e�Z Gdd�de�Z!Gd d�de�Z"Gd!d�de�Z#Gd"d�de�Z$Gd#d�de�Z%Gd$d�de�Z&Gd%d�de�Z'Gd&d�de�Z(dS)'z�
    pygments.lexers.configs
    ~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for configuration file formats.

    :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�default�words�bygroups�include�using)
�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�
Whitespace�Literal)�	BashLexer)�	JsonLexer�IniLexer�RegeditLexer�PropertiesLexer�KconfigLexer�Cfengine3Lexer�ApacheConfLexer�SquidConfLexer�NginxConfLexer�LighttpdConfLexer�DockerLexer�TerraformLexer�TermcapLexer�
TerminfoLexer�PkgConfigLexer�PacmanConfLexerc@speZdZdZdZdddgZdddgZd	d
gZddefd
e	j
fdefdee
jeeee�fde
jfgiZdd�ZdS)rz5
    Lexer for configuration files in INI style.
    ZINIZiniZcfgZdosiniz*.iniz*.cfgz*.infz
text/x-iniztext/inf�root�\s+�[;#].*z\[.*?\]$z*(.*?)([ \t]*)(=)([ \t]*)(.*(?:\n[ \t].+)*)z(.+?)$cCs2|�d�}|dkrdS|ddko0||ddkS)N�
�Fr�[��])�find)�textZnpos�r-�9/usr/lib/python3/dist-packages/pygments/lexers/configs.py�analyse_text1s
zIniLexer.analyse_textN)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenames�	mimetypesrr	�Singlerrr�	Attributer
r
�tokensr/r-r-r-r.rs 

���c@s�eZdZdZdZdgZdgZdgZdefdefde	j
fd	eee
eje�fd
eejee
e�dfdeejee
e�dfgd
e
dfdeejee�dfdedfed�gd�Zdd�ZdS)rz�
    Lexer for `Windows Registry
    <http://en.wikipedia.org/wiki/Windows_Registry#.REG_files>`_ files produced
    by regedit.

    .. versionadded:: 1.6
    Zreg�registryz*.regztext/x-windows-registryzWindows Registry Editor.*r$r%z(\[)(-?)(HKEY_[A-Z_]+)(.*?\])$z)("(?:\\"|\\\\|[^"])+")([ \t]*)(=)([ \t]*)�valuez(.*?)([ \t]*)(=)([ \t]*)�-�#popz1(dword|hex(?:\([0-9a-fA-F]\))?)(:)([0-9a-fA-F,]+)�.+�r#r<cCs
|�d�S)NzWindows Registry Editor)�
startswith)r,r-r-r.r/`szRegeditLexer.analyse_textN)r0r1r2r3r4r5r6r7rr	r8rrr
r�Builtinr9�Variablerrr
rr:r/r-r-r-r.r8s<�������c@szeZdZdZdZddgZdgZdgZddee	j
ee�fd	e	j
fd
eee
�fdeee
�fdee	j
eeee�fd
efgiZdS)rz�
    Lexer for configuration files in Java's properties format.

    Note: trailing whitespace counts as part of the value as per spec

    .. versionadded:: 1.4
    Z
PropertiesZ
propertiesZjpropertiesz*.propertiesztext/x-java-propertiesr#z^(\w+)([ \t])(\w+\s*)$z^\w+(\\[ \t]\w*)*$z
(^ *)([#!].*)z(^ *)((?:;|//).*)z/(.*?)([ \t]*)([=:])([ \t]*)(.*(?:(?<=\\)\n.*)*)z\sN)r0r1r2r3r4r5r6r7rrr9rr
r	r
r:r-r-r-r.rds ���cCsBd}|dkrd}nd|d}|dkr,d}nd|}d|||fS)	N���+z{1,%d}r)�z{%s}z(?:\t| %s\t| {%s})%s.*\nr-)�levelZ	tab_widthZspace_repeatZlevel_repeatr-r-r.�
_rx_indent�srIc@seZdZdZdZddddgZdddd	gZd
gZdZdd
�Z	dd�Z
defdej
feddd�efdedfdejfdefdefdejfdej
fdejfdefgdefe	d�e	d �e	d!�e	d"�e	d#�e	d$�e	d%�ed&�g	e
d�e
d �e
d!�e
d"�e
d#�e
d$�e
d%�d'�	Zd(S))rzC
    For Linux-style Kconfig files.

    .. versionadded:: 1.6
    ZKconfigZkconfig�
menuconfigzlinux-configz
kernel-configz*Config.in*zexternal.in*zstandard-modules.inztext/x-kconfigrcCst|�tjd|fS)Nzindent%s)rIr
�Doc�rHr-r-r.�call_indent�szKconfigLexer.call_indentcCst|�tjfdtftd�gS)N�\s*\n�#pop:2)rIr
rKrrrLr-r-r.�	do_indent�s�zKconfigLexer.do_indentr$�#.*?\n)ZmainmenuZconfigrJZchoiceZ	endchoice�commentZmenuZendmenuz
visible if�ifZendif�source�promptZselectz
depends onr�rangeZoption�\b��suffixz(---help---|help)[\t ]*\n�helpz;(bool|tristate|string|hex|int|defconfig_list|modules|env)\bz[!=&|]z[()]�[0-9]+z'(''|[^'])*'z"(""|[^"])*"�\S+rN����r'rEr)r>)	r#rZZindent7Zindent6Zindent5Zindent4Zindent3Zindent2Zindent1N)r0r1r2r3r4r5r6r7�flagsrMrPrr	r8rrrrBr
rr�Integerr
�Doublerr:r-r-r-r.r�s\�������c@sneZdZdZdZddgZdgZgZdefde	e
ee
ee
�fde	e
ee
eej
e�d	fd
e	e
ee
eej
�fde	eejeee
jeee�fde	e
jeee�fd
edfde	ej
e�fde	eje�fde	e
je�fdejfdefdefdefdejfdejfdej
fdefgdejdfdejfd
edfdefdefgdejd fd!ejdfd"ejfgd#edfd$efdejfdefgd%�Zd&S)'rz_
    Lexer for `CFEngine3 <http://cfengine.org>`_ policy files.

    .. versionadded:: 1.5
    Z	CFEngine3Z	cfengine3Zcf3z*.cfrQz(body)(\s+)(\S+)(\s+)(control)z%(body|bundle)(\s+)(\S+)(\s+)(\w+)(\()�arglistz!(body|bundle)(\s+)(\S+)(\s+)(\w+)z7(")([^"]+)(")(\s+)(string|slist|int|real)(\s*)(=>)(\s*)z(\S+)(\s*)(=>)(\s*)�"�stringz	(\w+)(\()z([\w.!&|()]+)(::)z(\w+)(:)z@[{(][^)}]+[})]z[(){},;]z=>z->z\d+\.\d+�\d+�\w+r$z\$[{(]�interpolz\\.r>�\n�.�#pushz[})]z	[^${()}]+z\)�,)r#rfrirdN)r0r1r2r3r4r5r6r7r	rrrrZFunctionrrC�Typer
�Reservedr
�Class�Declarationr�Floatrb�Interpol�Escaper:r-r-r-r.r�sr���
����
�

���c@s�eZdZdZdZdddgZdddgZd	gZej	ej
BZd
efde
fdeejeeej�fd
eeje�dfdefgdefdedfdefdefdefdefdejfdefdejfdefg
d�ZdS)rzo
    Lexer for configuration files following the Apache config file
    format.

    .. versionadded:: 0.6
    Z
ApacheConfZ
apacheconfZaconfZapachez	.htaccesszapache.confzapache2.confztext/x-apacheconfr$z(#.*?)$z(<[^\s>]+)(?:(\s+)(.*?))?(>)z([a-z]\w*)(\s+)r<z\.+�\\\n�$r>z\\z[^\S\n]+�\d+\.\d+\.\d+\.\d+(?:/\d+)?rgz/([a-z0-9][\w./-]+)z�(on|off|none|any|all|double|email|dns|min|minimal|os|productonly|full|emerg|alert|crit|error|warn|notice|info|debug|registry|script|inetd|standalone|user|group)\b�"([^"\\]*(?:\\.[^"\\]*)*)"z	[^\s"\\]+r@N)r0r1r2r3r4r5r6r7�re�	MULTILINE�
IGNORECASErarr	rr�Tagr
rBrZOtherrrcr:r-r-r-r.rs>

�
��
���c@s�eZdZdZdZdddgZdgZdgZej	Z
dZdZd	Z
d
ZdZdZd
Zdefdedfeeddd�efeeddd�ejfee
ddd�efeeddd�efeeddd�efeeddd�efededejfdefdefgdejdfdedfed�gd�ZdS)rzj
    Lexer for `squid <http://www.squid-cache.org/>`_ configuration files.

    .. versionadded:: 0.9
    Z	SquidConfZ	squidconf�
squid.confZsquidztext/x-squidconf)�Z
access_logZaclZ
always_directZ
announce_hostZannounce_periodZ
announce_portZannounce_toZanonymize_headersZ
append_domainZas_whois_serverZauth_param_basicZauthenticate_childrenZauthenticate_programZauthenticate_ttlZbroken_postsZ
buffered_logsZcache_access_logZcache_announceZ	cache_dirZcache_dns_programZcache_effective_groupZcache_effective_userZ
cache_hostZcache_host_aclZcache_host_domainZ	cache_logZ	cache_memZcache_mem_highZ
cache_mem_lowZ	cache_mgrZcachemgr_passwdZ
cache_peerZcache_peer_accessZcahce_replacement_policyZcache_stoplistZcache_stoplist_patternZcache_store_logZ
cache_swapZcache_swap_highZcache_swap_logZcache_swap_lowZ	client_dbZclient_lifetimeZclient_netmaskZconnect_timeoutZcoredump_dirZdead_peer_timeoutZ
debug_optionsZdelay_accessZdelay_classZdelay_initial_bucket_levelZdelay_parametersZdelay_poolsZ	deny_infoZdns_childrenZdns_defnamesZdns_nameserversZ
dns_testnamesZemulate_httpd_logZ
err_html_textZfake_user_agentZfirewall_ipZ
forwarded_forZforward_snmpd_portZfqdncache_sizeZftpget_optionsZftpget_programZftp_list_widthZftp_passiveZftp_userZhalf_closed_clientsZ
header_accessZheader_replaceZhierarchy_stoplistZhigh_response_time_warningZhigh_page_fault_warningZ
hosts_fileZ	htcp_portZhttp_accessZhttp_anonymizerZhttpd_accelZhttpd_accel_hostZhttpd_accel_portZhttpd_accel_uses_host_headerZhttpd_accel_with_proxyZ	http_portZhttp_reply_accessZ
icp_accessZ
icp_hit_staleZicp_portZicp_query_timeoutZident_lookupZident_lookup_accessZ
ident_timeoutZincoming_http_averageZincoming_icp_averageZinside_firewallZipcache_highZipcache_lowZipcache_sizeZlocal_domainZlocal_ipZlogfile_rotateZlog_fqdnZlog_icp_queriesZ
log_mime_hdrsZmaximum_object_sizeZmaximum_single_addr_triesZmcast_groupsZmcast_icp_query_timeoutZmcast_miss_addrZmcast_miss_encode_keyZmcast_miss_portZmemory_poolsZmemory_pools_limitZmemory_replacement_policyZ
mime_tableZmin_http_poll_cntZmin_icp_poll_cntZminimum_direct_hopsZminimum_object_sizeZminimum_retry_timeoutZmiss_accessZnegative_dns_ttlZnegative_ttlZneighbor_timeoutZneighbor_type_domainZ
netdb_highZ	netdb_lowZnetdb_ping_periodZnetdb_ping_rateZnever_directZno_cacheZpassthrough_proxyZ
pconn_timeoutZpid_filenameZpinger_programZpositive_dns_ttlZ
prefer_directZ
proxy_authZproxy_auth_realmZ
query_icmpZquick_abortZquick_abort_maxZquick_abort_minZquick_abort_pctZrange_offset_limitZread_timeoutZredirect_childrenZredirect_programZredirect_rewrites_host_headerZ
reference_ageZrefresh_patternZreload_into_imsZrequest_body_max_sizeZrequest_sizeZrequest_timeoutZshutdown_lifetimeZsingle_parent_bypassZsiteselect_timeoutZsnmp_accessZsnmp_incoming_addressZ	snmp_portZsource_pingZ	ssl_proxyZstore_avg_object_sizeZstore_objects_per_bucketZstrip_query_termsZswap_level1_dirsZswap_level2_dirsZtcp_incoming_addressZtcp_outgoing_addressZtcp_recv_bufsizeZtest_reachabilityZudp_hit_objZudp_hit_obj_sizeZudp_incoming_addressZudp_outgoing_addressZunique_hostnameZunlinkd_programZuri_whitespaceZ
useragent_logZvisible_hostnameZ
wais_relayZwais_relay_hostZwais_relay_port)z
proxy-onlyZweightZttlzno-queryrzround-robinzmulticast-responderZonZoff�allZdenyZallowZvia�parentz	no-digest�heapZlruZrealmZchildrenZq1Zq2ZcredentialsttlZnone�disableZoffline_toggleZdiskd)Zshutdown�infoZ	parameterZserver_listZclient_listr})ZobjectsZ
vm_objectsZutilizationZipcacheZ	fqdncacheZdnsZ
redirector�ioZ
reply_headersZfiledescriptorsZnetdb)Zstatus�enabler��clear)Z	url_regexZ
urlpath_regexZ
referer_regexZport�protoZ
req_mime_typeZ
rep_mime_type�methodZbrowser�user�srcZdst�timeZ	dstdomainZidentZsnmp_communitya�(?:(?:(?:[3-9]\d?|2(?:5[0-5]|[0-4]?\d)?|1\d{0,2}|0x0*[0-9a-f]{1,2}|0+[1-3]?[0-7]{0,2})(?:\.(?:[3-9]\d?|2(?:5[0-5]|[0-4]?\d)?|1\d{0,2}|0x0*[0-9a-f]{1,2}|0+[1-3]?[0-7]{0,2})){3})|(?!.*::.*::)(?:(?!:)|:(?=:))(?:[0-9a-f]{0,4}(?:(?<=::)|(?<!::):)){6}(?:[0-9a-f]{0,4}(?:(?<=::)|(?<!::):)[0-9a-f]{0,4}(?:(?<=::)|(?<!:)|(?<=:)(?<!::):)|(?:25[0-4]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-4]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))r$�#rRrW��prefixrYzstats/zlog/�=z(?:/(?:z|\b\d+\b))?z(?:\b\d+\b(?:-\b\d+|%)?)r\z	\s*TAG:.*r>r?)r#rRN)r0r1r2r3r4r5r6r7ryr{ra�keywordsZoptsZactionsZ
actions_statsZactions_logZaclsZip_rerr	rrr�Constantr
rrrrrtrr:r-r-r-r.rHs>
;��
��c@s�eZdZdZdZdgZdgZdgZdee	e
e�fde	dfed	�gd
e
dfde	jdfed	�gde
d
fde
dfed	�gdejfdejfdejfdeee
ej�fdefdejfdee
e
ej�fde
fdefdefde
fde
fgd�ZdS)rza
    Lexer for `Nginx <http://nginx.net/>`_ configuration files.

    .. versionadded:: 0.11
    zNginx configuration fileZnginxz
nginx.confztext/x-nginx-confz(include)(\s+)([^\s;]+)z[^\s;#]+�stmt�base�\}rO�\{�block�;r>�#.*\nzon|offz\$[^\s;#()]+z([a-z0-9.-]+)(:)([0-9]+)z[a-z-]+/[a-z-+]+z
[0-9]+[km]?\bz(~)(\s*)([^\s{]+)z[:=~]z[^\s;#{}$]+z	/[^\s;#]*r$z[$;])r#r�r�r�N)r0r1r2r3r4r5r6r7rrrrrrZ	Namespacer	r8r�rCrrbr
ZRegexr:r-r-r-r.r�sB�
�����c@speZdZdZdZddgZgZdgZddej	fde
fd	efd
efdefde
fd
e
jfdefdejfdefg
iZdS)rzg
    Lexer for `Lighttpd <http://lighttpd.net/>`_ configuration files.

    .. versionadded:: 0.11
    zLighttpd configuration fileZlightyZlighttpdztext/x-lighttpd-confr#r�z/\S*z[a-zA-Z._-]+rwr[z=>|=~|\+=|==|=|\+z\$[A-Z]+z[(){}\[\],]rxr$N)r0r1r2r3r4r5r6r7r	r8rrrr
rBrr
rcrr:r-r-r-r.r�s$��c@s�eZdZdZdZddgZddgZdgZdZd	Z	d
Z
ejej
BZddefd
e
feeee��fde
e
feeee��fde
feeee�ee��fde
e
feeee��fdeeee�fde	fefdee�fgiZdS)rz`
    Lexer for `Docker <http://docker.io>`_ configuration files.

    .. versionadded:: 2.0
    ZDockerZdockerZ
dockerfileZ
Dockerfilez*.dockerztext/x-dockerfile-configz2(?:FROM|MAINTAINER|EXPOSE|WORKDIR|USER|STOPSIGNAL)z-(?:RUN|CMD|ENTRYPOINT|ENV|ARG|LABEL|ADD|COPY)z
(?:\s*\\?\s*)r#z#.*z
(ONBUILD)(%s)z(HEALTHCHECK)((%s--\w+=\w+%s)*)z*(VOLUME|ENTRYPOINT|CMD|SHELL)(%s)(\[.*?\])z(LABEL|ENV|ARG)((%s\w+=\w+%s)*)z(%s|VOLUME)\b(.*)z(%s)z(.*\\\n)*.+N)r0r1r2r3r4r5r6r7Z	_keywordsZ_bash_keywordsZ_lbryr{rzrar	rrrrrr
r:r-r-r-r.rs4
��
�
��c@steZdZdZdZddgZdgZddgZed�ed	�ed
�ed�ed�d
e	fge
dddd�ejfde
jdfde
jfdeejee�fe
dddd�ejdfe
dddd�ejfdejdfgdeeee�fed	�ed
�gdejdfe
dddd�ejfed�ed	�defdejdfgd eej�fgd!efgd"ejfdejfgd#e
jfd$e
jdfd%e
jdfd&e
jfgd'efdefd(efgd)�	Zd*S)+rzc
    Lexer for `terraformi .tf files <https://www.terraform.io/>`_.

    .. versionadded:: 2.1
    Z	TerraformZ	terraformZtfz*.tfzapplication/x-tfzapplication/x-terraformrf�punctuation�curly�basic�
whitespacer[)�trueZfalserWr�z\s*/\*rRz\s*#.*\nz
(.*?)(\s*)(=))Zvariable�resourceZproviderZprovisioner�module�function)ZingressZegressZlistenerrZ
connection�alias�\$\{�var_builtinz(\s+)(".*")(\s+)rl)�concat�file�join�lookup�elementr$r�r>z(".*")z
[\[\](),.]r�z[^*/]z/\*z\*/z[*/]rjru)	r#r�r�r�rfr�r�rRr�N)r0r1r2r3r4r5r6r7rrrrrnr	Z	Multiliner8rrr9rr
rorqr
rsrBrcrr:r-r-r-r.r5s��	
����
��
��
�
���

���c	@s�eZdZdZdZdgZddgZgZdefde	j
dfgded	fd
edfdefd
e	j
fgdefdedfdeee�fdedfd
efde	jfgdefd
ed	fdefdefgd�ZdS)rzm
    Lexer for termcap database source.

    This is very simple and minimal.

    .. versionadded:: 2.1
    ZTermcapZtermcapztermcap.src�^#.*$z
^[^\s#:|]+�namesrjr>�:�defs�\|z[^:|]+z
\\\n[ \t]*z\n[ \t]*rO�(#)([0-9]+)r��dataz	[^\s:=#]+z\\072z[^:\\]+rk�r#r�r�r�N)r0r1r2r3r4r5r6r7r	rr|rrr9rr
rrprr:r-r-r-r.r}s4	
���	��c
@s�eZdZdZdZdgZddgZgZdefde	j
dfgded	fd
ee
e�dfde
fd
e	jfgdefdedfdeee�fdedfd
ee
e�fde	jfgdefd
ee
e�d	fdefdefgd�ZdS)r zn
    Lexer for terminfo database source.

    This is very simple and minimal.

    .. versionadded:: 2.1
    ZTerminfoZterminfozterminfo.srcr�z
^[^\s#,|]+r�rjr>z(,)([ \t]*)r�r�z[^,|]+z\n[ \t]+rOr�r�r�z	[^\s,=#]+z\\[,\\]z[^\\,]+rkr�N)r0r1r2r3r4r5r6r7r	rr|rrrr9r
rrprr:r-r-r-r.r �s4	
���	��c	@s�eZdZdZdZdgZdgZgZdej	fde
eje
�fde
eje�dfed	�d
efdefgdefd
ejdfgdejdfdejfged	�dej	dfdedfdefdefgd�ZdS)r!z�
    Lexer for `pkg-config
    <http://www.freedesktop.org/wiki/Software/pkg-config/>`_
    (see also `manual page <http://linux.die.net/man/1/pkg-config>`_).

    .. versionadded:: 2.1
    Z	PkgConfigZ	pkgconfigz*.pc�#.*$z	^(\w+)(=)z^([\w.]+)(:)�spvalue�interpz
[^${}#=:\n.]+rkz\$\$r�r�r�r>rhrjz
[^${}#\n]+)r#r�r�r�N)r0r1r2r3r4r5r6r7r	r8rrr9r
r|rrrr
rsr:r-r-r-r.r!�s8
��
�
�
��c	@speZdZdZdZdgZdgZgZddej	fde
fdeej
ee�fd	eeej
e�fed
dd�ejfd
efgiZdS)r"a�
    Lexer for `pacman.conf
    <https://www.archlinux.org/pacman/pacman.conf.5.html>`_.

    Actually, IniLexer works almost fine for this format,
    but it yield error token. It is because pacman.conf has
    a form without assignment like:

        UseSyslog
        Color
        TotalDownload
        CheckSpace
        VerbosePkgLists

    These are flags to switch on.

    .. versionadded:: 2.1
    Z
PacmanConfZ
pacmanconfzpacman.confr#r�z^\s*\[.*?\]\s*$z
(\w+)(\s*)(=)z^(\s*)(\w+)(\s*)$)z$repoz$archz%oz%urWrXrkN)r0r1r2r3r4r5r6r7r	r8rrrr9rr
rrCr:r-r-r-r.r"s,����	��))r3ryZpygments.lexerrrrrrrZpygments.tokenrr	r
rrr
rrrrZpygments.lexers.shellrZpygments.lexers.datar�__all__rrrrIrrrrrrrrrr r!r"r-r-r-r.�<module>sF
 0�,M=*.!H..8