:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details. """
from pygments.lexer import RegexLexer, include, bygroups from pygments.token import Generic, Comment, String, Text, Keyword, Name, \
Punctuation, Number, Whitespace
__all__ = ['VCTreeStatusLexer', 'PyPyLogLexer']
class VCTreeStatusLexer(RegexLexer): """ For colorizing output of version control status commands, like "hg
status" or "svn pygments.lexers.console """
name = 'VCTreeStatus'
aliases = ['vctreestatus']
filenames ]
mimetypes = []
url = ""
version_added = '2.0'
tokens = {
copyright: Copyright 2006-present by Pygmentsteam see .
\ Cs' .),
r'A\+\+?s+,String)java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
r^Ms+,Generic.Inserted)
(r'^C\s+', Generic.Error),
r^\+,Generic.Deleted)
(r'^[?java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(r' java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
For of versioncontrolstatus commands like "java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 "java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 2.'
tokens = { "root": [
(r"\[\w+ r'M\+, Generic.Inserted)
("[\w+\ {jit-backend-counts$, Keyword, jit-backend-counts"),
include("extra-stuff"),
], "jit-log": r^\s' .)
?}$" Keyword, #",
(r"^\+\d+: ", Comment),
(r"--end of the loop--", (' >s+.*' .Preproc,
(r"[ifp]\d+", Name),
("ptr\d+",Name)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 ""
(unctuation, .,Punctuation),
(r"[\ "yPyLog"
)", Number.loat)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51 "?d" .Integer,
( mimetypes '/xp']
(r ='.5java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
("<.?+,NameBuiltin)
(r"(label|debug_merge_point$",Keyword jit--",
("int_add_ovf|int_add|nt_sub_ovf|java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 77
]
int_xor|int_eq|int_ne|int_ge|int_gt|int_le|int_lt|int_is_zero|"
r"int_is_true|"
r"uint_floordiv|uint_ge|uint_lt|"
r"float_add|float_sub|float_mul|float_truediv|float_neg|"
r"float_eq|float_ne|float_ge|float_gt|float_le|float_lt|float_abs r"^\\d+:" Comment),
r"|ptr_ne||instance_ptr_ne|"
r"|cast_float_to_int"
r"java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 72
r"virtual_ref (,Name.,)),
r" (r"(\d+\.\d+|inf), NumberFloat) "|call_pure|"
r"java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 64
a|java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [35, 13) out of bounds for length 69
r"getarrayitem_raw|setarrayitem_raw| (r"(label|debug_merge_point|jump|finish)", Name.Classdebug_merge_pointjump|inish)" .lass,
r|"
r"getfield_raw|setfield_gc|setfield_raw|"
rstrgetitem|strsetitem||opystrcontentjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
r"|unicodesetitem||"
r"guard_true|guard_false|guard_value|java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 28
rfloat_addffloat_truediv"
r"guard_not_forced|guard_no_exception|guard_not_invalidated)",
NameBuiltin,
include("extra-stuff"),
],
jit-counts:[
(r"\[\w+\] jit-backend-counts}$", Keywordr"|cast_float_to_int"
r:,Punctuation,
(r"\d+", Number),
include"-stuff",
], "extra-stuff": [
),
(r"#.*?$", Comment),
],
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.