https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/pygments/lexers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/graphics.cpython-310.pyc
o

���a���@s�dZddlmZmZmZmZmZmZmZddl	m
Z
mZmZm
Z
mZmZmZmZmZgd�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�Zd
d�Zdd�ZGdd�de�ZGdd�de�ZdS)z�
    pygments.lexers.graphics
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for computer graphics and plotting related languages.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer�words�include�bygroups�using�this�default)	�Text�Comment�Operator�Keyword�Name�Number�Punctuation�String�
Whitespace)�
GLShaderLexer�PostScriptLexer�AsymptoteLexer�GnuplotLexer�PovrayLexer�HLSLShaderLexerc@s�eZdZdZdZdgZgd�ZdgZddej	fdej
fd	ejfd
efdefdefd
e
fdejfdejfdejfdejfdejfedddd�efedddd�ejfedddd�ejfedddd�ejfdejfdefde
fdefgiZdS)rz@
    GLSL (OpenGL Shader) lexer.

    .. versionadded:: 1.1
    �GLSL�glsl)z*.vertz*.fragz*.geoztext/x-glslsrc�root�^#.*$�//.*$�/(\\\n)?[*](.|\n)*?[*](\\\n)?/�0\+|-|~|!=?|\*|/|%|<<|>>|<=?|>=?|==?|&&?|\^|\|\|?�[?:]�\bdefined\bz[;{}(),\[\]]z[+-]?\d*\.\d+([eE][-+]?\d+)?z[+-]?\d+\.\d*([eE][-+]?\d+)?�0[xX][0-9a-fA-F]*�0[0-7]*�[1-9][0-9]*))�	attribute�const�uniform�varying�buffer�shared�in�out�layout�flat�smooth�
noperspective�centroid�sample�patch�inout�lowp�mediump�highp�	precision�	invariant�precise�coherent�volatile�restrict�readonly�	writeonly�break�continue�do�for�while�switch�caser�if�else�
subroutine�discard�return�struct�\b��prefix�suffix��true�false)w�void�atomic_uint�float�vec2�vec3�vec4�double�dvec2�dvec3�dvec4�int�ivec2�ivec3�ivec4�uint�uvec2�uvec3�uvec4�bool�bvec2�bvec3�bvec4�mat2�mat3�mat4�dmat2�dmat3�dmat4�mat2x2�mat2x3�mat2x4�dmat2x2�dmat2x3�dmat2x4�mat3x2�mat3x3�mat3x4�dmat3x2�dmat3x3�dmat3x4�mat4x2�mat4x3�mat4x4�dmat4x2�dmat4x3�dmat4x4�	sampler1D�	sampler2D�	sampler3D�samplerCube�sampler1DArray�sampler2DArray�samplerCubeArray�
sampler2DRect�
samplerBuffer�sampler2DMS�sampler2DMSArray�sampler1DShadow�sampler2DShadow�samplerCubeShadow�sampler1DArrayShadow�sampler2DArrayShadow�samplerCubeArrayShadow�sampler2DRectShadow�
isampler1D�
isampler2D�
isampler3D�isamplerCube�isampler1DArray�isampler2DArray�isamplerCubeArray�isampler2DRect�isamplerBuffer�isampler2DMS�isampler2DMSArray�
usampler1D�
usampler2D�
usampler3D�usamplerCube�usampler1DArray�usampler2DArray�usamplerCubeArray�usampler2DRect�usamplerBuffer�usampler2DMS�usampler2DMSArray�image1D�image2D�image3D�	imageCube�image1DArray�image2DArray�imageCubeArray�image2DRect�imageBuffer�	image2DMS�image2DMSArray�iimage1D�iimage2D�iimage3D�
iimageCube�
iimage1DArray�
iimage2DArray�iimageCubeArray�iimage2DRect�iimageBuffer�
iimage2DMS�iimage2DMSArray�uimage1D�uimage2D�uimage3D�
uimageCube�
uimage1DArray�
uimage2DArray�uimageCubeArray�uimage2DRect�uimageBuffer�
uimage2DMS�uimage2DMSArray)'�common�	partition�active�asm�class�union�enum�typedef�templater�resource�goto�inline�noinline�public�static�extern�external�	interface�long�short�half�fixed�unsigned�superp�input�output�hvec2�hvec3�hvec4�fvec2�fvec3�fvec4�
sampler3DRect�filter�sizeof�cast�	namespacerzgl_\w*�[a-zA-Z_]\w*z\.�\s+N)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenames�	mimetypesr
�Preproc�Single�	Multilinerrr�Float�Hex�Oct�Integerrr�Constant�Type�Reservedr
�Builtinr�tokens�rr�:/usr/lib/python3/dist-packages/pygments/lexers/graphics.pyrs^�����2�3�4
��
��rc@s^eZdZdZdZdgZddgZdgZdej	fdej
fd	ejfd
efdefdefd
e
fdejfdejfdejfdejfdejfdedfedddd�efedddd�ejfedddd�ejfedddd�ejfedddd�ejfedddd�ejfedddd�ejfdejfed ddd�ejfd!efd"ej	fd#efgded$fd%ejfd&efd'efd(efgd)�Zd*S)+rzL
    HLSL (Microsoft Direct3D Shader) lexer.

    .. versionadded:: 2.3
    �HLSL�hlslz*.hlslz*.hlsliztext/x-hlslrrrrrr z
[;{}(),.\[\]]z[+-]?\d*\.\d+([eE][-+]?\d+)?f?z[+-]?\d+\.\d*([eE][-+]?\d+)?f?r!r"r#�"�string)?r��asm_fragmentr?rE�cbufferr0r��column_major�compile�compile_fragmentr%r@rrIrArG�exportr�rB�fxgroup�globallycoherent�groupsharedrFr*r�r3r��line�lineadj�linearr��nointerpolationr/�NULLr+�
packoffset�pass�
pixelfragment�pointr9rJ�register�	row_majorr1�samplerr)�
stateblock�stateblock_stater�rKrD�tbuffer�	technique�technique10�technique11�texturer��triangle�triangleadjr&�vertexfragmentr;rCrLrMrP)�auto�catch�char�
const_cast�delete�dynamic_castr��explicit�friendr�r��mutable�new�operator�private�	protectedr��reinterpret_castr��signedr��static_castr�r�throw�try�typenamer�r�r�virtual)6�dword�matrix�snormr
�unormr�rS�vector�
BlendState�Buffer�ByteAddressBuffer�
ComputeShader�DepthStencilState�DepthStencilView�DomainShader�GeometryShader�
HullShader�
InputPatch�
LineStream�OutputPatch�PixelShader�PointStream�RasterizerState�RenderTargetView�RasterizerOrderedBuffer�"RasterizerOrderedByteAddressBuffer�!RasterizerOrderedStructuredBuffer�RasterizerOrderedTexture1D�RasterizerOrderedTexture1DArray�RasterizerOrderedTexture2D�RasterizerOrderedTexture2DArray�RasterizerOrderedTexture3D�RWBuffer�RWByteAddressBuffer�RWStructuredBuffer�RWTexture1D�RWTexture1DArray�RWTexture2D�RWTexture2DArray�RWTexture3D�SamplerState�SamplerComparisonState�StructuredBuffer�	Texture1D�Texture1DArray�	Texture2D�Texture2DArray�Texture2DMS�Texture2DMSArray�	Texture3D�TextureCube�TextureCubeArray�TriangleStream�VertexShader)rerYrUr]r��
min16float�
min10float�min16int�min12int�	min16uintraz([1-4](x[1-4])?)?\b)��abort�abs�acos�all�AllMemoryBarrier�AllMemoryBarrierWithGroupSync�any�AppendStructuredBuffer�asdouble�asfloat�asin�asint�asuintr��atan�atan2�ceil�CheckAccessFullyMapped�clamp�clip�
CompileShader�ConsumeStructuredBuffer�cos�cosh�	countbits�cross�D3DCOLORtoUBYTE4�ddx�
ddx_coarse�ddx_fine�ddy�
ddy_coarse�ddy_fine�degrees�determinant�DeviceMemoryBarrier� DeviceMemoryBarrierWithGroupSync�distance�dot�dst�errorf�EvaluateAttributeAtCentroid�EvaluateAttributeAtSample�EvaluateAttributeSnapped�exp�exp2�f16tof32�f32tof16�faceforward�firstbithigh�firstbitlow�floor�fma�fmod�frac�frexp�fwidth�GetRenderTargetSampleCount�GetRenderTargetSamplePosition�GlobalOrderedCountIncrement�GroupMemoryBarrier�GroupMemoryBarrierWithGroupSync�InterlockedAdd�InterlockedAnd�InterlockedCompareExchange�InterlockedCompareStore�InterlockedExchange�InterlockedMax�InterlockedMin�
InterlockedOr�InterlockedXor�isfinite�isinf�isnan�ldexp�length�lerp�lit�log�log10�log2�mad�max�min�modf�msad4�mul�noise�	normalize�pow�printf�Process2DQuadTessFactorsAvg�Process2DQuadTessFactorsMax�Process2DQuadTessFactorsMin�ProcessIsolineTessFactors�ProcessQuadTessFactorsAvg�ProcessQuadTessFactorsMax�ProcessQuadTessFactorsMin�ProcessTriTessFactorsAvg�ProcessTriTessFactorsMax�ProcessTriTessFactorsMin�QuadReadLaneAt�	QuadSwapX�	QuadSwapY�radians�rcp�reflect�refract�reversebits�round�rsqrt�saturate�sign�sin�sincos�sinh�
smoothstep�sqrt�step�tan�tanh�tex1Dr��	tex1Dbias�	tex1Dgrad�tex1Dlod�	tex1Dproj�tex2Dr��	tex2Dbias�	tex2Dgrad�tex2Dlod�	tex2Dproj�tex3Dr��	tex3Dbias�	tex3Dgrad�tex3Dlod�	tex3Dproj�texCUBEr��texCUBEbias�texCUBEgrad�
texCUBElod�texCUBEproj�	transpose�trunc�
WaveAllBitAnd�
WaveAllMax�
WaveAllMin�WaveAllBitOr�
WaveAllBitXor�WaveAllEqual�WaveAllProduct�
WaveAllSum�WaveAllTrue�WaveAnyTrue�
WaveBallot�WaveGetLaneCount�WaveGetLaneIndex�WaveGetOrderedIndex�WaveIsHelperLane�WaveOnce�WavePrefixProduct�
WavePrefixSum�WaveReadFirstLane�WaveReadLaneAt)�SV_ClipDistance�SV_ClipDistance0�SV_ClipDistance1�SV_Culldistance�SV_CullDistance0�SV_CullDistance1�SV_Coverage�SV_Depth�SV_DepthGreaterEqual�SV_DepthLessEqual�SV_DispatchThreadID�SV_DomainLocation�
SV_GroupID�
SV_GroupIndex�SV_GroupThreadID�SV_GSInstanceID�SV_InnerCoverage�SV_InsideTessFactor�
SV_InstanceID�SV_IsFrontFace�SV_OutputControlPointID�SV_Position�SV_PrimitiveID�SV_RenderTargetArrayIndex�SV_SampleIndex�
SV_StencilRef�
SV_TessFactor�SV_VertexID�SV_ViewportArrayIndexz\bSV_Target[0-7]?\b)�allow_uav_condition�branch�call�domain�earlydepthstencil�fastopt�flatten�	forcecase�instance�loop�
maxtessfactor�
numthreads�outputcontrolpoints�outputtopology�partitioning�patchconstantfunc�unrollr�z\\$r��#popzO\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|[0-7]{1,3})�	[^\\"\n]+�\\\n�\\)rr
N)r�r�r�r�r�r�r�r�r
r�r�r�rrrr�r�r�r�rrrrrrr
r�	Decoratorr�Escaperrrrrr�s���
��������(�)�*��
�������
�rc@s&eZdZdZdZddgZddgZdgZdZd	eZ	d
eZ
de
e	fZdej
fd
ejfdejfdejfdedfdefde	ejfde	ejfde	ejfde	ejfdeejfeejfde	ejfde	ejfede	d�ejfde fgdefdej!dfded fd!ed"fgd#ej!d"fe"d"�gd$�Z#d%S)&rz�
    Lexer for PostScript files.

    The PostScript Language Reference published by Adobe at
    <http://partners.adobe.com/public/developer/en/ps/PLRM.pdf>
    is the authority for this.

    .. versionadded:: 1.4
    �
PostScript�
postscript�postscrz*.psz*.epszapplication/postscriptz()<>\[\]{}/%\sz(?=[%s])z[^%s]z%s+%sz^%!.+$z%%.*$z(^%.*\n){2,}z%.*$z\(�
stringliteralz
[{}<>\[\]]z<[0-9A-Fa-f]+>zG[0-9]+\#(\-|\+)?([0-9]+\.?|[0-9]*\.[0-9]+|[0-9]+\.[0-9]*)((e|E)[0-9]+)?z?(\-|\+)?([0-9]+\.?|[0-9]*\.[0-9]+|[0-9]+\.[0-9]*)((e|E)[0-9]+)?z(\-|\+)?[0-9]+z\/%sz(false|true)z6(eq|ne|g[et]|l[et]|and|or|not|if(?:else)?|for(?:all)?))lrw�add�aload�arc�arcn�arrayr��begin�bind�ceiling�charpathr��	closepath�concat�concatmatrix�copyr��currentlinewidth�
currentmatrix�currentpoint�curveto�cvi�cvs�def�
defaultmatrix�dict�dictstackoverflow�div�
dtransform�dup�end�exch�exec�exitr��fill�findfontr��get�getinterval�grestore�gsave�gt�identmatrix�idiv�idtransform�index�invertmatrix�
itransformr��lineto�ln�loadr�r>r?�mod�movetor��neg�newpath�
pathforall�pathbbox�pop�print�pstack�put�quit�rand�
rangecheck�rcurveto�repeat�restore�rlineto�rmoveto�roll�rotater��run�save�scale�	scalefont�setdash�setfont�setgray�
setlinecap�setlinejoin�setlinewidth�	setmatrix�setrgbcolor�shfill�show�showpager�r��stack�stringwidth�stroke�
strokepath�sub�syntaxerror�	transform�	translate�truncate�	typecheck�	undefined�undefinedfilename�undefinedresult�rOr�z[^()\\]+rI�escape�#push�\)rFz[0-8]{3}|n|r|t|b|f|\\|\(|\))rrOr�N)$r�r�r�r�r�r�r�r��	delimiter�
delimiter_end�valid_name_chars�
valid_namer
r��Specialr�r�rrrr�r�r�r�r
�Variable�FunctionrrrrrrrKrrrrrrr1sh	���������?
�
�
�rc@s�eZdZdZdZddgZdgZdgZdZde	fd	e	fd
e
ee	�fdefdefgd
e
fde
dfdejfdejfdejfdejfdejfdefdefde
eee�e�fdefdejfdejfdejfdefged�dede
ee�ejee�ee�e�d fded!e
ee�ejee�ee�e�fed"�ged�ed#�d$efd%ed&fged�ed#�d%efd'ed(fd)ed&fgde
d&fd*e
jfde
fd+e
fd,e
fd-e
fd.e
fgd/�Zd0d1�Z d2S)3rz]
    For `Asymptote <http://asymptote.sf.net/>`_ source code.

    .. versionadded:: 1.2
    �	Asymptote�	asymptote�asyz*.asyztext/x-asymptotez(?:\s|//.*?\n|/\*.*?\*/)+�\nr��(\\)(\n)z//(\n|(.|\n)*?[^\\]\n)z/(\\\n)?\*(.|\n)*?\*(\\\n)?/�"(\\\\|\\[^\\]|[^"\\])*"�'r
z%(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[lL]?z(\d+\.\d*|\.\d+|\d+[fF])[fF]?z0x[0-9a-fA-F]+[Ll]?z0[0-7]+[Ll]?z\d+[Ll]?z[~!%^&*+=|?:<>/-]z
[()\[\],.]z\b(case)(.+?)(:)z�(and|controls|tension|atleast|curl|if|else|while|for|do|return|break|continue|struct|typedef|new|access|import|unravel|from|include|quote|static|public|private|restricted|this|explicit|true|false|null|cycle|newframe|operator)\ba?(Braid|FitResult|Label|Legend|TreeNode|abscissa|arc|arrowhead|binarytree|binarytreeNode|block|bool|bool3|bounds|bqe|circle|conic|coord|coordsys|cputime|ellipse|file|filltype|frame|grid3|guide|horner|hsv|hyperbola|indexedTransform|int|inversion|key|light|line|linefit|marginT|marker|mass|object|pair|parabola|path|path3|pen|picture|point|position|projection|real|revolution|scaleT|scientific|segment|side|slice|splitface|string|surface|tensionSpecifier|ticklocate|ticksgridT|tickvalues|transform|transformation|tree|triangle|trilinear|triple|vector|vertex|void)(?=\s+[a-zA-Z])z�(Braid|FitResult|TreeNode|abscissa|arrowhead|block|bool|bool3|bounds|coord|frame|guide|horner|int|linefit|marginT|pair|pen|picture|position|real|revolution|slice|splitface|ticksgridT|tickvalues|tree|triple|vertex|void)\bz[a-zA-Z_]\w*:(?!:)r��
whitespacez6((?:[\w*\s])+?(?:\s|\*))([a-zA-Z_]\w*)(\s*\([^;]*?\))(z)(\{)�functionz)(;)�	statement�
statementsz[{}]�;rFz\{r�z\}z0\\([\\abfnrtv"\'?]|x[a-fA-F0-9]{2,4}|[0-7]{1,3})�	[^\\'\n]+rHz\\nrI)r�r�rr�r�r
ccsh�ddlm}m}t�||�D]"\}}}|tur ||vr tj}n|tur+||vr+tj}|||fVqdS)Nr)�ASYFUNCNAME�
ASYVARNAME)�pygments.lexers._asy_builtinsr�r�r�get_tokens_unprocessedr
r�r�)�self�textr�r�rx�token�valuerrrr��s�
��z%AsymptoteLexer.get_tokens_unprocessedN)!r�r�r�r�r�r�r�r��_wsrrr	r
rrr�r�r�r�rrrrrrr
�Labelrr�rrKrr�rrrrr�s��	�	�
��*�������������\rcs0��d��d���fdd�tt���d�D��S)N�$�|c3s0�|]}�d����d|�dVqdS)N�rLr)�.0�i��dpos�wordrr�	<genexpr>
s�(�z_shortened.<locals>.<genexpr>���)�find�join�range�len)r�rr�r�
_shorteneds
�r�cGsd�tt|��S)Nr�)r��mapr�)rrrr�_shortened_manysr�c@s�eZdZdZdZdgZddgZdgZed�e	d�e
d	fed
d�e
dfe	d
�e
dfdee
e
e�dfde
fe	d�e
dfeddd�e
dfe	d�e
dfe	d�e
dfedd�e
dfedd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/�e
d0fed)d*d+d,d-d1�e
d2fd3eejee�d0fd4eejee�d0fd5ejfd6e
fgd7efd8efd9efed:�gd;ed<fd=efged�d6ed:fd>ed:fgd?ed:fd@ejfdAefd8efd9efd>ed:fgdBefdCed:fdDefd8efd9efd>ed:fged2�d?edEfdCedFfdGejfdHejfdIejfdJefdKefdLejfdMeeje
e�fdNefd5ejfdOee
e�fg
ed�edP�ejd:fgdQe
d:fe	dR�ejfed0�gdSe
fed2�gdTejfed�gdUed:fed0�gdVejfe	dW�ejfed0�gedXdYdZd[d\d]d^d_d`dadbdc�ejfed0�gedddedfdg�ejfed0�gdh�ZdiS)jrz]
    For `Gnuplot <http://gnuplot.info/>`_ plotting scripts.

    .. versionadded:: 0.11
    �Gnuplot�gnuplotz*.plotz*.pltztext/x-gnuplotr�zbi$ndrVzex$itzq$uitr�zf$it�fitz
(if)(\s*)(\()rFzelse\bzpa$use�pause�p$lotzrep$lotzsp$lot�plotzsa$ver�zse$t)�genericargs�	optionargzsh$owzuns$et)�noargsr�zlow$erzra$isezca$llzcd$zcl$earzh$elpz\?$zhi$storyzl$oad�pr$intzpwd$zre$readzres$etzscr$eendumpzshe$llzsy$stemzup$dater�ztest$r�z([a-zA-Z_]\w*)(\s*)(=)z ([a-zA-Z_]\w*)(\s*\(.*?\)\s*)(=)z
@[a-zA-Z_]\w*r�z[^\\\n]rHrIrF�#�commentz
[ \t\v\f]+r�r	z/\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|[0-7]{1,3})rGz''r�r��dqstring�sqstringz (\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+z(\d+\.\d*|\.\d+)z-?\d+z[,.~!%^&*+=|?:<>/-]z
[{}()\[\]]z	(eq|ne)\bz([a-zA-Z_]\w*)(\s*)(\()r�r�)�za$llzan$gleszar$rowz
au$toscalezb$arszbor$derz	box$widthzcl$abelzc$lipz
cn$trparamzco$ntourzda$taz	data$filezdg$rid3dzdu$mmyz	enc$odingzdec$imalsignzfit$z	font$pathzfo$rmatz	fu$nctionz
fu$nctionszg$ridz	hid$den3dzhis$torysizezis$osampleszk$eyz	keyt$itlezla$belz
li$nestylezls$z	loa$dpathzloc$alez	log$scalezmac$roszmap$pingz
map$ping3dzmar$ginzlmar$ginzrmar$ginztmar$ginzbmar$ginzmo$usez
multi$plotzmxt$icsz	nomxt$icszmx2t$icsz
nomx2t$icszmyt$icsz	nomyt$icszmy2t$icsz
nomy2t$icszmzt$icsz	nomzt$icszmcbt$icsz
nomcbt$icszof$fsetszor$iginzo$utputzpa$rametriczpm$3dzpal$ettez	colorb$oxr�z
poi$ntsizezpol$arr�zobj$ectzsa$mpleszsi$zezst$ylezsu$rfaceztable$�	t$erminalztermo$ptionszti$csz	ticsc$alez
ticsl$evelztimef$mtz
tim$estampztit$le�
v$ariableszve$rsionzvi$ewzxyp$lanezxda$tazx2da$tazyda$tazy2da$tazzda$tazcbda$tazxl$abelzx2l$abelzyl$abelzy2l$abelzzl$abelzcbl$abelzxti$csznoxti$cszx2ti$csz	nox2ti$cszyti$csznoyti$cszy2ti$csz	noy2ti$cszzti$csznozti$cszcbti$csz	nocbti$cszxdti$csz	noxdti$cszx2dti$csz
nox2dti$cszydti$csz	noydti$cszy2dti$csz
noy2dti$cszzdti$csz	nozdti$cszcbdti$csz
nocbdti$cszxmti$csz	noxmti$cszx2mti$csz
nox2mti$cszymti$csz	noymti$cszy2mti$csz
noy2mti$cszzmti$csz	nozmti$cszcbmti$csz
nocbmti$cszxr$angezx2r$angezyr$angezy2r$angezzr$angezcbr$angezrr$angeztr$angezur$angezvr$angez
xzeroa$xiszx2zeroa$xisz
yzeroa$xiszy2zeroa$xisz
zzeroa$xisz	zeroa$xiszz$ero�!zall$windowsz	gnuplot\bzvia\br�z%(mouse|any|button1|button2|button3)\bz	key$presszax$eszaxi$szbin$aryzev$eryzi$ndexzmat$rixzs$moothzthru$zt$itleznot$itlezu$singzw$ithz
f$unctionszs$etr�r�)rr�r�r�r�r�r�r�rVr�r�rFr�r�r�N)r�r�r�r�r�r�r�r�rr�rr�rr	rr
r�rrr�rr
rrrKrr�r��Wordrrrrrrrs��
��
���������	�	����!�����������
�rc@s�eZdZdZdZdgZddgZdgZddej	fd	ej
fd
ejfe
ddd
d�ejfe
dd
d
d�efe
dd
d�ejfdefdefdejjfdefdejfdejfdejfdefdefgiZdd�ZdS)rzl
    For `Persistence of Vision Raytracer <http://www.povray.org/>`_ files.

    .. versionadded:: 0.11
    �POVRay�povz*.povz*.incz
text/x-povrayrz/\*[\w\W]*?\*/rz(?s)"(?:\\.|[^"\\])+")r?rE�debug�declarer�definerG�elseifrj�error�fclose�fopenrBrF�ifdef�ifndefr�local�macror��read�render�
statisticsrD�undef�version�warningrC�writer�rLrM(9�aa_level�aa_thresholdrwrx�acosh�adaptive�adc_bailout�agate�
agate_turbry�alpha�ambient�
ambient_light�angle�aperture�	arc_angle�
area_light�ascr��asinh�
assumed_gammar�r��atanh�
atmosphere�atmospheric_attenuation�attenuating�average�
background�
black_hole�blue�blur_samples�
bounded_by�box_mapping�bozor?�brick�
brick_size�
brightness�
brilliance�bumps�bumpy1�bumpy2�bumpy3�bump_map�	bump_sizerE�causticsr��checker�chr�
clipped_by�clock�color�	color_map�colour�
colour_map�	component�	compositerZ�
confidence�conic_sweep�constant�control0�control1r�r��count�crackle�crand�cube�cubic_spline�cylindrical_mappingr�r�rr��dents�diffuse�	directionr��distance_maximumrg�dust�	dust_type�eccentricityrG�emittingrjr��error_boundr��exponent�
fade_distance�
fade_power�falloff�
falloff_anglerR�file_existsr��finish�fisheye�flatness�flipr��focal_point�fog�fog_alt�
fog_offset�fog_type�	frequency�gif�global_settings�glowing�gradient�granite�gray_threshold�green�halo�hexagon�
hf_gray_16�	hierarchy�hollow�hypercomplexrFr��iff�	image_map�	incidencerr]�interpolate�inverse�ior�irid�irid_wavelength�jitter�lambda�leopardr�
linear_spline�linear_sweep�locationr��
looks_like�look_at�low_error_factor�mandel�map_type�marble�material_mapr?r��max_intersections�
max_iteration�max_trace_level�	max_value�metallicr��
minimum_reuser~�mortar�
nearest_count�no�normal�
normal_map�	no_shadow�number_of_waves�octaves�off�offset�omega�omnimax�on�once�onion�open�orthographic�	panoramic�pattern1�pattern2�pattern3�perspective�pgm�phase�phong�
phong_size�pi�pigment�pigment_map�planar_mapping�png�point_at�potr��ppmr7�pwr�quadratic_spline�
quaternion�quick_color�quick_colour�quilted�radialr��	radiosity�radius�rainbow�	ramp_waver�r��
reciprocal�recursion_limit�red�
reflection�
refractionrr��rgb�rgbf�rgbft�rgbt�right�ripplesr��	roughness�samplesr��scallop_wave�
scattering�seed�
shadowlessr��	sine_waver��sky�
sky_sphere�slice�	slope_mapr.�specular�spherical_mapping�spiral�spiral1�spiral2�	spotlight�spotted�sqrr�r�str�strcmp�strength�strlen�strlwr�strupr�sturm�substrrD�sys�tr�r��
test_camera_1�
test_camera_2�
test_camera_3�
test_camera_4r&�texture_map�tga�	thickness�	threshold�	tightness�tile2�tiles�trackr�r��transmit�
triangle_waverQ�ttf�
turbulence�
turb_depth�type�ultra_wide_angle�up�	use_color�
use_colour�	use_index�u_steps�val�variance�vaxis_rotate�vcross�vdotr�vlength�
vnormalize�
volume_object�volume_rendered�vol_with_light�vrotate�v_stepsr�warp�water_level�wavesrC�width�wood�wrinkles�yes)�
bicubic_patch�blob�box�camera�cone�cubic�cylinder�
difference�disc�height_field�intersection�
julia_fractal�lathe�light_source�merge�mesh�object�plane�poly�polygon�prism�quadric�quartic�smooth_triangle�sor�sphere�superellipsoidr��torusr'r�r�z[\[\](){}<>;,]z[-+*/=]z\b(x|y|z|u|v)\br�z[0-9]+\.[0-9]*z\.[0-9]+z[0-9]+r�r�cCsHd}d|vr
|d7}d|vr|d7}d|vr|d7}d|vr"|d7}|S)atPOVRAY is similar to JSON/C, but the combination of camera and
        light_source is probably not very likely elsewhere. HLSL or GLSL
        are similar (GLSL even has #version), but they miss #declare, and
        light_source/camera are not keywords anywhere else -- it's fair
        to assume though that any POVRAY scene must have a camera and
        lightsource.rz#versiong�������?z#declarerrg�������?r)r��resultrrr�analyse_textszPovrayLexer.analyse_textN)r�r�r�r�r�r�r�r�r
r�r�r�Doublerr�rr
rrr�Pseudorr�r�rrr"rrrrr�sJ��0�1�2��
��RrN)r��pygments.lexerrrrrrrr�pygments.tokenr	r
rrr
rrrr�__all__rrrrr�r�rrrrrr�<module>s$
,bu 

https://t.me/RX1948 - 2025