
xi\c           @   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 d	 g Z d e f d
     YZ 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-2019 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   PovrayLexert   HLSLShaderLexerc           B   sb  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 d< d= d> d= e f e d d< d= d> d= e j f e d d< d= d> d= e j f e d d< d= d> d= e j f d e j f d e f d e f d e f g d 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   buffert   sharedt   int   outt   layoutt   flatt   smootht   noperspectivet   centroidt   samplet   patcht   inoutt   lowpt   mediumpt   highpt	   precisiont	   invariantt   preciset   coherentt   volatilet   restrictt   readonlyt	   writeonlyt   breakt   continuet   dot   fort   whilet   switcht   caseR   t   ift   elset
   subroutinet   discardt   returnt   structt   prefixs   \bt   suffixt   truet   falset   voidt   atomic_uintt   floatt   vec2t   vec3t   vec4t   doublet   dvec2t   dvec3t   dvec4t   intt   ivec2t   ivec3t   ivec4t   uintt   uvec2t   uvec3t   uvec4t   boolt   bvec2t   bvec3t   bvec4t   mat2t   mat3t   mat4t   dmat2t   dmat3t   dmat4t   mat2x2t   mat2x3t   mat2x4t   dmat2x2t   dmat2x3t   dmat2x4t   mat3x2t   mat3x3t   mat3x4t   dmat3x2t   dmat3x3t   dmat3x4t   mat4x2t   mat4x3t   mat4x4t   dmat4x2t   dmat4x3t   dmat4x4t	   sampler1Dt	   sampler2Dt	   sampler3Dt   samplerCubet   sampler1DArrayt   sampler2DArrayt   samplerCubeArrayt   sampler2DRectt   samplerBuffert   sampler2DMSt   sampler2DMSArrayt   sampler1DShadowt   sampler2DShadowt   samplerCubeShadowt   sampler1DArrayShadowt   sampler2DArrayShadowt   samplerCubeArrayShadowt   sampler2DRectShadowt
   isampler1Dt
   isampler2Dt
   isampler3Dt   isamplerCubet   isampler1DArrayt   isampler2DArrayt   isamplerCubeArrayt   isampler2DRectt   isamplerBuffert   isampler2DMSt   isampler2DMSArrayt
   usampler1Dt
   usampler2Dt
   usampler3Dt   usamplerCubet   usampler1DArrayt   usampler2DArrayt   usamplerCubeArrayt   usampler2DRectt   usamplerBuffert   usampler2DMSt   usampler2DMSArrayt   image1Dt   image2Dt   image3Dt	   imageCubet   image1DArrayt   image2DArrayt   imageCubeArrayt   image2DRectt   imageBuffert	   image2DMSt   image2DMSArrayt   iimage1Dt   iimage2Dt   iimage3Dt
   iimageCubet   iimage1DArrayt   iimage2DArrayt   iimageCubeArrayt   iimage2DRectt   iimageBuffert
   iimage2DMSt   iimage2DMSArrayt   uimage1Dt   uimage2Dt   uimage3Dt
   uimageCubet   uimage1DArrayt   uimage2DArrayt   uimageCubeArrayt   uimage2DRectt   uimageBuffert
   uimage2DMSt   uimage2DMSArrayt   commont	   partitiont   activet   asmt   classt   uniont   enumt   typedeft   templateR   t   resourcet   gotot   inlinet   noinlinet   publict   statict   externt   externalt	   interfacet   longt   shortt   halft   fixedt   unsignedt   superpt   inputt   outputt   hvec2t   hvec3t   hvec4t   fvec2t   fvec3t   fvec4t   sampler3DRectt   filtert   sizeoft   castt	   namespaceR   s   gl_\w*s   [a-zA-Z_]\w*s   \.s   \s+t   root()   R   R   R   R   R   R   R   R   R   R    R!   R"   R#   R$   R%   R&   R'   R(   R)   R*   R+   R,   R-   R.   R/   R0   R1   R2   R3   R4   R5   R6   R7   R8   R   R9   R:   R;   R<   R=   R>   (   RA   RB   (w   RC   RD   RE   RF   RG   RH   RI   RJ   RK   RL   RM   RN   RO   RP   RQ   RR   RS   RT   RU   RV   RW   RX   RY   RZ   R[   R\   R]   R^   R_   R`   Ra   Rb   Rc   Rd   Re   Rf   Rg   Rh   Ri   Rj   Rk   Rl   Rm   Rn   Ro   Rp   Rq   Rr   Rs   Rt   Ru   Rv   Rw   Rx   Ry   Rz   R{   R|   R}   R~   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   ('   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   (   t   __name__t
   __module__t   __doc__t   namet   aliasest	   filenamest	   mimetypesR   t   Preproct   Singlet	   MultilineR	   R   R   t   Floatt   Hext   Octt   IntegerR   R
   t   Constantt   Typet   ReservedR   t   BuiltinR   t   tokens(    (    (    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyR      s   					            	                                    	       			c           B   s   e  Z d  Z d Z d g Z 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 d e d f e ddS dT dU dT e f e ddS dT dU dT e j f e ddS dT dU dT e j f e ddS dT dU dT e j f e ddS dT dU d e j f e ddS dT dU dT e j f e ddS dT dU dT e j f dve j f e ddS dT dU dT e j f de f de j f de f g d6d e df de j f de f de f de f g d 6Z RS(  sL   
    HLSL (Microsoft Direct3D Shader) lexer.

    .. versionadded:: 2.3
    t   HLSLt   hlsls   *.hlsls   *.hlslis   text/x-hlsls   ^#.*s   //.*s   /(\\\n)?[*](.|\n)*?[*](\\\n)?/s0   \+|-|~|!=?|\*|/|%|<<|>>|<=?|>=?|==?|&&?|\^|\|\|?s   [?:]s   \bdefined\bs   [;{}(),.\[\]]s   [+-]?\d*\.\d+([eE][-+]?\d+)?f?s   [+-]?\d+\.\d*([eE][-+]?\d+)?f?s   0[xX][0-9a-fA-F]*s   0[0-7]*s   [1-9][0-9]*t   "t   stringR   t   asm_fragmentR2   R8   t   cbufferR#   R   t   column_majort   compilet   compile_fragmentR   R3   R   R<   R4   R:   t   exportR   R5   t   fxgroupt   globallycoherentt   groupsharedR9   R   R   R&   R   t   linet   lineadjt   linearR   t   nointerpolationR"   t   NULLR   t
   packoffsett   passt   pixelfragmentt   pointR,   R=   t   registert	   row_majorR$   t   samplerR   t
   stateblockt   stateblock_stateR   R>   R7   t   tbuffert	   techniquet   technique10t   technique11t   textureR   t   trianglet   triangleadjR   t   vertexfragmentR.   R6   R?   s   \bR@   RA   RB   t   autot   catcht   chart
   const_castt   deletet   dynamic_castR   t   explicitt   friendR   R   t   mutablet   newt   operatort   privatet	   protectedR   t   reinterpret_castR   t   signedR   t   static_castR   R   t   throwt   tryt   typenameR   R   R   t   virtualt   dwordt   matrixt   snormt   unormRC   t   vectort
   BlendStatet   Buffert   ByteAddressBuffert   ComputeShadert   DepthStencilStatet   DepthStencilViewt   DomainShadert   GeometryShadert
   HullShadert
   InputPatcht
   LineStreamt   OutputPatcht   PixelShadert   PointStreamt   RasterizerStatet   RenderTargetViewt   RasterizerOrderedBuffert"   RasterizerOrderedByteAddressBuffert!   RasterizerOrderedStructuredBuffert   RasterizerOrderedTexture1Dt   RasterizerOrderedTexture1DArrayt   RasterizerOrderedTexture2Dt   RasterizerOrderedTexture2DArrayt   RasterizerOrderedTexture3Dt   RWBuffert   RWByteAddressBuffert   RWStructuredBuffert   RWTexture1Dt   RWTexture1DArrayt   RWTexture2Dt   RWTexture2DArrayt   RWTexture3Dt   SamplerStatet   SamplerComparisonStatet   StructuredBuffert	   Texture1Dt   Texture1DArrayt	   Texture2Dt   Texture2DArrayt   Texture2DMSt   Texture2DMSArrayt	   Texture3Dt   TextureCubet   TextureCubeArrayt   TriangleStreamt   VertexShaderRU   RI   RE   RM   R   t
   min16floatt
   min10floatt   min16intt   min12intt	   min16uintRQ   s   ([1-4](x[1-4])?)?\bt   abortt   abst   acost   allt   AllMemoryBarriert   AllMemoryBarrierWithGroupSynct   anyt   AppendStructuredBuffert   asdoublet   asfloatt   asint   asintt   asuintt   atant   atan2t   ceilt   CheckAccessFullyMappedt   clampt   clipt   CompileShadert   ConsumeStructuredBuffert   cost   cosht	   countbitst   crosst   D3DCOLORtoUBYTE4t   ddxt
   ddx_coarset   ddx_finet   ddyt
   ddy_coarset   ddy_finet   degreest   determinantt   DeviceMemoryBarriert    DeviceMemoryBarrierWithGroupSynct   distancet   dott   dstt   errorft   EvaluateAttributeAtCentroidt   EvaluateAttributeAtSamplet   EvaluateAttributeSnappedt   expt   exp2t   f16tof32t   f32tof16t   faceforwardt   firstbithight   firstbitlowt   floort   fmat   fmodt   fract   frexpt   fwidtht   GetRenderTargetSampleCountt   GetRenderTargetSamplePositiont   GlobalOrderedCountIncrementt   GroupMemoryBarriert   GroupMemoryBarrierWithGroupSynct   InterlockedAddt   InterlockedAndt   InterlockedCompareExchanget   InterlockedCompareStoret   InterlockedExchanget   InterlockedMaxt   InterlockedMint   InterlockedOrt   InterlockedXort   isfinitet   isinft   isnant   ldexpt   lengtht   lerpt   litt   logt   log10t   log2t   madt   maxt   mint   modft   msad4t   mult   noiset	   normalizet   powt   printft   Process2DQuadTessFactorsAvgt   Process2DQuadTessFactorsMaxt   Process2DQuadTessFactorsMint   ProcessIsolineTessFactorst   ProcessQuadTessFactorsAvgt   ProcessQuadTessFactorsMaxt   ProcessQuadTessFactorsMint   ProcessTriTessFactorsAvgt   ProcessTriTessFactorsMaxt   ProcessTriTessFactorsMint   QuadReadLaneAtt	   QuadSwapXt	   QuadSwapYt   radianst   rcpt   reflectt   refractt   reversebitst   roundt   rsqrtt   saturatet   signt   sint   sincost   sinht
   smoothstept   sqrtt   stept   tant   tanht   tex1Dt	   tex1Dbiast	   tex1Dgradt   tex1Dlodt	   tex1Dprojt   tex2Dt	   tex2Dbiast	   tex2Dgradt   tex2Dlodt	   tex2Dprojt   tex3Dt	   tex3Dbiast	   tex3Dgradt   tex3Dlodt	   tex3Dprojt   texCUBEt   texCUBEbiast   texCUBEgradt
   texCUBElodt   texCUBEprojt	   transposet   trunct   WaveAllBitAndt
   WaveAllMaxt
   WaveAllMint   WaveAllBitOrt   WaveAllBitXort   WaveAllEqualt   WaveAllProductt
   WaveAllSumt   WaveAllTruet   WaveAnyTruet
   WaveBallott   WaveGetLaneCountt   WaveGetLaneIndext   WaveGetOrderedIndext   WaveIsHelperLanet   WaveOncet   WavePrefixProductt   WavePrefixSumt   WaveReadFirstLanet   WaveReadLaneAtt   SV_ClipDistancet   SV_ClipDistance0t   SV_ClipDistance1t   SV_Culldistancet   SV_CullDistance0t   SV_CullDistance1t   SV_Coveraget   SV_Deptht   SV_DepthGreaterEqualt   SV_DepthLessEqualt   SV_DispatchThreadIDt   SV_DomainLocationt
   SV_GroupIDt   SV_GroupIndext   SV_GroupThreadIDt   SV_GSInstanceIDt   SV_InnerCoveraget   SV_InsideTessFactort   SV_InstanceIDt   SV_IsFrontFacet   SV_OutputControlPointIDt   SV_Positiont   SV_PrimitiveIDt   SV_RenderTargetArrayIndext   SV_SampleIndext   SV_StencilReft   SV_TessFactort   SV_VertexIDt   SV_ViewportArrayIndexs   \bSV_Target[0-7]?\bt   allow_uav_conditiont   brancht   callt   domaint   earlydepthstencilt   fastoptt   flattent	   forcecaset   instancet   loopt   maxtessfactort
   numthreadst   outputcontrolpointst   outputtopologyt   partitioningt   patchconstantfunct   unrolls   [a-zA-Z_]\w*s   \\$s   \s+R   s   #popsO   \\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|[0-7]{1,3})s	   [^\\"\n]+s   \\\ns   \\(?   R   R   R2   R8   R   R#   R   R   R   R   R   R3   R   R<   R4   R:   R   R   R5   R   R   R   R9   R   R   R&   R   R   R  R  R   R  R"   R  R   R  R  R  R  R,   R=   R	  R
  R$   R  R   R  R  R   R>   R7   R  R  R  R  R  R   R  R  R   R  R.   R6   (   RA   RB   (   R  R  R  R  R  R  R   R  R  R   R   R  R  R   R!  R"  R   R#  R   R$  R   R%  R   R   R&  R'  R(  R   R   R   R)  (6   R*  R+  R,  R   R-  R   RC   R.  R/  R0  R1  R2  R3  R4  R5  R6  R7  R8  R9  R:  R;  R<  R=  R>  R?  R@  RA  RB  RC  RD  RE  RF  RG  RH  RI  RJ  RK  RL  RM  RN  RO  RP  RQ  RR  RS  RT  RU  RV  RW  RX  RY  RZ  R[  R\  (   RU   RI   RE   RM   R   R]  R^  R_  R`  Ra  RQ   (   Rb  Rc  Rd  Re  Rf  Rg  Rh  Ri  Rj  Rk  Rl  Rm  Rn  Rn  Ro  Rp  Rq  Rr  Rs  Rt  Ru  Rv  Rw  Rx  Ry  Rz  R{  R|  R}  R~  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R   R  R  R  (   R  R  R  R  R  R	  R
  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R   (   R!  R"  R#  R$  R%  R&  R'  R(  R)  R*  R+  R,  R-  R.  R/  R0  R1  (   R   R   R   R   R   R   R   R   R   R   R   R	   R   R   R   R   R   R   R   R   R
   R   R   R   R   R   t	   DecoratorR   t   EscapeR   (    (    (    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyR      s  					          	    	               	 	                                      	         	   					c        |   B   s  e  Z d  Z d Z d d g Z d d g Z d g Z d Z d e Z d	 e Z	 d
 e	 e f Z
 i d e j f d e j f d e j f d e j f d e d f d e f d e e j f d e e j f d e e j f d e e j f d e
 e j f e
 e j f d e e j f d e e j f e d d e e j f d e f g d 6d e f d e j  d f d e d f d e d f g d 6d e j  d f e! d  g d 6Z" RS(   s   
    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
    t
   PostScriptt
   postscriptt   postscrs   *.pss   *.epss   application/postscripts   ()<>\[\]{}/%\ss   (?=[%s])s   [^%s]s   %s+%ss   ^%!.+\ns   %%.*\ns   (^%.*\n){2,}s   %.*\ns   \(t   stringliterals
   [{}<>\[\]]s   <[0-9A-Fa-f]+>sG   [0-9]+\#(\-|\+)?([0-9]+\.?|[0-9]*\.[0-9]+|[0-9]+\.[0-9]*)((e|E)[0-9]+)?s?   (\-|\+)?([0-9]+\.?|[0-9]*\.[0-9]+|[0-9]+\.[0-9]*)((e|E)[0-9]+)?s   (\-|\+)?[0-9]+s   \/%ss   (false|true)s6   (eq|ne|g[et]|l[et]|and|or|not|if(?:else)?|for(?:all)?)Rc  t   addt   aloadt   arct   arcnt   arrayRo  t   begint   bindt   ceilingt   charpathRt  t	   closepatht   concatt   concatmatrixt   copyRw  t   currentlinewidtht   currentmatrixt   currentpointt   curvetot   cvit   cvst   deft   defaultmatrixt   dictt   dictstackoverflowt   divt
   dtransformt   dupt   endt   excht   exect   exitR  t   fillt   findfontR  t   gett   getintervalt   grestoret   gsavet   gtt   identmatrixt   idivt   idtransformt   indext   invertmatrixt
   itransformR  t   linetot   lnt   loadR  R*  R+  t   modt   movetoR  t   negt   newpatht
   pathforallt   pathbboxt   popt   printt   pstackt   putt   quitt   randt
   rangecheckt   rcurvetot   repeatt   restoret   rlinetot   rmovetot   rollt   rotateR  t   runt   savet   scalet	   scalefontt   setdasht   setfontt   setgrayt
   setlinecapt   setlinejoint   setlinewidtht	   setmatrixt   setrgbcolort   shfillt   showt   showpageR  R  t   stackt   stringwidtht   stroket
   strokepatht   subt   syntaxerrort	   transformt	   translatet   truncatet	   typecheckt	   undefinedt   undefinedfilenamet   undefinedresultR@   s   \s+R   s   [^()\\]+s   \\t   escapes   #pushs   \)s   #pops   [0-8]{3}|n|r|t|b|f|\\|\(|\)(l   Rc  R8  R9  R:  R;  R<  Ro  R=  R>  R?  R@  Rt  RA  RB  RC  RD  Rw  RE  RF  RG  RH  RI  RJ  RK  RL  RM  RN  RO  RP  RQ  RR  RS  RT  RU  R  RV  RW  R  RX  RY  RZ  R[  R\  R]  R^  R_  R`  Ra  Rb  R  Rc  Rd  Re  R  R*  R+  Rf  Rg  R  Rh  Ri  Rj  Rk  Rl  Rm  Rn  Ro  Rp  Rq  Rr  Rs  Rt  Ru  Rv  Rw  Rx  Ry  R  Rz  R{  R|  R}  R~  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  (#   R   R   R   R   R   R   R   t	   delimitert   delimiter_endt   valid_name_charst
   valid_nameR   R   t   SpecialR   R   R   R   R   R   R   R   R   R   t   Variablet   FunctionR
   R   R   R   R   R   R3  R   R   (    (    (    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyR   2  sl   		

	                 		c           B   sv  e  Z d  Z d Z d d g Z d g Z d g Z d Z i d e f d e f d	 e f d
 e	 f d e	 f g d 6d e
 f d e
 d f d e j f d e j f d e j f d e j f d e j f d e f d e f d e e e e  e  f d e f d e j f d e j f d e j f d e f g d 6e d  d e d e e e  e j e e  e e  e  d  f d e d! e e e  e j e e  e e  e  f e d"  g d# 6e d  e d  d$ e f d% e d& f g d" 6e d  e d  d% e f d' e d( f d) e d& f g d  6d e
 d& f d* e
 j f d e
 f d+ e
 f d	 e
 f d, e
 f d- e
 f g d 6Z d.   Z RS(/   s]   
    For `Asymptote <http://asymptote.sf.net/>`_ source code.

    .. versionadded:: 1.2
    t	   Asymptotet   asyt	   asymptotes   *.asys   text/x-asymptotes   (?:\s|//.*?\n|/\*.*?\*/)+s   \ns   \s+s   \\\ns   //(\n|(.|\n)*?[^\\]\n)s   /(\\\n)?\*(.|\n)*?\*(\\\n)?/t
   whitespaces   "(\\\\|\\"|[^"])*"t   'R   s%   (\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[lL]?s   (\d+\.\d*|\.\d+|\d+[fF])[fF]?s   0x[0-9a-fA-F]+[Ll]?s   0[0-7]+[Ll]?s   \d+[Ll]?s   [~!%^&*+=|?:<>/-]s
   [()\[\],.]s   \b(case)(.+?)(:)s   (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)\bs?  (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])s   (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)\bs   [a-zA-Z_]\w*:(?!:)s   [a-zA-Z_]\w*t
   statementss6   ((?:[\w*\s])+?(?:\s|\*))([a-zA-Z_]\w*)(\s*\([^;]*?\))(s   )(\{)t   functions   )(;)t	   statementR   s   [{}]t   ;s   #pops   \{s   #pushs   \}s0   \\([\\abfnrtv"\'?]|x[a-fA-F0-9]{2,4}|[0-7]{1,3})s	   [^\\'\n]+s   \\ns   \\c         c   s   d d l  m } m } xy t j |  |  D]e \ } } } | t k r\ | | k r\ t j } n$ | t k r | | k r t j } n  | | | f Vq) Wd  S(   Ni(   t   ASYFUNCNAMEt
   ASYVARNAME(   t   pygments.lexers._asy_builtinsR  R  R    t   get_tokens_unprocessedR   R  R  (   t   selft   textR  R  R`  t   tokent   value(    (    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyR    s    (   R   R   R   R   R   R   R   t   _wsR   R   R   R   R   R   R   R   R	   R   R   R
   R   R   R   R   t   LabelR   R  R   R3  R   R  (    (    (    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyR     sp   													$$											c            sA    j  d    d j    f d   t t     d  D  S(   Nt   $t   |c         3   s,   |  ]" }        d  | !d Vq d S(   i   s   \bN(    (   t   .0t   i(   t   dpost   word(    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pys	   <genexpr>  s   i(   t   findt   joint   ranget   len(   R  (    (   R  R  s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyt
   _shortened	  s    c          G   s   d j  t t |    S(   NR  (   R  t   mapR  (   R   (    (    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyt   _shortened_many  s    c           B   sJ  e  Z d  Z d Z d g Z d d g Z d g Z i e d  e d  e	 d f e
 d	 d
  e	 d f e d  e	 d f d e e	 e e  d f d e	 f e d  e	 d f e
 d d d  e	 d f e d  e	 d f e d  e	 d f e
 d d  e	 d f e
 d d  d! d" d# d$ d% d& d' d( d) d* d+ d, d- d. d/  e	 d f e
 d) d* d+ d, d- d0  e	 d f d1 e e j e e  d f d2 e e j e e  d f d3 e j f d4 e	 f g d5 6d6 e f d7 e f d8 e f e d9  g d: 6d; e d: f d< e f g d 6e d  d4 e d9 f d= e d9 f g d 6d> e d9 f d? e j f d@ e f d7 e f d8 e f d= e d9 f g dA 6dB e f dC e d9 f dD e f d7 e f d8 e f d= e d9 f g dE 6e d  d> e dA f dC e dE f dF e j f dG e j f dH e j f dI e f dJ e f dK e j f dL e e j e e  f dM e f d3 e j f d7 e f g d 6e d  e
 dN dO dP dQ dR dS dT dU dV dW dX dY dZ d[ d\ d] d^ d_ d` da db dc dd de df dg dh di dj dk dl dm dn do dp dq dr ds dt du dv dw dx dy dz d{ d| d} d~ d d d d d d d d d d d d d d d d d d( d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d  e j d9 f g d 6d e	 d9 f e d  e j f e d  g d 6d e	 f e d  g d 6d e j f e d  g d 6d e d9 f e d  g d 6d e j f e d  e j f e d  g d 6e
 d d d d d d d d d d d d  e j f e d  g d 6e
 d d d d  e j f e d  g d 6Z RS(   s]   
    For `Gnuplot <http://gnuplot.info/>`_ plotting scripts.

    .. versionadded:: 0.11
    t   Gnuplott   gnuplots   *.plots   *.plts   text/x-gnuplotR  s   bi$ndR>  s   ex$its   q$uitRp  s   f$itt   fits   (if)(\s*)(\()R9   s   else\bs   pa$uset   pauses   p$lots   rep$lots   sp$lott   plots   sa$veR{  s   se$tt   genericargst	   optionargs   sh$ows   uns$ett   noargss   low$ers   ra$ises   ca$lls   cd$s   cl$ears   h$elps   \?$s   hi$storys   l$oads   pr$ints   pwd$s   re$reads   res$ets   scr$eendumps   she$lls   sy$stems   up$dates   test$s   ([a-zA-Z_]\w*)(\s*)(=)s    ([a-zA-Z_]\w*)(\s*\(.*?\)\s*)(=)s   @[a-zA-Z_]\w*R  R   s   [^\\\n]s   \\\ns   \\s   #popt   commentt   #s
   [ \t\v\f]+s   \nR   s/   \\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|[0-7]{1,3})s	   [^\\"\n]+t   dqstrings   ''R  s	   [^\\'\n]+t   sqstrings    (\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+s   (\d+\.\d*|\.\d+)s   -?\d+s   [,.~!%^&*+=|?:<>/-]s
   [{}()\[\]]s	   (eq|ne)\bs   ([a-zA-Z_]\w*)(\s*)(\()s   [a-zA-Z_]\w*s   a$lls   an$gless   ar$rows
   au$toscales   b$arss   bor$ders	   box$widths   cl$abels   c$lips
   cn$trparams   co$ntours   da$tas	   data$files   dg$rid3ds   du$mmys	   enc$odings   dec$imalsigns   fit$s	   font$paths   fo$rmats	   fu$nctions
   fu$nctionss   g$rids	   hid$den3ds   his$torysizes   is$osampless   k$eys	   keyt$itles   la$bels
   li$nestyles   ls$s	   loa$dpaths   loc$ales	   log$scales   mac$ross   map$pings
   map$ping3ds   mar$gins   lmar$gins   rmar$gins   tmar$gins   bmar$gins   mo$uses
   multi$plots   mxt$icss	   nomxt$icss   mx2t$icss
   nomx2t$icss   myt$icss	   nomyt$icss   my2t$icss
   nomy2t$icss   mzt$icss	   nomzt$icss   mcbt$icss
   nomcbt$icss   of$fsetss   or$igins   o$utputs   pa$rametrics   pm$3ds   pal$ettes	   colorb$oxs
   poi$ntsizes   pol$ars   obj$ects   sa$mpless   si$zes   st$yles   su$rfaces   table$s	   t$erminals   termo$ptionss   ti$css	   ticsc$ales
   ticsl$evels   timef$mts
   tim$estamps   tit$les
   v$ariabless   ve$rsions   vi$ews   xyp$lanes   xda$tas   x2da$tas   yda$tas   y2da$tas   zda$tas   cbda$tas   xl$abels   x2l$abels   yl$abels   y2l$abels   zl$abels   cbl$abels   xti$css   noxti$css   x2ti$css	   nox2ti$css   yti$css   noyti$css   y2ti$css	   noy2ti$css   zti$css   nozti$css   cbti$css	   nocbti$css   xdti$css	   noxdti$css   x2dti$css
   nox2dti$css   ydti$css	   noydti$css   y2dti$css
   noy2dti$css   zdti$css	   nozdti$css   cbdti$css
   nocbdti$css   xmti$css	   noxmti$css   x2mti$css
   nox2mti$css   ymti$css	   noymti$css   y2mti$css
   noy2mti$css   zmti$css	   nozmti$css   cbmti$css
   nocbmti$css   xr$anges   x2r$anges   yr$anges   y2r$anges   zr$anges   cbr$anges   rr$anges   tr$anges   ur$anges   vr$anges
   xzeroa$xiss   x2zeroa$xiss
   yzeroa$xiss   y2zeroa$xiss
   zzeroa$xiss	   zeroa$xiss   z$erot   !s   all$windowss	   gnuplot\bs   via\bs   \)s%   (mouse|any|button1|button2|button3)\bs	   key$presss   ax$ess   axi$ss   bin$arys   ev$erys   i$ndexs   mat$rixs   s$mooths   thru$s   t$itles   not$itles   u$sings   w$iths
   f$unctionss   s$et(   R  R  (   R  R  (   R   R   R   R   R   R   R   R   R  R
   R  R   R   R   R   R  R	   R  R   R   R   R   R3  R   R   R   t   WordR   R   (    (    (    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyR     s   																											c        ?  B   s  e  Z d  Z d Z d g Z d d g Z d g Z i d e j f d e j	 f d e
 j f e dzd& d' d( d) e j f e d{d& d) d( d) e f e d|d( d) e j f dpe f dqe f dre j j f dse f dte j f due j f dve j f dwe
 f dxe f g dy6Z RS(}  sl   
    For `Persistence of Vision Raytracer <http://www.povray.org/>`_ files.

    .. versionadded:: 0.11
    t   POVRayt   povs   *.povs   *.incs   text/x-povrays   /\*[\w\W]*?\*/s   //.*\ns   (?s)"(?:\\.|[^"\\])+"R2   R8   t   debugt   declareR   t   defineR:   t   elseifRR  t   errort   fcloset   fopenR5   R9   t   ifdeft   ifndefR   t   localt   macroR  t   readt   rendert
   statisticsR7   t   undeft   versiont   warningR6   t   writeR?   R  R@   s   \bt   aa_levelt   aa_thresholdRc  Rd  t   acosht   adaptivet   adc_bailoutt   agatet
   agate_turbRe  t   alphat   ambientt   ambient_lightt   anglet   aperturet	   arc_anglet
   area_lightt   ascRl  t   asinht   assumed_gammaRo  Rp  t   atanht
   atmospheret   atmospheric_attenuationt   attenuatingt   averaget
   backgroundt
   black_holet   bluet   blur_samplest
   bounded_byt   box_mappingt   bozot   brickt
   brick_sizet
   brightnesst
   brilliancet   bumpst   bumpy1t   bumpy2t   bumpy3t   bump_mapt	   bump_sizet   causticsRq  t   checkert   chrt
   clipped_byt   clockt   colort	   color_mapt   colourt
   colour_mapt	   componentt	   compositeRB  t
   confidencet   conic_sweept   constantt   control0t   control1Rw  Rx  t   countt   cracklet   crandt   cubet   cubic_splinet   cylindrical_mappingR  t   dentst   diffuset	   directionR  t   distance_maximumRO  t   dustt	   dust_typet   eccentricityt   emittingt   error_boundR  t   exponentt   fade_distancet
   fade_powert   fallofft   falloff_angleRB   t   file_existsR   t   finisht   fisheyet   flatnesst   flipR  t   focal_pointt   fogt   fog_altt
   fog_offsett   fog_typet	   frequencyt   gift   global_settingst   glowingt   gradientt   granitet   gray_thresholdt   greent   halot   hexagont
   hf_gray_16t	   hierarchyt   hollowt   hypercomplext   ifft	   image_mapt	   incidenceRM   t   interpolatet   inverset   iort   iridt   irid_wavelengtht   jittert   lambdat   leopardR  t   linear_splinet   linear_sweept   locationR  t
   looks_liket   look_att   low_error_factort   mandelt   map_typet   marblet   material_mapR+  R  t   max_intersectionst   max_iterationt   max_trace_levelt	   max_valuet   metallicR  t   minimum_reuseRf  t   mortart   nearest_countt   not   normalt
   normal_mapt	   no_shadowt   number_of_wavest   octavest   offt   offsett   omegat   omnimaxt   ont   oncet   oniont   opent   orthographict	   panoramict   pattern1t   pattern2t   pattern3t   perspectivet   pgmt   phaset   phongt
   phong_sizet   pit   pigmentt   pigment_mapt   planar_mappingt   pngt   point_att   potR  t   ppmR*   t   pwrt   quadratic_splinet
   quaterniont   quick_colort   quick_colourt   quiltedt   radialR  t	   radiosityt   radiust   rainbowt	   ramp_waveRq  t
   reciprocalt   recursion_limitt   redt
   reflectiont
   refractionRt  t   rgbt   rgbft   rgbftt   rgbtt   rightt   ripplesRy  t	   roughnesst   samplesR|  t   scallop_wavet
   scatteringt   seedt
   shadowlessR  t	   sine_waveR  t   skyt
   sky_spheret   slicet	   slope_mapR!   t   speculart   spherical_mappingt   spiralt   spiral1t   spiral2t	   spotlightt   spottedt   sqrR  t   strt   strcmpt   strengtht   strlent   strlwrt   struprt   sturmt   substrt   syst   tR  R  t   test_camera_1t   test_camera_2t   test_camera_3t   test_camera_4R  t   texture_mapt   tgat	   thicknesst	   thresholdt	   tightnesst   tile2t   tilest   trackR  R  t   transmitt   triangle_waveRA   t   ttft
   turbulencet
   turb_deptht   typet   ultra_wide_anglet   upt	   use_colort
   use_colourt	   use_indext   u_stepst   valt   variancet   vaxis_rotatet   vcrosst   vdott   vlengtht
   vnormalizet   volume_objectt   volume_renderedt   vol_with_lightt   vrotatet   v_stepst   warpt   water_levelt   wavest   widtht   woodt   wrinklest   yest   bicubic_patcht   blobt   boxt   camerat   conet   cubict   cylindert
   differencet   disct   height_fieldt   intersectiont   julia_fractalt   lathet   light_sourcet   merget   mesht   objectt   planet   polyt   polygont   prismt   quadrict   quartict   smooth_trianglet   sort   spheret   superellipsoidR  t   torusR  R   s   [\[\](){}<>;,]s   [-+*/=]s   \b(x|y|z|u|v)\bs   [a-zA-Z_]\w*s   [0-9]+\.[0-9]*s   \.[0-9]+s   [0-9]+s   "(\\\\|\\"|[^"])*"s   \s+R   (   R2   R8   R  R  R   R  R:   R  RR  R  R  R  R5   R9   R  R  R   R  R  R  R  R  R  R7   R  R  R  R6   R  (9  R  R  Rc  Rd  R  R  R  R  R  Re  R  R  R  R  R  R  R  R  Rl  R  R  Ro  Rp  R  R  R  R  R  R  R  R  R  R  R  R  R2   R  R  R  R   R  R  R  R  R  R  R8   R  Rq  R  R	  R
  R  R  R  R  R  R  R  RB  R  R  R  R  R  Rw  Rx  R  R  R  R  R  R  R  R  R   R  R  R  R  R  R   RO  R!  R"  R#  R:   R$  RR  R  R%  R  R&  R'  R(  R)  R*  RB   R+  R   R,  R-  R.  R/  R  R0  R1  R2  R3  R4  R5  R6  R7  R8  R9  R:  R;  R<  R=  R>  R?  R@  RA  RB  R9   R  RC  RD  RE  R   RM   RF  RG  RH  RI  RJ  RK  RL  RM  R  RN  RO  RP  R  RQ  RR  RS  RT  RU  RV  RW  R+  R  RX  RY  RZ  R[  R\  R  R]  Rf  R^  R_  R`  Ra  Rb  Rc  Rd  Re  Rf  Rg  Rh  Ri  Rj  Rk  Rl  Rm  Rn  Ro  Rp  Rq  Rr  Rs  Rt  Ru  Rv  Rw  Rx  Ry  Rz  R{  R|  R}  R~  R  R  R*   R  R  R  R  R  R  R  R  R  R  R  R  Rq  R  R  R  R  R  R  R  Rt  R  R  R  R  R  R  Ry  R  R  R|  R  R  R  R  R  R  R  R  R  R  R  R!   R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R7   R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  RA   R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R6   R  R  R  R  (   R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R   (   R   R   R   R   R   R   R   R   R   R   R   t   DoubleR   R   R
   R   R   R   R	   t   PseudoR   R   R   R   R   (    (    (    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyR     s   		    	                                                   					N(   R   t   pygments.lexerR    R   R   R   R   R   R   t   pygments.tokenR   R   R	   R
   R   R   R   R   t   __all__R   R   R   R   R  R  R   R   (    (    (    s7   lib/python2.7/site-packages/pygments/lexers/graphics.pyt   <module>
   s   4:bu		