文件操作 - graphics.cpython-311.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/pygments/lexers/__pycache__/graphics.cpython-311.pyc
编辑文件内容
� �E�c� � � � d Z ddlmZmZmZmZmZmZmZ ddl m Z mZmZm Z mZmZmZmZmZ g d�Z G d� de� � Z G d� de� � Z G d � d e� � Z G d� de� � Zd � Zd� Z G d� de� � Z G d� de� � ZdS )z� pygments.lexers.graphics ~~~~~~~~~~~~~~~~~~~~~~~~ Lexers for computer graphics and plotting related languages. :copyright: Copyright 2006-2022 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 � � e Zd ZdZdZdgZg d�ZdgZddej fdej fd ej fd efdefdefd e fdej fdej fdej fdej fdej f eddd�� � ef eddd�� � ej f eddd�� � ej f eddd�� � ej fdej fdefde fdefgiZdS )r z@ 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� namespacer zgl_\w*�[a-zA-Z_]\w*z\.�\s+N)�__name__� __module__�__qualname__�__doc__�name�aliases� filenames� mimetypesr �Preproc�Single� Multiliner r r �Float�Hex�Oct�Integerr r �Constant�Type�Reservedr �Builtinr �tokens� � �:/usr/lib/python3/dist-packages/pygments/lexers/graphics.pyr r s� � � � � � �� � �D��h�G�-�-�-�I�!�"�I� � �w��'� �w�~�&� .��0A�B� @� � � �h�� �X�&� �k�*� ,�f�l�;� ,�f�l�;� !�6�:�.� ���$� �V�^�,� �U� /�0 �U�1,� ,� ,�2 �3 �4 �U� !� �U�,� ,� ,� � � � �U� 11�d �U�e2,� 2,� 2,�f �\�g3 �h �U� &� �U� ,� ,� ,� � � � ���%� �d�#� �K� � �Z� �es �u�F�F�Fr r c �` � e Zd ZdZdZdgZddgZdgZdej fdej fd ej fd efdefdefd e fdej fdej fdej fdej fdej fdedf eddd�� � ef eddd�� � ej f eddd�� � ej f eddd�� � ej f eddd�� � ej f eddd�� � ej f eddd�� � ej fdej f ed dd�� � ej fd!efd"ej fd#efgded$fd%ej fd&efd'efd(efgd)�Zd*S )+r zL HLSL (Microsoft Direct3D Shader) lexer. .. versionadded:: 2.3 �HLSL�hlslz*.hlslz*.hlsliztext/x-hlslr r r r r! r"