Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
pygments
/
lexers
/
File Content:
graphics.pyc
� _aTc @ s d Z d d l m Z m Z m Z m Z m Z m Z m Z d d l m Z m Z m Z m Z m Z m Z m Z m Z d d d d d g Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d � Z d � Z d e f d � � YZ d e f d � � YZ d S( s� pygments.lexers.graphics ~~~~~~~~~~~~~~~~~~~~~~~~ Lexers for computer graphics and plotting related languages. :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. i����( t RegexLexert wordst includet bygroupst usingt thist default( t Textt Commentt Operatort Keywordt Namet Numbert Punctuationt Stringt GLShaderLexert PostScriptLexert AsymptoteLexert GnuplotLexert PovrayLexerc @ B s e Z d Z d Z d g Z d d d g Z d g Z i d e j f d e j f d e j f d e f d e f d e f d e f d e j f d e j f d e j f d e j f d e j f e d{ dE dF dG dF �e f e d| dE dF dG dF �e f dw e f dx e f dy e f g dz 6Z RS(} s@ GLSL (OpenGL Shader) lexer. .. versionadded:: 1.1 t GLSLt glsls *.verts *.frags *.geos text/x-glslsrcs ^#.*s //.*s /(\\\n)?[*](.|\n)*?[*](\\\n)?/s0 \+|-|~|!=?|\*|/|%|<<|>>|<=?|>=?|==?|&&?|\^|\|\|?s [?:]s \bdefined\bs [;{}(),\[\]]s [+-]?\d*\.\d+([eE][-+]?\d+)?s [+-]?\d+\.\d*([eE][-+]?\d+)?s 0[xX][0-9a-fA-F]*s 0[0-7]*s [1-9][0-9]*t attributet constt uniformt varyingt centroidt breakt continuet dot fort whilet ift elset int outt inoutt floatt intt voidt boolt truet falset invariantt discardt returnt mat2t mat3mat4t mat2x2t mat3x2t mat4x2t mat2x3t mat3x3t mat4x3t mat2x4t mat3x4t mat4x4t vec2t vec3t vec4t ivec2t ivec3t ivec4t bvec2t bvec3t bvec4t sampler1Dt sampler2Dt sampler3DsamplerCubet sampler1DShadowt sampler2DShadowt structt prefixs \bt suffixt asmt classt uniont enumt typedeft templateR t packedt gotot switchR t inlinet noinlinet volatilet publict statict externt externalt interfacet longt shortt doublet halft fixedt unsignedt lowpt mediumpt highpt precisiont inputt outputt hvec2t hvec3t hvec4t dvec2t dvec3t dvec4t fvec2t fvec3t fvec4t sampler2DRectt sampler3DRectt sampler2DRectShadowt sizeoft castt namespaceR s [a-zA-Z_]\w*s \.s \s+t root(2 R R R R R R R R R R R R! s ins outR$ s floats ints voids boolR) R* R+ s discardR- R. R/ R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R: R; R<