
g[Tc           @   s   d  Z  d d l 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 g Z d e f d     YZ d e f d     YZ d S(	   s   
    pygments.lexers.console
    ~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for misc console output.

    :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
i(   t
   RegexLexert   includet   bygroups(   t   Generict   Commentt   Stringt   Textt   Keywordt   Namet   Punctuationt   Numbert   VCTreeStatusLexert   PyPyLogLexerc        
   B   s   e  Z d  Z d Z d g Z g  Z g  Z i d e j 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 f g d 6Z RS(   s   
    For colorizing output of version control status commans, like "hg
    status" or "svn status".

    .. versionadded:: 2.0
    t   VCTreeStatust   vctreestatuss   ^A  \+  C\s+s   ^A\s+\+?\s+s   ^M\s+s   ^C\s+s   ^D\s+s   ^[?!]\s+s         >\s+.*\ns   .*\nt   root(   t   __name__t
   __module__t   __doc__t   namet   aliasest	   filenamest	   mimetypesR   t   ErrorR   t   Insertedt   DeletedR   t   PreprocR   t   tokens(    (    (    s;   /usr/lib/python2.7/dist-packages/pygments/lexers/console.pyR      s   		c           B   sV  e  Z d  Z d Z d d g Z d g Z d g Z i d e d f d e d	 f e d
  g d 6d e d f d e	 f d e	 f d e
 f d e
 f d e e e
 j e  f d e f d e j f d e j f d e f d e
 f d e
 j f d e
 j f d e
 j f e d
  g d 6d e d f d e f d e f e d
  g d	 6d e f d e	 f g d
 6Z RS(    s>   
    Lexer for PyPy log files.

    .. versionadded:: 1.5
    s   PyPy Logt   pypylogt   pypys	   *.pypylogs   application/x-pypylogs   \[\w+\] \{jit-log-.*?$s   jit-logs   \[\w+\] \{jit-backend-counts$s   jit-backend-countss   extra-stuffR   s   \[\w+\] jit-log-.*?}$s   #pops   ^\+\d+: s   --end of the loop--s   [ifp]\d+s   ptr\d+s   (\()(\w+(?:\.\w+)?)(\))s
   [\[\]=,()]s   (\d+\.\d+|inf|-inf)s   -?\d+s   '.*'s,   (None|descr|ConstClass|ConstPtr|TargetToken)s   <.*?>+s%   (label|debug_merge_point|jump|finish)sI  (int_add_ovf|int_add|int_sub_ovf|int_sub|int_mul_ovf|int_mul|int_floordiv|int_mod|int_lshift|int_rshift|int_and|int_or|int_xor|int_eq|int_ne|int_ge|int_gt|int_le|int_lt|int_is_zero|int_is_true|uint_floordiv|uint_ge|uint_lt|float_add|float_sub|float_mul|float_truediv|float_neg|float_eq|float_ne|float_ge|float_gt|float_le|float_lt|float_abs|ptr_eq|ptr_ne|instance_ptr_eq|instance_ptr_ne|cast_int_to_float|cast_float_to_int|force_token|quasiimmut_field|same_as|virtual_ref_finish|virtual_ref|mark_opaque_ptr|call_may_force|call_assembler|call_loopinvariant|call_release_gil|call_pure|call|new_with_vtable|new_array|newstr|newunicode|new|arraylen_gc|getarrayitem_gc_pure|getarrayitem_gc|setarrayitem_gc|getarrayitem_raw|setarrayitem_raw|getfield_gc_pure|getfield_gc|getinteriorfield_gc|setinteriorfield_gc|getfield_raw|setfield_gc|setfield_raw|strgetitem|strsetitem|strlen|copystrcontent|unicodegetitem|unicodesetitem|unicodelen|guard_true|guard_false|guard_value|guard_isnull|guard_nonnull_class|guard_nonnull|guard_class|guard_no_overflow|guard_not_forced|guard_no_exception|guard_not_invalidated)s   \[\w+\] jit-backend-counts}$t   :s   \d+s   \s+s   #.*?$(   R   R   R   R   R   R   R   R   R   R   R   R   R	   t   BuiltinR
   t   Floatt   IntegerR   t   ClassR   R   (    (    (    s;   /usr/lib/python2.7/dist-packages/pygments/lexers/console.pyR   -   s@   													N(   R   t   pygments.lexerR    R   R   t   pygments.tokenR   R   R   R   R   R   R	   R
   t   __all__R   R   (    (    (    s;   /usr/lib/python2.7/dist-packages/pygments/lexers/console.pyt   <module>
   s
   :