3 ��X � @ sl d Z ddlmZmZmZ ddlmZmZmZm Z m Z mZmZm Z ddgZG dd� de�ZG dd� de�ZdS ) z� pygments.lexers.console ~~~~~~~~~~~~~~~~~~~~~~~ Lexers for misc console output. :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � )� RegexLexer�include�bygroups)�Generic�Comment�String�Text�Keyword�Name�Punctuation�Number�VCTreeStatusLexer�PyPyLogLexerc @ sf e Zd ZdZdZdgZg Zg Zddej fde fdejfdej fd ejfd e jfde jfdefgiZd S )r z� For colorizing output of version control status commands, like "hg status" or "svn status". .. versionadded:: 2.0 ZVCTreeStatusZvctreestatus�rootz^A \+ C\s+z^A\s+\+?\s+z^M\s+z^C\s+z^D\s+z^[?!]\s+z >\s+.*\nz.*\nN)�__name__� __module__�__qualname__�__doc__�name�aliases� filenames� mimetypesr �Errorr ZInsertedZDeletedr ZPreprocr �tokens� r r �/usr/lib/python3.6/console.pyr s c @ s� e Zd ZdZdZddgZdgZdgZdedfd ed fe d�gded fde fde fdefdefdee eje �fde fdejfdejfdefdefdejfdejfdejfe d�gded fde fdefe d�gdefde fgd �Zd!S )"r z> Lexer for PyPy log files. .. versionadded:: 1.5 zPyPy LogZpypylogZpypyz *.pypylogzapplication/x-pypylogz\[\w+\] \{jit-log-.*?$zjit-logz\[\w+\] \{jit-backend-counts$zjit-backend-countszextra-stuffz\[\w+\] jit-log-.*?}$z#popz^\+\d+: z--end of the loop--z[ifp]\d+zptr\d+z(\()(\w+(?:\.\w+)?)(\))z [\[\]=,()]z(\d+\.\d+|inf|-inf)z-?\d+z'.*'z,(None|descr|ConstClass|ConstPtr|TargetToken)z<.*?>+z%(label|debug_merge_point|jump|finish)aI (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)z\[\w+\] jit-backend-counts}$�:z\d+z\s+z#.*?$)r zjit-logzjit-backend-countszextra-stuffN)r r r r r r r r r r r r r r ZBuiltinr ZFloatZIntegerr ZClassr r r r r r r - s>